diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-12 00:06:29 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-12 00:06:29 +0000 |
| commit | e381bde1ea74552c227e33dbb0c73a2fade897f6 (patch) | |
| tree | f4853361e8f88f8c38c605082e7ebc634c1583d5 /config | |
| parent | c893c7abfb8edbb5124909ac25e36cf089419dd2 (diff) | |
| download | luasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.tar.gz luasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.tar.bz2 luasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.zip | |
Modified and tested on Linux.
Diffstat (limited to 'config')
| -rw-r--r-- | config | 22 |
1 files changed, 11 insertions, 11 deletions
| @@ -17,7 +17,7 @@ UNIX_SO=unix.$(EXT) | |||
| 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 | #LUAINC=-Ilua-5.1.1/src |
| 21 | 21 | ||
| 22 | #------ | 22 | #------ |
| 23 | # Compat-5.1 directory | 23 | # Compat-5.1 directory |
| @@ -40,20 +40,20 @@ INSTALL_EXEC=cp | |||
| 40 | # Compiler and linker settings | 40 | # Compiler and linker settings |
| 41 | # for Mac OS X | 41 | # for Mac OS X |
| 42 | # | 42 | # |
| 43 | CC=gcc | 43 | #CC=gcc |
| 44 | DEF= -DAAA -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 44 | #DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
| 45 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | 45 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
| 46 | LDFLAGS=-bundle -undefined dynamic_lookup | 46 | #LDFLAGS=-bundle -undefined dynamic_lookup |
| 47 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 47 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
| 48 | 48 | ||
| 49 | #------ | 49 | #------ |
| 50 | # Compiler and linker settings | 50 | # Compiler and linker settings |
| 51 | # for Linux | 51 | # for Linux |
| 52 | #CC=gcc | 52 | CC=gcc |
| 53 | #DEF=-DLUASOCKET_DEBUG | 53 | DEF=-DLUASOCKET_DEBUG |
| 54 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 54 | CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic |
| 55 | #LDFLAGS=-O -shared -fpic | 55 | LDFLAGS=-O -shared -fpic |
| 56 | #LD=gcc | 56 | LD=gcc |
| 57 | 57 | ||
| 58 | #------ | 58 | #------ |
| 59 | # End of makefile configuration | 59 | # End of makefile configuration |
