Experimental implementation for Mode::Serial
[barry/pauldeden.git] / tools / Makefile.am
blob612b1328e2a369ff3700c0e59528df6659693a92
1 EXTRA_DIST = Makefile.plain
3 #DEFAULT_INCLUDES =
4 INCLUDES = $(LIBUSB_CFLAGS)
5 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
6 AM_CXXFLAGS = -ansi -Wall -g
8 bin_PROGRAMS = btool bidentify upldif btranslate bktrans brecsum
9 if WITH_BOOST
10 bin_PROGRAMS += bs11nread
11 endif
12 sbin_PROGRAMS = bcharge breset pppob
14 btool_SOURCES = btool.cc
15 btool_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
16 if WITH_BOOST
17 if WITH_BOOST_PATHS
18 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
19 btool_LDFLAGS = -L@BOOST_LIB_PATH@
20 else
21 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT $(AM_CXXFLAGS)
22 endif
23 btool_LDADD += -lboost_serialization
24 endif
26 if WITH_BOOST
27 bs11nread_SOURCES = bs11nread.cc
28 bs11nread_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
29 if WITH_BOOST_PATHS
30 bs11nread_CXXFLAGS = -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
31 bs11nread_LDFLAGS = -L@BOOST_LIB_PATH@
32 else
33 bs11nread_CXXFLAGS = -D_REENTRANT $(AM_CXXFLAGS)
34 endif
35 bs11nread_LDADD += -lboost_serialization
36 endif
38 bidentify_SOURCES = bidentify.cc
39 bidentify_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
41 upldif_SOURCES = upldif.cc
42 upldif_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
44 btranslate_SOURCES = btranslate.cc
46 bktrans_SOURCES = bktrans.cc
47 bktrans_LDADD = ../src/libbarry.la -lpthread
49 bcharge_SOURCES = bcharge.cc
50 bcharge_LDADD = $(LIBUSB_LIBS)
52 breset_SOURCES = breset.cc
53 breset_LDADD = $(LIBUSB_LIBS)
55 pppob_SOURCES = pppob.cc
56 pppob_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
58 brecsum_CXXFLAGS = $(OPENSSL_CFLAGS)
59 brecsum_SOURCES = brecsum.cc
60 brecsum_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) $(OPENSSL_LIBS) -lpthread