aboutsummaryrefslogtreecommitdiffstats
path: root/lualdap/config
blob: 820ff2a2c8176c9694e09f7c9cf01c988ab2587d (plain) (blame)
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
# 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 $