aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config47
1 files changed, 47 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..dcc3955
--- /dev/null
+++ b/config
@@ -0,0 +1,47 @@
1#------
2# LuaSocket makefile configuration
3#
4
5#------
6# Output file names
7#
8EXT=so
9SOCKET_V=2.0.0
10MIME_V=1.0.0
11SOCKET_SO=socket-core.$(EXT).$(SOCKET_V)
12MIME_SO=mime-core.$(EXT).$(MIME_V)
13UNIX_SO=unix.$(EXT)
14
15#------
16# Lua includes and libraries
17#
18LUAINC=
19LUALIB=
20
21#------
22# Compat-5.1 directory
23#
24COMPAT=compat-5.1r3
25
26#------
27# Top of your Lua installation
28# Relative paths will be inside src tree
29#
30INSTALL_TOP=/usr/local/share/lua/5.0
31
32INSTALL_DATA=cp
33INSTALL_EXEC=cp
34INSTALL_LINK=ln
35
36#------
37# Compiler and linker settings
38#
39CC=gcc
40DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
41CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2
42LDFLAGS=-bundle -undefined dynamic_lookup
43LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
44
45#------
46# End of makefile configuration
47#