tool: Adding TCP listen socket support to brawchannel tool, in addition to STDIN...
[barry.git] / test / Makefile.am
blob5e011c142a4258233ce37cf56b74f693b91352b3
1 EXTRA_DIST = buildtest.sh nightly.sh
3 #DEFAULT_INCLUDES =
4 INCLUDES =
5 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
6 AM_CXXFLAGS = -Wall -g
8 # To use gettext
9 datadir = @datadir@
10 localedir = $(datadir)/locale
11 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
13 noinst_HEADERS = libtest.h
15 noinst_PROGRAMS = libtest fhbuild ptyio
17 libtest_SOURCES = \
18         date.cc \
19         data.cc \
20         libtest.cc
21 libtest_LDADD = \
22         ../src/libbarry.la \
23         @BOOST_LDADD@ $(LTLIBINTL) $(LTLIBICONV)
24 libtest_LDFLAGS = @BOOST_LIB_PATH@
25 libtest_CXXFLAGS = $(AM_CXXFLAGS)
27 if WITH_BOOST
28 libtest_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
29 endif
30 if WITH_SYNC
31 libtest_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
32 libtest_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS) 
33 endif
34 if WITH_BACKUP
35 libtest_LDADD += ../src/libbarrybackup.la
36 libtest_CXXFLAGS += -D__BARRY_BACKUP_MODE__
37 endif
39 fhbuild_SOURCES = fhbuild.cc
40 fhbuild_LDADD = ../src/libbarry.la $(LTLIBINTL) $(LTLIBICONV)
41 fhbuild_CXXFLAGS = $(AM_CXXFLAGS)
43 ptyio_SOURCES = ptyio.cc
44 ptyio_CXXFLAGS = $(AM_CXXFLAGS)