1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
### mandatory fields
#LUA_VERSION=
PKG_NAME=luaossl
### things relative to the C library part
CLIB_CFLAGS=$(shell pkg-config --cflags libssl) -I . -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H
CLIB_LDFLAGS=$(shell pkg-config --libs libssl libcrypto) -lpthread
CLIB_LDFLAGS_STATIC=$(shell pkg-config --libs libssl libcrypto --static) -lpthread
CLIB_OBJS=$(patsubst %.c,%.lo,$(wildcard src/*.c))
LUA_MODNAME_CPART=_openssl
### things relative to the lua library part
LUA_HEADER=
LUA_SOURCES=$(wildcard src/*.lua)
LUA_SOURCES_MANGLER=sed -r s,^src/,, | sed -r s,[.],/,g | sed -r s,/lua$$,.lua,
LUA_MODNAME=openssl
LUA_TEST=
### this part is relative to pkg-config
PKG_VERSION=
PKG_LIBS_PRIVATE=
PKG_URL=
PKG_REQUIRES=
PKG_CONFLICTS=
|