forked from lualdap/lualdap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
42 lines (35 loc) · 1.06 KB
/
config
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
# Lua binary
LUA := lua
# Lua version number (first and second digits of target version)
LUA_VERSION := $(shell $(LUA) -e 'print(_VERSION:match("%S+%s+(%S+)"))')
# Lua library
LUA_LIB = -llua$(LUA_VERSION)
# Lua library directory
LUA_LIBDIR = /usr/lib
# Lua include directory
LUA_INCDIR = /usr/include/lua$(LUA_VERSION)
# Installation prefix
INST_PREFIX = /usr
# Lua binary directory
INST_BINDIR = /usr/bin
# Lua binary module directory
INST_LIBDIR = /usr/lib/lua/$(LUA_VERSION)
# Lua source module directory
INST_LUADIR = /usr/share/lua/$(LUA_VERSION)
# OpenLDAP library (an optional directory can be specified with -L<dir>)
LDAP_LIB = -lldap
# System's libraries directory (where binary libraries are installed)
LDAP_LIBDIR = /usr/lib
# OpenLDAP includes directory
LDAP_INCDIR = /usr/include
LBER_LIB = -llber
LBER_LIBDIR = /usr/lib
LBER_INCDIR = /usr/include
# OS dependent
LIBFLAG = -shared # for Linux
#LIBFLAG = -bundle -undefined dynamic_lookup # for MacOS X
# Compilation parameters
CC= gcc
INSTALL= install
MACOSX_DEPLOYMENT_TARGET="10.3"
export MACOSX_DEPLOYMENT_TARGET