]> sigrok.org Git - libsigrok.git/blob - Makefile.am
unit tests: Add a test case for sr_dev_inst_user_new().
[libsigrok.git] / Makefile.am
1 ##
2 ## This file is part of the libsigrok project.
3 ##
4 ## Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
5 ## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
6 ##
7 ## This program is free software: you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation, either version 3 of the License, or
10 ## (at your option) any later version.
11 ##
12 ## This program is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 ##
20
21 ACLOCAL_AMFLAGS = -I autostuff
22
23 AM_CPPFLAGS = -I$(srcdir)/src -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
24
25 lib_LTLIBRARIES = libsigrok.la
26
27 # Backend files
28 libsigrok_la_SOURCES = \
29         src/backend.c \
30         src/device.c \
31         src/session.c \
32         src/session_file.c \
33         src/session_driver.c \
34         src/drivers.c \
35         src/hwdriver.c \
36         src/trigger.c \
37         src/soft-trigger.c \
38         src/strutil.c \
39         src/log.c \
40         src/version.c \
41         src/error.c \
42         src/std.c
43
44 # Input modules
45 libsigrok_la_SOURCES += \
46         src/input/input.c \
47         src/input/binary.c \
48         src/input/chronovu_la8.c \
49         src/input/csv.c \
50         src/input/vcd.c \
51         src/input/wav.c
52
53 # Output modules
54 libsigrok_la_SOURCES += \
55         src/output/output.c \
56         src/output/analog.c \
57         src/output/ascii.c \
58         src/output/bits.c \
59         src/output/binary.c \
60         src/output/csv.c \
61         src/output/chronovu_la8.c \
62         src/output/wav.c \
63         src/output/gnuplot.c \
64         src/output/hex.c \
65         src/output/ols.c \
66         src/output/vcd.c
67
68 # SCPI support
69 libsigrok_la_SOURCES += \
70         src/scpi/scpi.c \
71         src/scpi/scpi_tcp.c
72 if NEED_RPC
73 libsigrok_la_SOURCES += \
74         src/scpi/scpi_vxi.c \
75         src/scpi/vxi_clnt.c \
76         src/scpi/vxi_xdr.c \
77         src/scpi/vxi.h
78 endif
79 if NEED_SERIAL
80 libsigrok_la_SOURCES += \
81         src/serial.c \
82         src/scpi/scpi_serial.c
83 endif
84 if NEED_USB
85 libsigrok_la_SOURCES += \
86         src/ezusb.c \
87         src/usb.c \
88         src/scpi/scpi_usbtmc_libusb.c
89 endif
90 if NEED_VISA
91 libsigrok_la_SOURCES += \
92         src/scpi/scpi_visa.c
93 endif
94 if NEED_GPIB
95 libsigrok_la_SOURCES += \
96         src/scpi/scpi_libgpib.c
97 endif
98
99 # Hardware (DMM chip parsers)
100 libsigrok_la_SOURCES += \
101         src/dmm/es519xx.c \
102         src/dmm/fs9721.c \
103         src/dmm/fs9922.c \
104         src/dmm/m2110.c \
105         src/dmm/metex14.c \
106         src/dmm/rs9lcd.c \
107         src/dmm/bm25x.c \
108         src/dmm/ut71x.c
109
110 # Hardware (LCR chip parsers)
111 if HW_DEREE_DE5000
112 libsigrok_la_SOURCES += \
113         src/lcr/es51919.c
114 endif
115
116 # Hardware drivers
117 if HW_AGILENT_DMM
118 libsigrok_la_SOURCES += \
119         src/hardware/agilent-dmm/api.c \
120         src/hardware/agilent-dmm/agilent-dmm.h \
121         src/hardware/agilent-dmm/sched.c
122 endif
123 if HW_APPA_55II
124 libsigrok_la_SOURCES += \
125         src/hardware/appa-55ii/protocol.h \
126         src/hardware/appa-55ii/protocol.c \
127         src/hardware/appa-55ii/api.c
128 endif
129 if HW_ASIX_SIGMA
130 libsigrok_la_SOURCES += \
131         src/hardware/asix-sigma/asix-sigma.h \
132         src/hardware/asix-sigma/asix-sigma.c
133 endif
134 if HW_ATTEN_PPS3XXX
135 libsigrok_la_SOURCES += \
136         src/hardware/atten-pps3xxx/protocol.h \
137         src/hardware/atten-pps3xxx/protocol.c \
138         src/hardware/atten-pps3xxx/api.c
139 endif
140 if HW_BEAGLELOGIC
141 libsigrok_la_SOURCES += \
142         src/hardware/beaglelogic/beaglelogic.h \
143         src/hardware/beaglelogic/protocol.h \
144         src/hardware/beaglelogic/protocol.c \
145         src/hardware/beaglelogic/api.c
146 endif
147 if HW_BRYMEN_BM86X
148 libsigrok_la_SOURCES += \
149         src/hardware/brymen-bm86x/protocol.h \
150         src/hardware/brymen-bm86x/protocol.c \
151         src/hardware/brymen-bm86x/api.c
152 endif
153 if HW_BRYMEN_DMM
154 libsigrok_la_SOURCES += \
155         src/hardware/brymen-dmm/parser.c \
156         src/hardware/brymen-dmm/protocol.h \
157         src/hardware/brymen-dmm/protocol.c \
158         src/hardware/brymen-dmm/api.c
159 endif
160 if HW_CEM_DT_885X
161 libsigrok_la_SOURCES += \
162         src/hardware/cem-dt-885x/protocol.h \
163         src/hardware/cem-dt-885x/protocol.c \
164         src/hardware/cem-dt-885x/api.c
165 endif
166 if HW_CENTER_3XX
167 libsigrok_la_SOURCES += \
168         src/hardware/center-3xx/protocol.h \
169         src/hardware/center-3xx/protocol.c \
170         src/hardware/center-3xx/api.c
171 endif
172 if HW_CHRONOVU_LA
173 libsigrok_la_SOURCES += \
174         src/hardware/chronovu-la/protocol.h \
175         src/hardware/chronovu-la/protocol.c \
176         src/hardware/chronovu-la/api.c
177 endif
178 if HW_COLEAD_SLM
179 libsigrok_la_SOURCES += \
180         src/hardware/colead-slm/protocol.h \
181         src/hardware/colead-slm/protocol.c \
182         src/hardware/colead-slm/api.c
183 endif
184 if HW_CONRAD_DIGI_35_CPU
185 libsigrok_la_SOURCES += \
186         src/hardware/conrad-digi-35-cpu/protocol.h \
187         src/hardware/conrad-digi-35-cpu/protocol.c \
188         src/hardware/conrad-digi-35-cpu/api.c
189 endif
190 if HW_DEMO
191 libsigrok_la_SOURCES += \
192         src/hardware/demo/demo.c
193 endif
194 if HW_DEREE_DE5000
195 libsigrok_la_SOURCES += \
196         src/hardware/deree-de5000/api.c
197 endif
198 if HW_FLUKE_DMM
199 libsigrok_la_SOURCES += \
200         src/hardware/fluke-dmm/fluke-dmm.h \
201         src/hardware/fluke-dmm/fluke.c \
202         src/hardware/fluke-dmm/api.c
203 endif
204 if HW_FX2LAFW
205 libsigrok_la_SOURCES += \
206         src/hardware/fx2lafw/protocol.h \
207         src/hardware/fx2lafw/protocol.c \
208         src/hardware/fx2lafw/api.c
209 endif
210 if HW_GMC_MH_1X_2X
211 libsigrok_la_SOURCES += \
212         src/hardware/gmc-mh-1x-2x/protocol.h \
213         src/hardware/gmc-mh-1x-2x/protocol.c \
214         src/hardware/gmc-mh-1x-2x/api.c
215 endif
216 if HW_HAMEG_HMO
217 libsigrok_la_SOURCES += \
218         src/hardware/hameg-hmo/protocol.h \
219         src/hardware/hameg-hmo/protocol.c \
220         src/hardware/hameg-hmo/api.c
221 endif
222 if HW_HANTEK_DSO
223 libsigrok_la_SOURCES += \
224         src/hardware/hantek-dso/dso.h \
225         src/hardware/hantek-dso/dso.c \
226         src/hardware/hantek-dso/api.c
227 endif
228 if HW_IKALOGIC_SCANALOGIC2
229 libsigrok_la_SOURCES += \
230         src/hardware/ikalogic-scanalogic2/protocol.h \
231         src/hardware/ikalogic-scanalogic2/protocol.c \
232         src/hardware/ikalogic-scanalogic2/api.c
233 endif
234 if HW_IKALOGIC_SCANAPLUS
235 libsigrok_la_SOURCES += \
236         src/hardware/ikalogic-scanaplus/protocol.h \
237         src/hardware/ikalogic-scanaplus/protocol.c \
238         src/hardware/ikalogic-scanaplus/api.c
239 endif
240 if HW_KECHENG_KC_330B
241 libsigrok_la_SOURCES += \
242         src/hardware/kecheng-kc-330b/protocol.h \
243         src/hardware/kecheng-kc-330b/protocol.c \
244         src/hardware/kecheng-kc-330b/api.c
245 endif
246 if HW_LASCAR_EL_USB
247 libsigrok_la_SOURCES += \
248         src/hardware/lascar-el-usb/protocol.h \
249         src/hardware/lascar-el-usb/protocol.c \
250         src/hardware/lascar-el-usb/api.c
251 endif
252 if HW_MANSON_HCS_3XXX
253 libsigrok_la_SOURCES += \
254         src/hardware/manson-hcs-3xxx/protocol.h \
255         src/hardware/manson-hcs-3xxx/protocol.c \
256         src/hardware/manson-hcs-3xxx/api.c
257 endif
258 if HW_MIC_985XX
259 libsigrok_la_SOURCES += \
260         src/hardware/mic-985xx/protocol.h \
261         src/hardware/mic-985xx/protocol.c \
262         src/hardware/mic-985xx/api.c
263 endif
264 if HW_MOTECH_LPS_30X
265 libsigrok_la_SOURCES += \
266         src/hardware/motech-lps-30x/protocol.h \
267         src/hardware/motech-lps-30x/protocol.c \
268         src/hardware/motech-lps-30x/api.c
269 endif
270 if HW_NORMA_DMM
271 libsigrok_la_SOURCES += \
272         src/hardware/norma-dmm/protocol.h \
273         src/hardware/norma-dmm/protocol.c \
274         src/hardware/norma-dmm/api.c
275 endif
276 if HW_OPENBENCH_LOGIC_SNIFFER
277 libsigrok_la_SOURCES += \
278         src/hardware/openbench-logic-sniffer/protocol.h \
279         src/hardware/openbench-logic-sniffer/protocol.c \
280         src/hardware/openbench-logic-sniffer/api.c
281 endif
282 if HW_PIPISTRELLO_OLS
283 libsigrok_la_SOURCES += \
284         src/hardware/pipistrello-ols/protocol.h \
285         src/hardware/pipistrello-ols/protocol.c \
286         src/hardware/pipistrello-ols/api.c
287 endif
288 if HW_RIGOL_DS
289 libsigrok_la_SOURCES += \
290         src/hardware/rigol-ds/protocol.h \
291         src/hardware/rigol-ds/protocol.c \
292         src/hardware/rigol-ds/api.c
293 endif
294 if HW_SALEAE_LOGIC16
295 libsigrok_la_SOURCES += \
296         src/hardware/saleae-logic16/protocol.h \
297         src/hardware/saleae-logic16/protocol.c \
298         src/hardware/saleae-logic16/api.c
299 endif
300 if HW_SCPI_PPS
301 libsigrok_la_SOURCES += \
302         src/hardware/scpi-pps/protocol.h \
303         src/hardware/scpi-pps/protocol.c \
304         src/hardware/scpi-pps/profiles.c \
305         src/hardware/scpi-pps/api.c
306 endif
307 if HW_SERIAL_DMM
308 libsigrok_la_SOURCES += \
309         src/hardware/serial-dmm/protocol.h \
310         src/hardware/serial-dmm/protocol.c \
311         src/hardware/serial-dmm/api.c
312 endif
313 if HW_SYSCLK_LWLA
314 libsigrok_la_SOURCES += \
315         src/hardware/sysclk-lwla/lwla.h \
316         src/hardware/sysclk-lwla/lwla.c \
317         src/hardware/sysclk-lwla/protocol.h \
318         src/hardware/sysclk-lwla/protocol.c \
319         src/hardware/sysclk-lwla/api.c
320 endif
321 if HW_TELEINFO
322 libsigrok_la_SOURCES += \
323         src/hardware/teleinfo/protocol.h \
324         src/hardware/teleinfo/protocol.c \
325         src/hardware/teleinfo/api.c
326 endif
327 if HW_TESTO
328 libsigrok_la_SOURCES += \
329         src/hardware/testo/protocol.h \
330         src/hardware/testo/protocol.c \
331         src/hardware/testo/api.c
332 endif
333 if HW_TONDAJ_SL_814
334 libsigrok_la_SOURCES += \
335         src/hardware/tondaj-sl-814/protocol.h \
336         src/hardware/tondaj-sl-814/protocol.c \
337         src/hardware/tondaj-sl-814/api.c
338 endif
339 if HW_UNI_T_DMM
340 libsigrok_la_SOURCES += \
341         src/hardware/uni-t-dmm/protocol.h \
342         src/hardware/uni-t-dmm/protocol.c \
343         src/hardware/uni-t-dmm/api.c
344 endif
345 if HW_UNI_T_UT32X
346 libsigrok_la_SOURCES += \
347         src/hardware/uni-t-ut32x/protocol.h \
348         src/hardware/uni-t-ut32x/protocol.c \
349         src/hardware/uni-t-ut32x/api.c
350 endif
351 if HW_VICTOR_DMM
352 libsigrok_la_SOURCES += \
353         src/hardware/victor-dmm/protocol.h \
354         src/hardware/victor-dmm/protocol.c \
355         src/hardware/victor-dmm/api.c
356 endif
357 if HW_YOKOGAWA_DLM
358 libsigrok_la_SOURCES += \
359         src/hardware/yokogawa-dlm/protocol.h \
360         src/hardware/yokogawa-dlm/protocol.c \
361         src/hardware/yokogawa-dlm/protocol_wrappers.h \
362         src/hardware/yokogawa-dlm/protocol_wrappers.c \
363         src/hardware/yokogawa-dlm/api.c
364 endif
365 if HW_ZEROPLUS_LOGIC_CUBE
366 libsigrok_la_SOURCES += \
367         src/hardware/zeroplus-logic-cube/analyzer.c \
368         src/hardware/zeroplus-logic-cube/analyzer.h \
369         src/hardware/zeroplus-logic-cube/gl_usb.h \
370         src/hardware/zeroplus-logic-cube/gl_usb.c \
371         src/hardware/zeroplus-logic-cube/protocol.h \
372         src/hardware/zeroplus-logic-cube/protocol.c \
373         src/hardware/zeroplus-logic-cube/api.c
374 endif
375
376 libsigrok_la_LIBADD = $(LIBOBJS)
377
378 libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS)
379
380 library_includedir = $(includedir)/libsigrok
381 library_include_HEADERS = \
382         include/libsigrok/libsigrok.h \
383         include/libsigrok/proto.h \
384         include/libsigrok/version.h
385 noinst_HEADERS = src/libsigrok-internal.h
386
387 pkgconfigdir = $(libdir)/pkgconfig
388 pkgconfig_DATA = libsigrok.pc
389
390 EXTRA_DIST = \
391         Doxyfile \
392         HACKING \
393         README.devices \
394         contrib/gnuplot_chronovu_la8.gpi \
395         contrib/gnuplot_rigol_ds1xx2.gpi \
396         contrib/gnuplot_usbeesx.gpi \
397         contrib/gnuplot_usbeedx8.gpi \
398         contrib/gnuplot_usbeedx16.gpi \
399         contrib/sigrok-logo-notext.png \
400         contrib/z60_libsigrok.rules
401
402 if HAVE_CHECK
403
404 TESTS = tests/check_main
405
406 check_PROGRAMS = ${TESTS}
407
408 tests_check_main_SOURCES = \
409         include/libsigrok/libsigrok.h \
410         tests/lib.c \
411         tests/lib.h \
412         tests/check_main.c \
413         tests/check_core.c \
414         tests/check_input_all.c \
415         tests/check_input_binary.c \
416         tests/check_output_all.c \
417         tests/check_session.c \
418         tests/check_strutil.c \
419         tests/check_version.c \
420         tests/check_driver_all.c \
421         tests/check_device.c
422
423 tests_check_main_CFLAGS = @check_CFLAGS@
424
425 tests_check_main_LDADD = $(top_builddir)/libsigrok.la @check_LIBS@
426
427 endif
428
429 BUILD_EXTRA =
430 INSTALL_EXTRA =
431 CLEAN_EXTRA =
432
433 if BINDINGS_CXX
434
435 lib_LTLIBRARIES += bindings/cxx/libsigrokxx.la
436
437 bindings_cxx_libsigrokxx_la_SOURCES = bindings/cxx/classes.cpp
438
439 bindings_cxx_libsigrokxx_la_LIBADD = libsigrok.la $(glibmm_LIBS)
440
441 bindings_cxx_libsigrokxx_la_LDFLAGS = $(SR_LIB_LDFLAGS)
442
443 library_include_HEADERS += \
444         bindings/cxx/include/libsigrok/libsigrok.hpp \
445         bindings/cxx/include/libsigrok/enums.hpp
446
447 pkgconfig_DATA += bindings/cxx/libsigrokxx.pc
448
449 doxy/xml/index.xml: include/libsigrok/libsigrok.h
450         $(AM_V_GEN)cd $(srcdir) && BUILDDIR=$(abs_builddir)/ doxygen Doxyfile 2>/dev/null
451
452 bindings/cxx/enums.cpp: bindings/cxx/enums.timestamp
453
454 bindings/cxx/include/libsigrok/enums.hpp: bindings/cxx/enums.timestamp
455
456 bindings/cxx/enums.timestamp: bindings/cxx/enums.py doxy/xml/index.xml \
457                 bindings/cxx/ConfigKey_methods.cpp bindings/cxx/QuantityFlag_methods.cpp
458         $(AM_V_GEN)$(PYTHON) $< doxy/xml/index.xml
459         $(AM_V_at)touch $@
460
461 bindings/cxx/classes.lo: bindings/cxx/classes.cpp bindings/cxx/enums.cpp \
462                 $(library_include_HEADERS)
463
464 cxx-clean:
465         rm -rf doxy/
466         rm -rf bindings/cxx/doxy/
467         rm -f bindings/cxx/enums.cpp
468         rm -f bindings/cxx/include/libsigrok/enums.hpp
469         rm -f bindings/cxx/enums.timestamp
470
471 CLEAN_EXTRA += cxx-clean
472
473 endif
474
475 CPPXMLDOC = bindings/cxx/doxy/xml/index.xml
476
477 $(CPPXMLDOC): bindings/cxx/include/libsigrok/libsigrok.hpp \
478                 bindings/cxx/enums.timestamp
479         $(AM_V_GEN)cd $(srcdir)/bindings/cxx && BUILDDIR=$(abs_builddir)/bindings/cxx/ doxygen Doxyfile 2>/dev/null
480
481 if BINDINGS_PYTHON
482
483 PDIR = bindings/python
484 PDOC = bindings/python/sigrok/core/doc.i
485
486 $(PDOC): bindings/swig/doc.py $(CPPXMLDOC)
487         $(AM_V_at)test -d $(PDIR)/sigrok/core || mkdir -p $(PDIR)/sigrok/core
488         $(AM_V_GEN)$(PYTHON) $< python $(CPPXMLDOC) > $@
489
490 python-build: $(PDIR)/timestamp
491
492 python-quietclean:
493         $(AM_V_at)cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet clean --all 3>&1 1>&2 2>&3 \
494                 | grep -v "can.t clean it"; true
495
496 $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
497                 bindings/swig/classes.i $(PDOC) $(library_include_HEADERS)
498         $(AM_V_at)$(MAKE) python-quietclean
499         $(AM_V_GEN)cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet build 3>&1 1>&2 2>&3 \
500                 | grep -v "command line option.*Wstrict-prototypes"; true
501         $(AM_V_at)touch $(PDIR)/timestamp
502
503 python-install:
504         cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix)
505
506 python-clean:
507         $(AM_V_at)$(MAKE) python-quietclean
508         $(AM_V_at)rm -f $(PDIR)/timestamp
509         $(AM_V_at)rm -rf $(PDIR)/doxy/
510
511 python-doc:
512         $(AM_V_at)cd $(srcdir)/$(PDIR) && BUILDDIR=$(abs_builddir)/$(PDIR)/ doxygen Doxyfile 2>/dev/null
513
514 BUILD_EXTRA += python-build
515 INSTALL_EXTRA += python-install
516 CLEAN_EXTRA += python-clean
517
518 endif
519
520 if BINDINGS_JAVA
521
522 JDIR = bindings/java
523 JPKG = org/sigrok/core
524 JCLS = $(JDIR)/$(JPKG)/classes
525 JINT = $(JDIR)/$(JPKG)/interfaces
526 JSRC = $(JCLS)/*.java $(srcdir)/$(JINT)/*.java
527 JSWG = $(JCLS)/classes.i
528 JDOC = $(JCLS)/doc.i
529 JCXX = $(JCLS)/classes_wrap.cxx
530 JLIB = $(JDIR)/libsigrok_java_core_classes.so
531 JJAR = $(JDIR)/sigrok-core.jar
532
533 java-build: $(JJAR) $(JLIB)
534
535 $(JDOC): bindings/swig/doc.py $(CPPXMLDOC)
536         $(AM_V_at)test -d $(JCLS) || mkdir -p $(JCLS)
537         $(AM_V_GEN)python $< java $(CPPXMLDOC) > $@
538
539 $(JCXX): $(JSWG) $(JDOC) bindings/swig/classes.i $(library_include_HEADERS)
540         $(AM_V_at)make java-clean
541         $(AM_V_GEN)swig -c++ -java -package org.sigrok.core.classes \
542                 -I$(srcdir)/include -I$(srcdir)/bindings/cxx/include -I$(srcdir) -I$(JCLS) -Ibindings/cxx/include -outdir $(JCLS) -o $@ $<
543
544 $(JJAR): $(JCXX)
545         $(AM_V_GEN)$(JAVAC) -sourcepath $(JDIR) -d $(JDIR) $(JSRC)
546         $(AM_V_at)jar cf $(JJAR) -C $(JDIR) $(JPKG)
547
548 $(JLIB): $(JCXX) bindings/cxx/libsigrokxx.la $(library_include_HEADERS)
549         $(AM_V_GEN)$(CXXCOMPILE) -L.libs -Lbindings/cxx/.libs \
550                 -fno-strict-aliasing -fPIC -shared $(JCLS)/classes_wrap.cxx \
551                 -lsigrokxx -o $(JLIB)
552
553 java-install:
554         $(INSTALL) -d $(libdir)/jni
555         $(INSTALL) $(JLIB) -t $(libdir)/jni
556         $(INSTALL) -d $(datadir)/java
557         $(INSTALL) $(JJAR) -t $(datadir)/java
558
559 java-clean:
560         $(AM_V_at)rm -f $(JCXX)
561         $(AM_V_at)rm -f $(JCLS)/*.java
562         $(AM_V_at)rm -f $(JCLS)/*.class
563         $(AM_V_at)rm -f $(JINT)/*.class
564         $(AM_V_at)rm -f $(JJAR)
565         $(AM_V_at)rm -f $(JLIB)
566         $(AM_V_at)rm -rf $(JDIR)/doxy/
567
568 java-doc:
569         $(AM_V_at)cd $(srcdir)/$(JDIR) && BUILDDIR=$(abs_builddir)/$(JDIR)/ doxygen Doxyfile 2>/dev/null
570
571 BUILD_EXTRA += java-build
572 INSTALL_EXTRA += java-install
573 CLEAN_EXTRA += java-clean
574
575 endif
576
577 all-local: $(BUILD_EXTRA)
578 install-exec-local: $(INSTALL_EXTRA)
579 clean-local: $(CLEAN_EXTRA)
580
581 MAINTAINERCLEANFILES = ChangeLog
582
583 .PHONY: ChangeLog
584 ChangeLog:
585         git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
586
587 dist-hook: ChangeLog
588