diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:20:22 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:20:22 +0000 |
| commit | 562d8cceb704a96a7b2f9acc4bc229ab9f5c6541 (patch) | |
| tree | bf8b813e1d4813c2c20933d3fa3e670ba82f9815 | |
| parent | 64d7b02490042b0434a69e663b8c59a54345f607 (diff) | |
| download | luasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.tar.gz luasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.tar.bz2 luasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.zip | |
Default config is for Linux.
| -rw-r--r-- | config | 26 |
1 files changed, 14 insertions, 12 deletions
| @@ -15,8 +15,8 @@ UNIX_SO=unix.$(EXT) | |||
| 15 | #------ | 15 | #------ |
| 16 | # Lua includes and libraries | 16 | # Lua includes and libraries |
| 17 | # | 17 | # |
| 18 | LUAINC= | 18 | LUAINC=-Ilua-5.0.2/include |
| 19 | LUALIB= | 19 | LUALIB=-Llua-5.0.2/lib |
| 20 | 20 | ||
| 21 | #------ | 21 | #------ |
| 22 | # Compat-5.1 directory | 22 | # Compat-5.1 directory |
| @@ -37,18 +37,20 @@ INSTALL_EXEC=cp | |||
| 37 | # Compiler and linker settings | 37 | # Compiler and linker settings |
| 38 | # for Mac OS X | 38 | # for Mac OS X |
| 39 | # | 39 | # |
| 40 | CC=gcc | ||
| 41 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | ||
| 42 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | ||
| 43 | LDFLAGS=-bundle -undefined dynamic_lookup | ||
| 44 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | ||
| 45 | |||
| 46 | # for Linux | ||
| 47 | #CC=gcc | 40 | #CC=gcc |
| 48 | #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 41 | #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
| 49 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 42 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
| 50 | #LDFLAGS=-O -shared | 43 | #LDFLAGS=-bundle -undefined dynamic_lookup |
| 51 | #LD=gcc | 44 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
| 45 | |||
| 46 | #------ | ||
| 47 | # Compiler and linker settings | ||
| 48 | # for Linux | ||
| 49 | CC=gcc | ||
| 50 | DEF=-DLUASOCKET_DEBUG | ||
| 51 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | ||
| 52 | LDFLAGS=-O -shared | ||
| 53 | LD=gcc | ||
| 52 | 54 | ||
| 53 | #------ | 55 | #------ |
| 54 | # End of makefile configuration | 56 | # End of makefile configuration |
