summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 4b75d05d9bc18321fc659a46f62d8fca1add9ed5 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
SUBDIRS = ws

noinst_LTLIBRARIES = libargon2.la

bin_PROGRAMS = muniad muniacli muniapwd

libargon2_la_CFLAGS = \
	-DARGON2_NO_THREADS -I$(top_srcdir)/argon2/include

libargon2_la_SOURCES = \
	$(top_srcdir)/argon2/src/argon2.c \
	$(top_srcdir)/argon2/src/core.c \
	$(top_srcdir)/argon2/src/blake2/blake2b.c \
	$(top_srcdir)/argon2/src/thread.c \
	$(top_srcdir)/argon2/src/encoding.c \
	$(top_srcdir)/argon2/src/ref.c

muniad_LDADD = $(LIBWEBSOCKETS_LIBS) $(EXPAT_LIBS) libargon2.la

muniad_CXXFLAGS = -std=c++11 $(LIBWEBSOCKETS_CFLAGS) $(EXPAT_CFLAGS) \
	-I$(top_srcdir)/hugin -DWSDATADIR=\"$(datadir)/munia/ws\" \
	-DCONFDIR=\"$(prefix)/etc/munia\" \
	-I$(top_srcdir)/argon2/include

muniad_SOURCES = \
	muniad.cc \
	acl.cc \
	hash.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

muniapwd_LDADD = libargon2.la

muniapwd_CXXFLAGS = \
	-std=c++11 \
	$(LIBWEBSOCKETS_CFLAGS) \
	-I$(top_srcdir)/argon2/include

muniapwd_SOURCES = \
	muniapwd.cc \
	salt.cc \
	hash.cc

EXTRA_DIST = \
	connectionhandler.h \
	errorcodes.h \
	exceptions.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