Tag the libraries with check_ to prevent them being installed by "make install". Additionally make check requires .so to be create which requires .lai files to be constructed which, in turn, requires -rpath <dir> as part of "linking" the .la file.
26 lines
394 B
Makefile
26 lines
394 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS)
|
|
|
|
check_LTLIBRARIES = sample.la
|
|
|
|
sample_la_SOURCES = \
|
|
db.c \
|
|
driver.c \
|
|
instance.c \
|
|
lock.c \
|
|
log.c \
|
|
syncptr.c \
|
|
zone.c \
|
|
db.h \
|
|
instance.h \
|
|
lock.h \
|
|
log.h \
|
|
syncptr.h \
|
|
util.h \
|
|
zone.h
|
|
|
|
sample_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|