summaryrefslogtreecommitdiff
path: root/tests/tolua/libtest1/GNUmakefile
blob: 2a83f6eb89ceb4b2364319046e0d778ecacc1f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
TOPDIR = ../../..

SUBDIRS =

-include $(TOPDIR)/makefiles/gmake/platform.mk

INCLUDE_DIRS = \
	-I. -I$(TOPDIR)/src -I.. \
	-I$(TOPDIR)/include/module \
	-I$(TOPDIR)/include/util \
	-I$(TOPDIR)/include/luaglue \
	$(TOLUA_INCLUDES)

INCLUDE_CXXFLAGS = \

INCLUDE_LDFLAGS = \
	-L$(TOPDIR)/src/libcrawler \
	$(TOLUA_LDFLAGS)

INCLUDE_LIBS = \
	-lcrawler \
	-llua \
	$(TOLUA_LIBS)

DYNAMIC_MODULE = \
	mod_test.so

STATIC_LIB = \
	libtest.a
	
CPP_OBJS = \
	TestMod.o \
	TestModLua.o

-include $(TOPDIR)/makefiles/gmake/sub.mk

TestModLua.cpp: TestMod.pkg
	$(TOLUA) -H TestModLua.hpp -o TestModLua.cpp TestMod.pkg

local_all:

local_clean:
	@-rm TestModLua.cpp TestModLua.hpp

local_distclean:

local_install:

local_uninstall:

local_test: