1 EXTRA_DIST = Makefile.plain
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
10 bin_PROGRAMS += bs11nread
12 sbin_PROGRAMS = bcharge breset pppob
14 btool_SOURCES = btool.cc
15 btool_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
18 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
19 btool_LDFLAGS = -L@BOOST_LIB_PATH@
21 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT $(AM_CXXFLAGS)
23 btool_LDADD += -lboost_serialization
27 bs11nread_SOURCES = bs11nread.cc
28 bs11nread_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
30 bs11nread_CXXFLAGS = -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
31 bs11nread_LDFLAGS = -L@BOOST_LIB_PATH@
33 bs11nread_CXXFLAGS = -D_REENTRANT $(AM_CXXFLAGS)
35 bs11nread_LDADD += -lboost_serialization
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