mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-12-20 00:55:29 +08:00
Using check_PROGRAMS would postpone compiling the binaries needed by system tests until `make check` would be called. Since it's preferable to invoke pytest directly to run the system test suite, compile these binaries without installing them during `make all` instead by using noinst_PROGRAMS. This removes the need to use TESTS= make -e check hack invoked from pytest to work around this issue.
24 lines
373 B
Makefile
24 lines
373 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = sample.la
|
|
|
|
sample_la_SOURCES = \
|
|
db.c \
|
|
driver.c \
|
|
instance.c \
|
|
log.c \
|
|
syncptr.c \
|
|
zone.c \
|
|
db.h \
|
|
instance.h \
|
|
log.h \
|
|
syncptr.h \
|
|
util.h \
|
|
zone.h
|
|
|
|
sample_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|