beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / luasocket / config
blob49958ebcbbec38fa589adf877297c53734b5375d
1 #------
2 # LuaSocket makefile configuration
5 #------
6 # Output file names
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)
15 #------
16 # Lua includes and libraries
18 #LUAINC=-I/usr/local/include/lua50
19 #LUAINC=-I/usr/local/include/lua5.1
20 #LUAINC=-Ilua-5.1.1/src
22 #------
23 # Compat-5.1 directory
25 #COMPAT=compat-5.1r5
27 #------
28 # Top of your Lua installation
29 # Relative paths will be inside the src tree
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
36 INSTALL_DATA=cp
37 INSTALL_EXEC=cp
39 #------
40 # Compiler and linker settings
41 # for Mac OS X
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
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 
58 #------
59 # End of makefile configuration