diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,25 +1,19 @@ | |||
1 | # Installation directories | 1 | # Installation directories |
2 | # System's libraries directory (where binary libraries are installed) | 2 | # System's libraries directory (where binary libraries are installed) |
3 | LUA_LIBDIR= /usr/local/lib/lua/5.0 | 3 | LUA_LIBDIR= /usr/local/lib/lua/5.1 |
4 | # Lua includes directory | 4 | # Lua includes directory |
5 | LUA_INC= /usr/local/include | 5 | LUA_INC= /usr/include/lua5.1 |
6 | 6 | ||
7 | # OS dependent | 7 | # OS dependent |
8 | LIB_OPTION= -shared #for Linux | 8 | LIB_OPTION= -shared #for Linux |
9 | #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X | 9 | #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X |
10 | 10 | ||
11 | LIBNAME= $T.so.$V | 11 | LIBNAME= $T.so.$V |
12 | # Lua version number | ||
13 | # (according to Lua 5.1 definition: | ||
14 | # first version digit * 100 + second version digit | ||
15 | # e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501) | ||
16 | LUA_VERSION_NUM= 500 | ||
17 | COMPAT_DIR= ../compat/src | ||
18 | 12 | ||
19 | # Compilation directives | 13 | # Compilation directives |
20 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings | 14 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings |
21 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) | 15 | INCS= -I$(LUA_INC) |
22 | CFLAGS= $(WARN) $(INCS) | 16 | CFLAGS= $(WARN) $(INCS) |
23 | CC= gcc | 17 | CC= gcc |
24 | 18 | ||
25 | # $Id: config,v 1.15 2006/06/08 16:23:25 tomas Exp $ | 19 | # $Id: config,v 1.16 2006/12/04 15:28:53 mascarenhas Exp $ |