SUBDIRS =

bin_PROGRAMS = muniad

muniad_LDADD = $(LIBWEBSOCKETS_LIBS) $(EXPAT_LIBS)

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

muniad_SOURCES = \
	debug.cc \
	muniad.cc \
	log.cc \
	http.cc \
	msgparser.cc \
	saxparser.cc \
	task.cc \
	task_proto.cc \
	xml_encode_decode.cc \
	xmlparser.cc

EXTRA_DIST = \
	debug.h \
	log.h \
	http.h \
	msgparser.h \
	saxparser.h \
	task.h \
	task_proto.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