Files
luafilesystem/config
2005-06-05 00:36:18 +00:00

25 lines
735 B
Plaintext

# Installation directories
# System's libraries directory (where binary libraries are installed)
LUA_LIBDIR= /usr/local/lib/lua/5.0
# Lua includes directory
LUA_INC= /usr/local/include/lua5
# OS dependent
LIB_OPTION= -shared #for Linux
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
LIBNAME= lib$T-$V.so
COMPAT_DIR= ../compat/src
# Compilation directives
# On FreeBSD systems, the following line should be commented
DLLIB= -ldl
#LUA_LIBS= -llua50 -lm
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
LIBS= $(LUA_LIBS) $(DLLIB)
CFLAGS= $(WARN) $(INCS)
CC= gcc
# $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $