Ticket #12098: config.diff
File config.diff, 1.5 KB (added by emmett.shear@…, 17 years ago) |
---|
-
config
old new 15 15 #------ 16 16 # Lua includes and libraries 17 17 # 18 LUAINC=-I/usr/local/include/lua50 19 #LUAINC=-I/usr/local/include/lua5.1 18 LUAINC=-I%%PREFIX%%/include 20 19 21 20 #------ 22 21 # Compat-5.1 directory … … 27 26 # Top of your Lua installation 28 27 # Relative paths will be inside the src tree 29 28 # 30 INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 31 INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 32 #INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 33 #INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 29 INSTALL_TOP_SHARE=$(DESTDIR)/share/lua/5.1 30 INSTALL_TOP_LIB=$(DESTDIR)/lib/lua/5.1 34 31 35 32 INSTALL_DATA=cp 36 33 INSTALL_EXEC=cp … … 39 36 # Compiler and linker settings 40 37 # for Mac OS X 41 38 # 42 #CC=gcc43 #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN44 #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common45 #LDFLAGS=-bundle -undefined dynamic_lookup46 #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc39 CC=gcc 40 DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN 41 CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common 42 LDFLAGS=-bundle -undefined dynamic_lookup 43 LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc 47 44 48 45 #------ 49 46 # Compiler and linker settings 50 47 # for Linux 51 CC=gcc52 DEF=-DLUASOCKET_DEBUG53 CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic54 LDFLAGS=-O -shared -fpic55 LD=gcc48 #CC=gcc 49 #DEF=-DLUASOCKET_DEBUG 50 #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic 51 #LDFLAGS=-O -shared -fpic 52 #LD=gcc 56 53 57 54 #------ 58 55 # End of makefile configuration