Any TESTS definition causes "make check" to run a test suite, even if no tests are actually defined. So we remove the empty TESTS= from examples/Makefile.am, and keep on using the TESTS in the tests/Makefile.am file.
42 lines
1.5 KiB
Makefile
42 lines
1.5 KiB
Makefile
EXTRA_DIST = README
|
|
EXTRA_PROGRAMS =
|
|
check_PROGRAMS =
|
|
check_SCRIPTS =
|
|
noinst_PROGRAMS =
|
|
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/libgphoto2_port -I$(top_srcdir)/libgphoto2 -I$(top_builddir)/libgphoto2
|
|
|
|
CLEANFILES = $(check_SCRIPTS)
|
|
|
|
|
|
noinst_PROGRAMS += \
|
|
sample-autodetect sample-multi-detect \
|
|
lunkwill-canon-capture \
|
|
sample-owner \
|
|
sample-photobooth \
|
|
sample-preview \
|
|
sample-tether \
|
|
sample-afl \
|
|
best-iso \
|
|
sample-capture sample-trigger-capture sample-justfocus
|
|
|
|
sample_afl_SOURCES = sample-afl.c samples.h context.c autodetect.c
|
|
sample_autodetect_SOURCES = sample-autodetect.c samples.h context.c config.c
|
|
sample_owner_SOURCES = sample-owner.c samples.h context.c config.c
|
|
sample_multi_detect_SOURCES = sample-multi-detect.c samples.h autodetect.c context.c config.c
|
|
lunkwill_canon_capture_SOURCES = lunkwill-canon-capture.c context.c samples.h config.c
|
|
sample_capture_SOURCES = sample-capture.c context.c samples.h config.c focus.c
|
|
sample_trigger_capture_SOURCES = sample-trigger-capture.c context.c samples.h config.c
|
|
sample_photobooth_SOURCES = sample-photobooth.c samples.h context.c config.c
|
|
sample_preview_SOURCES = preview.c samples.h context.c config.c focus.c
|
|
sample_tether_SOURCES = samples.h sample-tether.c context.c config.c
|
|
best_iso_SOURCES = best-iso.c
|
|
sample_justfocus_SOURCES = samples.h sample-justfocus.c context.c focus.c
|
|
|
|
LDADD = $(top_builddir)/libgphoto2/libgphoto2.la \
|
|
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
|
$(LIBLTDL) \
|
|
$(LIBEXIF_LIBS) \
|
|
$(INTLLIBS)
|