blob: 4bb4de2a693b03632ae6e2dafb94e099068c1730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Installation directories
# System's libraries directory (where binary libraries are installed)
LUA_LIBDIR= /usr/local/lib/lua/5.0
# Lua includes directory
LUA_INC= /usr/local/include/lua5
# OS dependent
LIB_OPTION= -shared #for Linux
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
LIBNAME= lib$T-$V.so
COMPAT_DIR= ../compat/src
# Compilation directives
# On FreeBSD systems, the following line should be commented
DLLIB= -ldl
#LUA_LIBS= -llua50 -lm
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
LIBS= $(LUA_LIBS) $(DLLIB)
CFLAGS= $(WARN) $(INCS)
CC= gcc
# $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $
|