aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config14
1 files changed, 4 insertions, 10 deletions
diff --git a/config b/config
index 9958952..1265b77 100644
--- a/config
+++ b/config
@@ -1,25 +1,19 @@
1# Installation directories 1# Installation directories
2# System's libraries directory (where binary libraries are installed) 2# System's libraries directory (where binary libraries are installed)
3LUA_LIBDIR= /usr/local/lib/lua/5.0 3LUA_LIBDIR= /usr/local/lib/lua/5.1
4# Lua includes directory 4# Lua includes directory
5LUA_INC= /usr/local/include 5LUA_INC= /usr/include/lua5.1
6 6
7# OS dependent 7# OS dependent
8LIB_OPTION= -shared #for Linux 8LIB_OPTION= -shared #for Linux
9#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X 9#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
10 10
11LIBNAME= $T.so.$V 11LIBNAME= $T.so.$V
12# Lua version number
13# (according to Lua 5.1 definition:
14# first version digit * 100 + second version digit
15# e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
16LUA_VERSION_NUM= 500
17COMPAT_DIR= ../compat/src
18 12
19# Compilation directives 13# Compilation directives
20WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings 14WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
21INCS= -I$(LUA_INC) -I$(COMPAT_DIR) 15INCS= -I$(LUA_INC)
22CFLAGS= $(WARN) $(INCS) 16CFLAGS= $(WARN) $(INCS)
23CC= gcc 17CC= gcc
24 18
25# $Id: config,v 1.15 2006/06/08 16:23:25 tomas Exp $ 19# $Id: config,v 1.16 2006/12/04 15:28:53 mascarenhas Exp $