aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config33
1 files changed, 17 insertions, 16 deletions
diff --git a/config b/config
index 3bed687..5a86f9c 100644
--- a/config
+++ b/config
@@ -15,22 +15,23 @@ UNIX_SO=unix.$(EXT)
15#------ 15#------
16# Lua includes and libraries 16# Lua includes and libraries
17# 17#
18LUAINC=-I/usr/local/include/lua50 18#LUAINC=-I/usr/local/include/lua50
19#LUAINC=-I/usr/local/include/lua5.1 19#LUAINC=-I/usr/local/include/lua5.1
20LUAINC=-Ilua-5.1.1/src
20 21
21#------ 22#------
22# Compat-5.1 directory 23# Compat-5.1 directory
23# 24#
24COMPAT=compat-5.1r5 25#COMPAT=compat-5.1r5
25 26
26#------ 27#------
27# Top of your Lua installation 28# Top of your Lua installation
28# Relative paths will be inside the src tree 29# Relative paths will be inside the src tree
29# 30#
30INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 31#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
31INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 32#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
32#INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 33INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
33#INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 34INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
34 35
35INSTALL_DATA=cp 36INSTALL_DATA=cp
36INSTALL_EXEC=cp 37INSTALL_EXEC=cp
@@ -39,20 +40,20 @@ INSTALL_EXEC=cp
39# Compiler and linker settings 40# Compiler and linker settings
40# for Mac OS X 41# for Mac OS X
41# 42#
42#CC=gcc 43CC=gcc
43#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN 44DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
44#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common 45CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
45#LDFLAGS=-bundle -undefined dynamic_lookup 46LDFLAGS=-bundle -undefined dynamic_lookup
46#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc 47LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
47 48
48#------ 49#------
49# Compiler and linker settings 50# Compiler and linker settings
50# for Linux 51# for Linux
51CC=gcc 52#CC=gcc
52DEF=-DLUASOCKET_DEBUG 53#DEF=-DLUASOCKET_DEBUG
53CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic 54#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
54LDFLAGS=-O -shared -fpic 55#LDFLAGS=-O -shared -fpic
55LD=gcc 56#LD=gcc
56 57
57#------ 58#------
58# End of makefile configuration 59# End of makefile configuration