1 EXTRA_DIST = Makefile.plain
4 INCLUDES = $(USB_LIBRARY_CFLAGS)
5 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
10 localedir = $(datadir)/locale
11 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
34 bin_PROGRAMS += bs11nread
40 bin_PROGRAMS += bwatch
43 bin_PROGRAMS += btardump
46 bin_PROGRAMS += balxparse
56 btool_SOURCES = btool.cc
57 btool_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread @BOOST_LDADD@ $(LTLIBINTL) $(LTLIBICONV)
59 btool_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
62 btool_LDADD += ../src/libbarrybackup.la
64 btool_CXXFLAGS = $(AM_CXXFLAGS)
66 btool_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
69 btool_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
72 btool_CXXFLAGS += -D__BARRY_BACKUP_MODE__
74 btool_LDFLAGS = @BOOST_LIB_PATH@
77 bs11nread_SOURCES = bs11nread.cc
78 bs11nread_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread @BOOST_LDADD@ $(LTLIBINTL)
79 bs11nread_CXXFLAGS = -D_REENTRANT @BOOST_INC_PATH@ $(AM_CXXFLAGS)
80 bs11nread_LDFLAGS = @BOOST_LIB_PATH@
83 bidentify_SOURCES = bidentify.cc
84 bidentify_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
86 bjavaloader_SOURCES = bjavaloader.cc
87 bjavaloader_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
89 brawchannel_SOURCES = brawchannel.cc
90 brawchannel_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
92 bjvmdebug_SOURCES = bjvmdebug.cc
93 bjvmdebug_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
95 bdptest_SOURCES = bdptest.cc
96 bdptest_LDADD = ../src/libbarry.la ../src/libbarrydp.la $(LTLIBINTL)
98 bjdwp_SOURCES = bjdwp.cc
99 bjdwp_LDADD = ../src/libbarry.la \
100 ../src/libbarrydp.la \
101 ../src/libbarryjdwp.la \
104 upldif_SOURCES = upldif.cc
105 upldif_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
107 btranslate_SOURCES = btranslate.cc
108 btranslate_LDADD = $(LTLIBINTL)
110 bktrans_SOURCES = bktrans.cc
111 bktrans_LDADD = ../src/libbarry.la -lpthread $(LTLIBINTL)
114 sbin_PROGRAMS += bcharge breset
116 bcharge_SOURCES = bcharge.cc
117 bcharge_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
119 breset_SOURCES = breset.cc
120 breset_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
124 sbin_PROGRAMS += bcharge breset
126 bcharge_SOURCES = bcharge_libusb_1_0.cc
127 bcharge_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
129 breset_SOURCES = breset_libusb_1_0.cc
130 breset_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
133 pppob_SOURCES = pppob.cc
134 pppob_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
136 brecsum_SOURCES = brecsum.cc
137 brecsum_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) -lpthread $(LTLIBINTL)
139 brimtrans_SOURCES = brimtrans.cc
140 brimtrans_LDADD = $(LTLIBINTL)
143 bfuse_SOURCES = bfuse.cc
144 bfuse_CXXFLAGS = $(FUSE_CFLAGS)
145 bfuse_LDADD = ../src/libbarry.la $(FUSE_LIBS) -lpthread $(LTLIBINTL)
149 bwatch_SOURCES = bwatch.cc
150 bwatch_CXXFLAGS = $(SDL_FLAGS)
151 bwatch_LDADD = ../src/libbarry.la $(SDL_LIBS) -lpthread $(LTLIBINTL)
155 btardump_SOURCES = btardump.cc
156 btardump_CXXFLAGS = $(AM_CXXFLAGS) -D__BARRY_BACKUP_MODE__
158 #btardump_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
161 btardump_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
163 btardump_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) \
164 ../src/libbarrybackup.la -lpthread $(LTLIBINTL)
166 btardump_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
171 balxparse_SOURCES = balxparse.cc
172 balxparse_CXXFLAGS = $(AM_CXXFLAGS) $(LIBXMLXX_CFLAGS)
173 balxparse_LDADD = ../src/libbarry.la ../src/libbarryalx.la $(LTLIBINTL)
179 bio_CXXFLAGS = $(AM_CXXFLAGS) $(GLIB2_CFLAGS)
181 bio_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
183 bio_LDADD = ../src/libbarry.la \
184 ../src/libbarrysync.la $(GLIB2_LIBS) \
185 ../src/libbarrybackup.la \
186 $(USB_LIBRARY_LIBS) -lpthread @BOOST_LDADD@ \
187 $(LTLIBINTL) $(LTLIBICONV)
188 bio_LDFLAGS = @BOOST_LIB_PATH@