summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 42df50cd2bc73aded0086620d87eee6b673c1f5a (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
SUBDIRS = ws

bin_PROGRAMS = muniad muniacli

muniad_LDADD = $(LIBWEBSOCKETS_LIBS) $(EXPAT_LIBS)

muniad_CXXFLAGS = -std=c++17 $(LIBWEBSOCKETS_CFLAGS) $(EXPAT_CFLAGS) \
	-I$(top_srcdir)/hugin -DWSDATADIR=\"$(datadir)/ws\"

muniad_SOURCES = \
	muniad.cc \
	connectionhandler.cc \
	http.cc \
	messagehandler.cc \
	messageparser.cc \
	munia_proto.cc \
	saxparser.cc \
	node.cc \
	nodemanager.cc \
	nodetree.cc \
	xml_encode_decode.cc \
	xmlparser.cc \
	$(top_srcdir)/hugin/hugin.c

muniacli_LDADD = $(LIBWEBSOCKETS_LIBS)

muniacli_CXXFLAGS = $(LIBWEBSOCKETS_CFLAGS) -I$(top_srcdir)/hugin

muniacli_SOURCES = \
	muniacli.cc

EXTRA_DIST = \
	connectionhandler.h \
	http.h \
	message.h \
	messageparser.h \
	messagehandler.h \
	munia_proto.h \
	saxparser.h \
	node.h \
	nodemanager.h \
	nodetree.h \
	xml_encode_decode.h \
	xmlparser.h \
	$(top_srcdir)/hugin/hugin.h \
	$(top_srcdir)/hugin/hugin.hpp