1 EXTRA_DIST = Makefile.plain
4 INCLUDES = $(LIBUSB_CFLAGS)
5 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
10 localedir = $(datadir)/locale
11 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
33 bin_PROGRAMS += bs11nread
39 bin_PROGRAMS += btardump
42 bin_PROGRAMS += balxparse
45 sbin_PROGRAMS = bcharge breset pppob
47 btool_SOURCES = btool.cc
48 btool_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread @BOOST_LDADD@ $(LTLIBINTL) $(LTLIBICONV)
50 btool_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
53 btool_LDADD += ../src/libbarrybackup.la
55 btool_CXXFLAGS = $(AM_CXXFLAGS)
57 btool_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
60 btool_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
63 btool_CXXFLAGS += -D__BARRY_BACKUP_MODE__
65 btool_LDFLAGS = @BOOST_LIB_PATH@
68 bs11nread_SOURCES = bs11nread.cc
69 bs11nread_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread @BOOST_LDADD@ $(LTLIBINTL)
70 bs11nread_CXXFLAGS = -D_REENTRANT @BOOST_INC_PATH@ $(AM_CXXFLAGS)
71 bs11nread_LDFLAGS = @BOOST_LIB_PATH@
74 bidentify_SOURCES = bidentify.cc
75 bidentify_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
77 bjavaloader_SOURCES = bjavaloader.cc
78 bjavaloader_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
80 brawchannel_SOURCES = brawchannel.cc
81 brawchannel_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
83 bjvmdebug_SOURCES = bjvmdebug.cc
84 bjvmdebug_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
86 bdptest_SOURCES = bdptest.cc
87 bdptest_LDADD = ../src/libbarry.la ../src/libbarrydp.la $(LTLIBINTL)
89 bjdwp_SOURCES = bjdwp.cc
90 bjdwp_LDADD = ../src/libbarry.la ../src/libbarryjdwp.la $(LTLIBINTL)
92 upldif_SOURCES = upldif.cc
93 upldif_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
95 btranslate_SOURCES = btranslate.cc
96 btranslate_LDADD = $(LTLIBINTL)
98 bktrans_SOURCES = bktrans.cc
99 bktrans_LDADD = ../src/libbarry.la -lpthread $(LTLIBINTL)
101 bcharge_SOURCES = bcharge.cc
102 bcharge_LDADD = $(LIBUSB_LIBS) $(LTLIBINTL)
104 breset_SOURCES = breset.cc
105 breset_LDADD = $(LIBUSB_LIBS) $(LTLIBINTL)
107 pppob_SOURCES = pppob.cc
108 pppob_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
110 brecsum_SOURCES = brecsum.cc
111 brecsum_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread $(LTLIBINTL)
114 bfuse_SOURCES = bfuse.cc
115 bfuse_CXXFLAGS = $(FUSE_CFLAGS)
116 bfuse_LDADD = ../src/libbarry.la $(FUSE_LIBS) -lpthread $(LTLIBINTL)
120 btardump_SOURCES = btardump.cc
121 btardump_CXXFLAGS = $(AM_CXXFLAGS) -D__BARRY_BACKUP_MODE__
123 #btardump_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
126 btardump_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
128 btardump_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) \
129 ../src/libbarrybackup.la -lpthread $(LTLIBINTL)
131 btardump_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
136 balxparse_SOURCES = balxparse.cc
137 balxparse_CXXFLAGS = $(AM_CXXFLAGS) $(LIBXMLXX_CFLAGS)
138 balxparse_LDADD = ../src/libbarry.la ../src/libbarryalx.la $(LTLIBINTL)
141 brimtrans_SOURCES = brimtrans.cc
142 brimtrans_LDADD = $(LTLIBINTL)