From 94c0fdb0e15b1309ab3de81de8da5d7ca3912ca4 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 14 Feb 2020 11:42:26 +0100 Subject: Add print-libgphoto2-version program The new print-libgphoto2-version program prints the complete libgphoto2 version message in both short and verbose. This functionality had not been available before, and we want it for checking later changes to the camlib list part of the version messages. --- tests/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index bc8512e3c..8e2ef92fe 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,6 +34,17 @@ test_endian_LDADD = \ $(LIBEXIF_LIBS) \ $(INTLLIBS) + +noinst_PROGRAMS += print-libgphoto2-version +print_libgphoto2_version_SOURCE = print-libgphoto2-version.c +print_libgphoto2_version_LDADD = +print_libgphoto2_version_LDADD += $(top_builddir)/libgphoto2/libgphoto2.la +print_libgphoto2_version_LDADD += $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la +print_libgphoto2_version_LDADD += $(LIBLTDL) +print_libgphoto2_version_LDADD += $(LIBEXIF_LIBS) +print_libgphoto2_version_LDADD += $(INTLLIBS) + + noinst_PROGRAMS += test-gphoto2 test_gphoto2_SOURCE = test-gphoto2.c test_gphoto2_LDADD = \ -- cgit v1.2.1