-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig
More file actions
62 lines (52 loc) · 1.35 KB
/
config
File metadata and controls
62 lines (52 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#------
# LuaCwrap makefile configuration
#
#------
# Output file names
#
EXT=so
LUACWRAP_MAJOR=2
LUACWRAP_MINOR=0
LUACWRAP_REVISION=0
LUACWRAP_VERSION=$(LUACWRAP_MAJOR).$(LUACWRAP_MINOR).$(LUACWRAP_REVISION)
TESTLUACWRAP_VERSION=$(LUACWRAP_MAJOR).$(LUACWRAP_MINOR).$(LUACWRAP_REVISION)
LUACWRAP_LIBNAME=liblua5.1-luacwrap
LUACWRAP_MNAME=$(LUACWRAP_LIBNAME).$(EXT).$(LUACWRAP_MAJOR)
LUACWRAP_VNAME=$(LUACWRAP_LIBNAME).$(EXT).$(LUACWRAP_VERSION)
TESTLUACWRAP_LIBNAME=testluacwrap
TESTLUACWRAP_MNAME=$(TESTLUACWRAP_LIBNAME).$(EXT).$(TESTLUACWRAP_MAJOR)
#------
# Lua includes and libraries
#
LUA_INCDIR=/usr/include/lua5.1
LUACWRAP_INCDIR=../include
#------
# Top of your Lua installation
# Relative paths will be inside the src tree
#
INSTALL_TOP_SHARE=/usr/local/share
INSTALL_TOP_LIB=/usr/local/lib
INSTALL_LUA_LIB=$(INSTALL_TOP_LIB)/lua/5.1
INSTALL_DATA=cp
INSTALL_EXEC=cp
INSTALL_LINK=ln -f
#------
# Compiler and linker settings
# for Mac OS X
#
#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
#------
# Compiler and linker settings
# for Linux
CC=gcc
DEF=
CFLAGS= -I$(LUA_INCDIR) -I$(LUACWRAP_INCDIR) $(DEF) -Wall -O2 -fpic
LDFLAGS=-O -shared -fpic
LD=gcc
#------
# End of makefile configuration
#