diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
| commit | bce60be30fe8e9c1b0eb33128c23c93d7bca5303 (patch) | |
| tree | 3927343c777fcb7764a0f2f89754a0ceab141c21 /config | |
| parent | d1a72435d5bd3528f3c334cd4d1da16dcead47bf (diff) | |
| download | luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.gz luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.bz2 luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.zip | |
Decent makefiles!
Diffstat (limited to 'config')
| -rw-r--r-- | config | 60 |
1 files changed, 0 insertions, 60 deletions
| @@ -1,60 +0,0 @@ | |||
| 1 | #------ | ||
| 2 | # LuaSocket makefile configuration | ||
| 3 | # | ||
| 4 | |||
| 5 | #------ | ||
| 6 | # Output file names | ||
| 7 | # | ||
| 8 | EXT=so | ||
| 9 | SOCKET_V=2.0.2 | ||
| 10 | MIME_V=1.0.2 | ||
| 11 | SOCKET_SO=socket.$(EXT).$(SOCKET_V) | ||
| 12 | MIME_SO=mime.$(EXT).$(MIME_V) | ||
| 13 | UNIX_SO=unix.$(EXT) | ||
| 14 | |||
| 15 | #------ | ||
| 16 | # Lua includes and libraries | ||
| 17 | # | ||
| 18 | #LUAINC=-I/usr/local/include/lua50 | ||
| 19 | #LUAINC=-I/usr/local/include/lua5.1 | ||
| 20 | #LUAINC=-Ilua-5.1.1/src | ||
| 21 | |||
| 22 | #------ | ||
| 23 | # Compat-5.1 directory | ||
| 24 | # | ||
| 25 | #COMPAT=compat-5.1r5 | ||
| 26 | |||
| 27 | #------ | ||
| 28 | # Top of your Lua installation | ||
| 29 | # Relative paths will be inside the src tree | ||
| 30 | # | ||
| 31 | #INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 | ||
| 32 | #INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 | ||
| 33 | INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 | ||
| 34 | INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 | ||
| 35 | |||
| 36 | INSTALL_DATA=cp | ||
| 37 | INSTALL_EXEC=cp | ||
| 38 | |||
| 39 | #------ | ||
| 40 | # Compiler and linker settings | ||
| 41 | # for Mac OS X | ||
| 42 | # | ||
| 43 | #CC=gcc | ||
| 44 | #DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | ||
| 45 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | ||
| 46 | #LDFLAGS=-bundle -undefined dynamic_lookup | ||
| 47 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | ||
| 48 | |||
| 49 | #------ | ||
| 50 | # Compiler and linker settings | ||
| 51 | # for Linux | ||
| 52 | CC=gcc | ||
| 53 | DEF=-DLUASOCKET_DEBUG | ||
| 54 | CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic | ||
| 55 | LDFLAGS=-O -shared -fpic | ||
| 56 | LD=gcc | ||
| 57 | |||
| 58 | #------ | ||
| 59 | # End of makefile configuration | ||
| 60 | # | ||
