You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
18 years ago
|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# T2 SDE: package/.../luafilesystem/luafilesystem.conf
|
||
|
# Copyright (C) 2006 The T2 SDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
||
|
# GNU General Public License can be found in the file COPYING.
|
||
|
# --- T2-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
# inherit some stuff like myCFLAGS, myLIBS
|
||
|
. $base/package/*/*/lua-conf.in
|
||
|
|
||
|
LFS_LIBNAME=lfs-${ver}.so
|
||
|
LUA_INC=$( pkgprefix includedir lua )
|
||
|
|
||
|
var_append makeopt ' ' "LIBNAME=$LFS_LIBNAME"
|
||
|
var_append makeopt ' ' "LIB_OPTION='$myLIBS -shared'"
|
||
|
|
||
|
WARN="-O2 -Wall -fPIC -fpic -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings"
|
||
|
var_append CFLAGS ' ' "$WARN -I$LUA_INC -DS_ISSOCK $myCFLAGS"
|
||
|
export CFLAGS
|
||
|
|
||
|
var_append makeinstopt ' ' "LUA_LIBDIR=$root/$pkglibdir"
|
||
|
var_append makeinstopt ' ' "LUA_DIR=$root/$pkgdatadir"
|
||
|
var_append makeinstopt ' ' "LIBNAME=$LFS_LIBNAME"
|
||
|
|