4 INCLUDES = $(USB_LIBRARY_CFLAGS)
5 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
10 localedir = $(datadir)/locale
11 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
43 bin_PROGRAMS += bs11nread
49 bin_PROGRAMS += bwatch
52 bin_PROGRAMS += btardump btarcmp
55 bin_PROGRAMS += balxparse
68 libutil_a_SOURCES = util.cc
69 libutil_a_CXXFLAGS = $(AM_CXXFLAGS)
71 libutil_a_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
74 libboostwrap_a_SOURCES = boostwrap.cc
75 libboostwrap_a_CXXFLAGS = $(AM_CXXFLAGS)
77 libboostwrap_a_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
80 btool_SOURCES = btool.cc
81 btool_LDADD = ../src/libbarry.la libutil.a libboostwrap.a $(USB_LIBRARY_LIBS) @BOOST_LDADD@ $(LTLIBINTL) $(LTLIBICONV)
83 btool_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
86 btool_LDADD += ../src/libbarrybackup.la
88 btool_CXXFLAGS = $(AM_CXXFLAGS)
90 btool_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
93 btool_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
96 btool_CXXFLAGS += -D__BARRY_BACKUP_MODE__
98 btool_LDFLAGS = @BOOST_LIB_PATH@
101 bs11nread_SOURCES = bs11nread.cc
102 bs11nread_LDADD = ../src/libbarry.la libutil.a libboostwrap.a $(USB_LIBRARY_LIBS) @BOOST_LDADD@ $(LTLIBINTL)
103 bs11nread_CXXFLAGS = -D_REENTRANT @BOOST_INC_PATH@ $(AM_CXXFLAGS)
104 bs11nread_LDFLAGS = @BOOST_LIB_PATH@
107 bidentify_SOURCES = bidentify.cc
108 bidentify_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
110 bjavaloader_SOURCES = bjavaloader.cc
111 bjavaloader_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
113 brawchannel_SOURCES = brawchannel.cc
114 brawchannel_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
116 bjvmdebug_SOURCES = bjvmdebug.cc
117 bjvmdebug_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
119 bdptest_SOURCES = bdptest.cc
120 bdptest_LDADD = ../src/libbarry.la ../src/libbarrydp.la $(LTLIBINTL)
122 bjdwp_SOURCES = bjdwp.cc
123 bjdwp_LDADD = ../src/libbarry.la \
124 ../src/libbarrydp.la \
125 ../src/libbarryjdwp.la \
128 upldif_SOURCES = upldif.cc
129 upldif_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
131 btranslate_SOURCES = btranslate.cc
132 btranslate_LDADD = $(LTLIBINTL)
134 bktrans_SOURCES = bktrans.cc
135 bktrans_LDADD = ../src/libbarry.la $(LTLIBINTL)
138 bcharge_SOURCES = bcharge.cc
139 bcharge_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
141 breset_SOURCES = breset.cc
142 breset_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
146 bcharge_SOURCES = bcharge_libusb_1_0.cc
147 bcharge_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
149 breset_SOURCES = breset_libusb_1_0.cc
150 breset_LDADD = $(USB_LIBRARY_LIBS) $(LTLIBINTL)
153 pppob_SOURCES = pppob.cc
154 pppob_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
156 brecsum_SOURCES = brecsum.cc
157 brecsum_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) $(LTLIBINTL)
159 brimtrans_SOURCES = brimtrans.cc
160 brimtrans_LDADD = $(LTLIBINTL)
163 bfuse_SOURCES = bfuse.cc
164 bfuse_CXXFLAGS = $(FUSE_CFLAGS)
165 bfuse_LDADD = ../src/libbarry.la $(FUSE_LIBS) $(LTLIBINTL)
169 bwatch_SOURCES = bwatch.cc
170 bwatch_CXXFLAGS = $(SDL_FLAGS)
171 bwatch_LDADD = ../src/libbarry.la $(SDL_LIBS) $(LTLIBINTL)
175 btardump_SOURCES = btardump.cc
176 btardump_CXXFLAGS = $(AM_CXXFLAGS)
178 #btardump_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
181 btardump_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
183 btardump_LDADD = ../src/libbarry.la $(USB_LIBRARY_LIBS) \
184 ../src/libbarrybackup.la $(LTLIBINTL)
186 btardump_LDADD += ../src/libbarrysync.la $(GLIB2_LIBS)
191 btarcmp_SOURCES = btarcmp.cc
192 btarcmp_CXXFLAGS = $(AM_CXXFLAGS)
193 btarcmp_LDADD = ../src/libbarry.la ../src/libbarrybackup.la libutil.a \
194 $(USB_LIBRARY_LIBS) $(LTLIBINTL)
196 btarcmp_CXXFLAGS += -D__BARRY_SYNC_MODE__ $(GLIB2_CFLAGS)
201 balxparse_SOURCES = balxparse.cc
202 balxparse_CXXFLAGS = $(AM_CXXFLAGS) $(LIBXMLXX_CFLAGS)
203 balxparse_LDADD = ../src/libbarry.la ../src/libbarryalx.la $(LTLIBINTL)
209 bio_CXXFLAGS = -D__BARRY_SYNC_MODE__ $(AM_CXXFLAGS) $(GLIB2_CFLAGS)
211 bio_CXXFLAGS += -D__BARRY_BOOST_MODE__ -D_REENTRANT @BOOST_INC_PATH@
213 bio_LDADD = ../src/libbarry.la \
214 ../src/libbarrysync.la $(GLIB2_LIBS) \
215 ../src/libbarrybackup.la \
218 $(USB_LIBRARY_LIBS) @BOOST_LDADD@ \
219 $(LTLIBINTL) $(LTLIBICONV)
220 bio_LDFLAGS = @BOOST_LIB_PATH@