View | Details | Raw Unified | Return to bug 94947
Collapse All | Expand All

(-)config (-13 / +13 lines)
Lines 15-22 Link Here
15
#------
15
#------
16
# Lua includes and libraries
16
# Lua includes and libraries
17
#
17
#
18
LUAINC=-Ilua-5.0.2/include
18
LUAINC=-I$(PREFIX)/include
19
LUALIB=-Llua-5.0.2/lib
19
LUALIB=-L$(PREFIX)/lib
20
20
21
#------
21
#------
22
# Compat-5.1 directory
22
# Compat-5.1 directory
Lines 27-34 Link Here
27
# Top of your Lua installation
27
# Top of your Lua installation
28
# Relative paths will be inside the src tree
28
# Relative paths will be inside the src tree
29
#
29
#
30
INSTALL_TOP_SHARE=share
30
INSTALL_TOP_SHARE=${PREFIX}/share/lua/5.0
31
INSTALL_TOP_LIB=lib
31
INSTALL_TOP_LIB=${PREFIX}/lib/lua/5.0
32
32
33
INSTALL_DATA=cp
33
INSTALL_DATA=cp
34
INSTALL_EXEC=cp
34
INSTALL_EXEC=cp
Lines 37-56 Link Here
37
# Compiler and linker settings
37
# Compiler and linker settings
38
# for Mac OS X
38
# for Mac OS X
39
#
39
#
40
CC=gcc
40
#CC=gcc
41
DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
41
#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
42
CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
42
#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
43
LDFLAGS=-bundle -undefined dynamic_lookup
43
#LDFLAGS=-bundle -undefined dynamic_lookup
44
LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
44
#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
45
45
46
#------
46
#------
47
# Compiler and linker settings
47
# Compiler and linker settings
48
# for Linux
48
# for Linux
49
#CC=gcc
49
CC=gcc
50
#DEF=-DLUASOCKET_DEBUG 
50
#DEF=-DLUASOCKET_DEBUG 
51
#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
51
CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
52
#LDFLAGS=-O -shared
52
LDFLAGS=-O -shared
53
#LD=gcc 
53
LD=gcc 
54
54
55
#------
55
#------
56
# End of makefile configuration
56
# End of makefile configuration

Return to bug 94947