diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,15 +1,11 @@ | |||
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.0 |
4 | # System's lua directory (where Lua libraries are installed) | ||
5 | LUA_DIR= /usr/local/share/lua/5.0 | ||
6 | # Lua includes directory | 4 | # Lua includes directory |
7 | LUA_INC= /usr/local/include/lua5 | 5 | LUA_INC= /usr/local/include/lua5 |
8 | 6 | ||
9 | # OS dependent | 7 | # OS dependent |
10 | #LIB_EXT= .dylib | 8 | #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X |
11 | LIB_EXT= .so | ||
12 | #LIB_OPTION= -dynamiclib #for MacOS X | ||
13 | LIB_OPTION= -shared #for Linux | 9 | LIB_OPTION= -shared #for Linux |
14 | 10 | ||
15 | COMPAT_DIR= ../compat/src | 11 | COMPAT_DIR= ../compat/src |
@@ -17,7 +13,7 @@ COMPAT_DIR= ../compat/src | |||
17 | # Compilation directives | 13 | # Compilation directives |
18 | # On FreeBSD systems, the following line should be commented | 14 | # On FreeBSD systems, the following line should be commented |
19 | DLLIB= -ldl | 15 | DLLIB= -ldl |
20 | LUA_LIBS= -llua50 -lm | 16 | #LUA_LIBS= -llua50 -lm |
21 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings | 17 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings |
22 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) | 18 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) |
23 | LIBS= $(LUA_LIBS) $(DLLIB) | 19 | LIBS= $(LUA_LIBS) $(DLLIB) |