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