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 bjavaloader upldif btranslate bktrans brecsum
10 bin_PROGRAMS += bs11nread
15 sbin_PROGRAMS = bcharge breset pppob
17 btool_SOURCES = btool.cc
18 btool_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
21 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
22 btool_LDFLAGS = -L@BOOST_LIB_PATH@
24 btool_CXXFLAGS = -D__BARRY_BOOST_MODE__ -D_REENTRANT $(AM_CXXFLAGS)
26 btool_LDADD += -lboost_serialization
30 bs11nread_SOURCES = bs11nread.cc
31 bs11nread_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
33 bs11nread_CXXFLAGS = -D_REENTRANT -I@BOOST_INC_PATH@ $(AM_CXXFLAGS)
34 bs11nread_LDFLAGS = -L@BOOST_LIB_PATH@
36 bs11nread_CXXFLAGS = -D_REENTRANT $(AM_CXXFLAGS)
38 bs11nread_LDADD += -lboost_serialization
41 bidentify_SOURCES = bidentify.cc
42 bidentify_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
44 bjavaloader_SOURCES = bjavaloader.cc
45 bjavaloader_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
47 upldif_SOURCES = upldif.cc
48 upldif_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
50 btranslate_SOURCES = btranslate.cc
52 bktrans_SOURCES = bktrans.cc
53 bktrans_LDADD = ../src/libbarry.la -lpthread
55 bcharge_SOURCES = bcharge.cc
56 bcharge_LDADD = $(LIBUSB_LIBS)
58 breset_SOURCES = breset.cc
59 breset_LDADD = $(LIBUSB_LIBS)
61 pppob_SOURCES = pppob.cc
62 pppob_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
64 #brecsum_CXXFLAGS = $(OPENSSL_CFLAGS)
65 brecsum_SOURCES = brecsum.cc
66 #brecsum_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) $(OPENSSL_LIBS) -lpthread
67 brecsum_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread
70 bfuse_SOURCES = bfuse.cc
71 bfuse_CXXFLAGS = $(FUSE_CFLAGS)
72 bfuse_LDADD = ../src/libbarry.la $(FUSE_LIBS) -lpthread