luasocket/config

60 lines
1.1 KiB
Plaintext
Raw Normal View History

#------
# LuaSocket makefile configuration
#
#------
# Output file names
#
EXT=so
2006-04-03 04:45:42 +00:00
SOCKET_V=2.0.1
MIME_V=1.0.1
SOCKET_SO=socket.$(EXT).$(SOCKET_V)
MIME_SO=mime.$(EXT).$(MIME_V)
UNIX_SO=unix.$(EXT)
#------
# Lua includes and libraries
#
2006-04-20 04:16:23 +00:00
LUAINC=-I/usr/local/include/lua50
#LUAINC=-I/usr/local/include/lua5.1
#------
# Compat-5.1 directory
#
2006-03-19 21:22:21 +00:00
COMPAT=compat-5.1r5
#------
# Top of your Lua installation
# Relative paths will be inside the src tree
#
2006-04-20 04:16:23 +00:00
INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
#INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
#INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
INSTALL_DATA=cp
INSTALL_EXEC=cp
#------
# Compiler and linker settings
2005-09-29 22:26:35 +00:00
# for Mac OS X
#
2006-04-18 20:12:27 +00:00
#CC=gcc
#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
#LDFLAGS=-bundle -undefined dynamic_lookup
#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
2005-10-05 03:20:22 +00:00
#------
# Compiler and linker settings
# for Linux
2006-04-20 04:27:01 +00:00
CC=gcc
DEF=-DLUASOCKET_DEBUG
CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
LDFLAGS=-O -shared -fpic
LD=gcc
2005-09-29 22:26:35 +00:00
#------
# End of makefile configuration
#