diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
| commit | be2e467929be9f27fbe92fe7b94783635c920c06 (patch) | |
| tree | 94054e38f33178d805a6144d3bd9cb76da4a4c76 /config | |
| parent | 8bf9fb51dd09fb066483247fccbfc979acc84071 (diff) | |
| download | luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.gz luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.bz2 luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.zip | |
Couple bug fixes.
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 |
