summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: c256f544f670fc96d5c9e242a678f5f5acc1efc3 (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
53
54
55
56
57
58
59
60
SUBDIRS =

bin_PROGRAMS = muniad muniacli

muniad_LDADD = $(LIBWEBSOCKETS_LIBS) $(EXPAT_LIBS)

muniad_CXXFLAGS = $(LIBWEBSOCKETS_CFLAGS) $(EXPAT_CFLAGS) -I/usr/local/include

muniad_SOURCES = \
	muniad.cc \
	connectionhandler.cc \
	debug.cc \
	log.cc \
	http.cc \
	messagehandler.cc \
	messageparser.cc \
	munia_proto.cc \
	saxparser.cc \
	task.cc \
	taskmanager.cc \
	tasktree.cc \
	testclient.cc \
	xml_encode_decode.cc \
	xmlparser.cc

muniacli_LDADD = $(LIBWEBSOCKETS_LIBS)

muniacli_CXXFLAGS = $(LIBWEBSOCKETS_CFLAGS)

muniacli_SOURCES = \
	messageparser.cc \
	muniacli.cc

EXTRA_DIST = \
	debug.h \
	connectionhandler.h \
	log.h \
	http.h \
	message.h \
	messageparser.h \
	messagehandler.h \
	munia_proto.h \
	saxparser.h \
	task.h \
	taskmanager.h \
	tasktree.h \
	testclient.h \
	xml_encode_decode.h \
	xmlparser.h

################
# Test Section #
################

TEST_SOURCE_DEPS = ${muniad_SOURCES} ${EXTRA_DIST}
TEST_SCRIPT_DIR = $(top_srcdir)/tools

include ${TEST_SCRIPT_DIR}/Makefile.am.test

include Makefile.am.test