mirror of
https://github.com/lxsang/silk.git
synced 2024-11-14 09:18:22 +01:00
39 lines
780 B
Makefile
39 lines
780 B
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
|
|
|
# check for system
|
|
if LINUX
|
|
AM_CPPFLAGS = -Wl,E,--no-as-needed
|
|
FL_LUA=linux
|
|
else
|
|
AM_CPPFLAGS = -Wl,-undefined,dynamic_lookup
|
|
FL_LUA=macosx
|
|
endif
|
|
|
|
|
|
AM_CPPFLAGS += -W -Wall -g -std=c99 -fPIC
|
|
|
|
silkdir = $(libdir)/lua/silk
|
|
silk_DATA = silkmvc/router.lua.tpl \
|
|
silkmvc/BaseController.lua \
|
|
silkmvc/Router.lua \
|
|
silkmvc/BaseModel.lua \
|
|
silkmvc/Template.lua \
|
|
silkmvc/Logger.lua \
|
|
silkmvc/BaseObject.lua \
|
|
silkmvc/api.lua
|
|
|
|
coredir = $(libdir)/lua/silk/core
|
|
core_DATA = silkmvc/core/OOP.lua \
|
|
silkmvc/core/std.lua \
|
|
silkmvc/core/mimes.lua \
|
|
silkmvc/core/utils.lua \
|
|
silkmvc/core/hook.lua \
|
|
silkmvc/core/sqlite.lua
|
|
|
|
# lua libraris & modules
|
|
SUBDIRS = . modules
|
|
|
|
EXTRA_DIST = README.md silkmvc
|