1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../lualdap/lualdap.conf
5 # Copyright (C) 2008 The OpenSDE Project
6 # Copyright (C) 2006 The T2 SDE Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- SDE-COPYRIGHT-NOTE-END ---
18 OPENLDAP_INC=$( pkgprefix includedir openldap )
19 OPENLDAP_LIB=$( pkgprefix libdir openldap )
21 LUA_INC=$( pkgprefix includedir lua )
23 var_append makeopt ' ' "LIB_OPTION='$myLIBS -lldap -shared'"
25 WARN="-O2 -Wall -fpic -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -ansi"
26 var_append GCC_WRAPPER_APPEND ' ' "$WARN -I$root/$LUA_INC -I$root/$OPENLDAP_INC -L$root/$OPENLDAP_LIB"
28 var_append makeinstopt ' ' "LUA_LIBDIR=$root/$pkglibdir"