1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/luafilesystem/luafilesystem.conf
3 # Copyright (C) 2006 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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 LFS_LIBNAME=lfs-${ver}.so
16 LUA_INC=$(pkgprefix includedir lua)
18 var_append makeopt ' ' "LIBNAME=$LFS_LIBNAME"
19 var_append makeopt ' ' "LIB_OPTION='$myLIBS -shared'"
21 WARN="-O2 -Wall -fPIC -fpic -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings"
22 var_append CFLAGS ' ' "$WARN -I$LUA_INC -DS_ISSOCK $myCFLAGS"
25 var_append makeinstopt ' ' "LUA_LIBDIR=$root$pkglibdir"
26 var_append makeinstopt ' ' "LUA_DIR=$root$pkgdatadir"
27 var_append makeinstopt ' ' "LIBNAME=$LFS_LIBNAME"