diff options
author | Tomas Guisasola <tomas@luaforge.net> | 2005-06-05 00:38:22 +0000 |
---|---|---|
committer | Tomas Guisasola <tomas@luaforge.net> | 2005-06-05 00:38:22 +0000 |
commit | b7d0d9d61ad9cf103d38f5671834ed504e0ef0d3 (patch) | |
tree | 6b10f508d01b1921edda355f500994c842a649f9 /lualdap/config | |
parent | Documentation update (diff) | |
download | lualdap-b7d0d9d61ad9cf103d38f5671834ed504e0ef0d3.tar.xz lualdap-b7d0d9d61ad9cf103d38f5671834ed504e0ef0d3.zip |
Standardizing Makefile and config.
Small correction in README.
Diffstat (limited to 'lualdap/config')
-rwxr-xr-x | lualdap/config | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lualdap/config b/lualdap/config new file mode 100755 index 0000000..820ff2a --- /dev/null +++ b/lualdap/config @@ -0,0 +1,26 @@ +# 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 +# OpenLDAP includes directory +OPENLDAP_INC= /usr/local/include + +# 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 parameters +# On FreeBSD systems, the following line should be commented +DLLIB= -ldl +#LUA_LIBS= -L/usr/lib -llua50 -lm +WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -ansi +INCS= -I$(LUA_INC) -I$(OPENLDAP_INC) -I$(COMPAT_DIR) +LIBS= $(LUA_LIBS) $(DLLIB) +CFLAGS= $(WARN) $(INCS) +CC= gcc + +# $Id: config,v 1.1 2005-06-05 00:38:22 tomas Exp $ |