Use of subdir-objects libtool option.

This commit is contained in:
Franck Joncourt 2014-12-29 13:25:01 +01:00
parent 750fd97bda
commit cb13d84d48
2 changed files with 30 additions and 24 deletions

View File

@ -21,7 +21,7 @@ AC_CONFIG_AUX_DIR(config)
AC_CANONICAL_TARGET AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE([subdir-objects])
dnl AM_MAINTAINER_MODE dnl AM_MAINTAINER_MODE

View File

@ -1,33 +1,39 @@
bin_PROGRAMS = fwknop_utests fwknopd_utests bin_PROGRAMS = fwknop_utests fwknopd_utests
fwknop_utests_SOURCES = fwknop_utests.c fwknop_common.h \ fwknop_utests_SOURCES = fwknop_utests.c \
$(top_srcdir)/client/config_init.c config_init.h \ ../../client/config_init.c \
$(top_srcdir)/client/spa_comm.c spa_comm.h \ ../../client/spa_comm.c \
$(top_srcdir)/client/utils.c utils.h \ ../../client/utils.c \
$(top_srcdir)/client/http_resolve_host.c \ ../../client/http_resolve_host.c \
$(top_srcdir)/client/getpasswd.c getpasswd.h cmd_opts.h \ ../../client/getpasswd.c \
$(top_srcdir)/client/log_msg.c log_msg.h ../../client/log_msg.c
fwknop_utests_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/common -I $(top_srcdir)/client fwknop_utests_CPPFLAGS = -I ../../lib -I ../../common -I ../../client
fwknop_utests_LDADD = $(top_builddir)/lib/libfko.la $(top_builddir)/common/libfko_util.a fwknop_utests_LDADD = ../../lib/libfko.la ../../common/libfko_util.a
fwknop_utests_LDFLAGS = -lcunit fwknop_utests_LDFLAGS = -lcunit
fwknopd_utests_SOURCES = fwknopd_utests.c fwknopd.h $(top_srcdir)/server/config_init.c config_init.h \ fwknopd_utests_SOURCES = fwknopd_utests.c \
fwknopd_common.h $(top_srcdir)/server/incoming_spa.c incoming_spa.h \ ../../server/config_init.c \
$(top_srcdir)/server/pcap_capture.c pcap_capture.h $(top_srcdir)/server/process_packet.c \ ../../server/incoming_spa.c \
process_packet.h $(top_srcdir)/server/log_msg.c log_msg.h $(top_srcdir)/server/utils.c utils.h \ ../../server/pcap_capture.c \
$(top_srcdir)/server/sig_handler.c sig_handler.h $(top_srcdir)/server/replay_cache.c replay_cache.h \ ../../server/process_packet.c \
$(top_srcdir)/server/access.c access.h $(top_srcdir)/server/fwknopd_errors.c fwknopd_errors.h \ ../../server/log_msg.c \
$(top_srcdir)/server/tcp_server.c tcp_server.h $(top_srcdir)/server/extcmd.c extcmd.h \ ../../server/utils.c \
$(top_srcdir)/server/fw_util.c fw_util.h $(top_srcdir)/server/fw_util_ipf.c fw_util_ipf.h \ ../../server/sig_handler.c \
$(top_srcdir)/server/fw_util_iptables.c fw_util_iptables.h \ ../../server/replay_cache.c \
$(top_srcdir)/server/fw_util_ipfw.c fw_util_ipfw.h \ ../../server/access.c\
$(top_srcdir)/server/fw_util_pf.c fw_util_pf.h cmd_opts.h \ ../../server/fwknopd_errors.c \
common.h ../../server/tcp_server.c \
../../server/extcmd.c \
../../server/fw_util.c \
../../server/fw_util_ipf.c \
../../server/fw_util_iptables.c \
../../server/fw_util_ipfw.c \
../../server/fw_util_pf.c
fwknopd_utests_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/common -I $(top_srcdir)/server -DSYSCONFDIR=\"$(sysconfdir)\" -DSYSRUNDIR=\"$(localstatedir)\" fwknopd_utests_CPPFLAGS = -I ../../lib -I ../../common -I ../../server -DSYSCONFDIR=\"$(sysconfdir)\" -DSYSRUNDIR=\"$(localstatedir)\"
fwknopd_utests_LDADD = $(top_builddir)/lib/libfko.la $(top_builddir)/common/libfko_util.a fwknopd_utests_LDADD = $(top_builddir)/lib/libfko.la $(top_builddir)/common/libfko_util.a