Dash:
[t2-trunk.git] / package / lua / luaexpat / luaexpat.conf
blob9261cdd1c357664c9f8e144a3015c5a8d6e3ab1e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/luaexpat/luaexpat.conf
3 # Copyright (C) 2006 - 2021 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # inherit some stuff like myCFLAGS, myLIBS
13 . $base/package/*/*/lua-conf.in
15 pkgprefix -t lua expat
17 LIBNAME=lxp-${ver}.so
18 LUA_INC=$( pkgprefix includedir lua )
19 EXPAT_INC=$( pkgprefix includedir expat )
21 var_append makeopt ' ' "LIBNAME=lxp-${ver}.so"
22 var_append makeopt ' ' "LIB_OPTION='-shared -lexpat $myLIBS'"
24 var_append CFLAGS ' ' "-ansi -O2 -fPIC -fpic -I$LUA_INC -I$EXPAT_INC $myCFLAGS"
25 export CFLAGS
27 var_append makeinstopt ' ' "LUA_LIBDIR=$root$pkglibdir"
28 var_append makeinstopt ' ' "LUA_DIR=$root$pkgdatadir"
29 var_append makeinstopt ' ' "LIBNAME=lxp-${ver}.so"