diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 33 |
1 files changed, 17 insertions, 16 deletions
@@ -15,22 +15,23 @@ UNIX_SO=unix.$(EXT) | |||
15 | #------ | 15 | #------ |
16 | # Lua includes and libraries | 16 | # Lua includes and libraries |
17 | # | 17 | # |
18 | LUAINC=-I/usr/local/include/lua50 | 18 | #LUAINC=-I/usr/local/include/lua50 |
19 | #LUAINC=-I/usr/local/include/lua5.1 | 19 | #LUAINC=-I/usr/local/include/lua5.1 |
20 | LUAINC=-Ilua-5.1.1/src | ||
20 | 21 | ||
21 | #------ | 22 | #------ |
22 | # Compat-5.1 directory | 23 | # Compat-5.1 directory |
23 | # | 24 | # |
24 | COMPAT=compat-5.1r5 | 25 | #COMPAT=compat-5.1r5 |
25 | 26 | ||
26 | #------ | 27 | #------ |
27 | # Top of your Lua installation | 28 | # Top of your Lua installation |
28 | # Relative paths will be inside the src tree | 29 | # Relative paths will be inside the src tree |
29 | # | 30 | # |
30 | INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 | 31 | #INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 |
31 | INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 | 32 | #INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 |
32 | #INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 | 33 | INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 |
33 | #INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 | 34 | INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 |
34 | 35 | ||
35 | INSTALL_DATA=cp | 36 | INSTALL_DATA=cp |
36 | INSTALL_EXEC=cp | 37 | INSTALL_EXEC=cp |
@@ -39,20 +40,20 @@ INSTALL_EXEC=cp | |||
39 | # Compiler and linker settings | 40 | # Compiler and linker settings |
40 | # for Mac OS X | 41 | # for Mac OS X |
41 | # | 42 | # |
42 | #CC=gcc | 43 | CC=gcc |
43 | #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 44 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
44 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | 45 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
45 | #LDFLAGS=-bundle -undefined dynamic_lookup | 46 | LDFLAGS=-bundle -undefined dynamic_lookup |
46 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 47 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
47 | 48 | ||
48 | #------ | 49 | #------ |
49 | # Compiler and linker settings | 50 | # Compiler and linker settings |
50 | # for Linux | 51 | # for Linux |
51 | CC=gcc | 52 | #CC=gcc |
52 | DEF=-DLUASOCKET_DEBUG | 53 | #DEF=-DLUASOCKET_DEBUG |
53 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 54 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic |
54 | LDFLAGS=-O -shared -fpic | 55 | #LDFLAGS=-O -shared -fpic |
55 | LD=gcc | 56 | #LD=gcc |
56 | 57 | ||
57 | #------ | 58 | #------ |
58 | # End of makefile configuration | 59 | # End of makefile configuration |