aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2009-05-27 09:31:38 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2009-05-27 09:31:38 +0000
commitbce60be30fe8e9c1b0eb33128c23c93d7bca5303 (patch)
tree3927343c777fcb7764a0f2f89754a0ceab141c21 /config
parentd1a72435d5bd3528f3c334cd4d1da16dcead47bf (diff)
downloadluasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.gz
luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.bz2
luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.zip
Decent makefiles!
Diffstat (limited to 'config')
-rw-r--r--config60
1 files changed, 0 insertions, 60 deletions
diff --git a/config b/config
deleted file mode 100644
index 49958eb..0000000
--- a/config
+++ /dev/null
@@ -1,60 +0,0 @@
1#------
2# LuaSocket makefile configuration
3#
4
5#------
6# Output file names
7#
8EXT=so
9SOCKET_V=2.0.2
10MIME_V=1.0.2
11SOCKET_SO=socket.$(EXT).$(SOCKET_V)
12MIME_SO=mime.$(EXT).$(MIME_V)
13UNIX_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
33INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
34INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
35
36INSTALL_DATA=cp
37INSTALL_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
52CC=gcc
53DEF=-DLUASOCKET_DEBUG
54CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
55LDFLAGS=-O -shared -fpic
56LD=gcc
57
58#------
59# End of makefile configuration
60#