2009-06-19 09:42:54 +00:00
|
|
|
ipsec_LTLIBRARIES = libchecksum.la
|
|
|
|
noinst_PROGRAMS = checksum_builder
|
|
|
|
|
2009-07-16 14:50:55 +00:00
|
|
|
nodist_libchecksum_la_SOURCES = checksum.c
|
2009-08-10 23:06:45 +00:00
|
|
|
libchecksum_la_LDFLAGS = -module -avoid-version
|
2009-06-19 09:42:54 +00:00
|
|
|
|
|
|
|
checksum_builder_SOURCES = checksum_builder.c
|
2010-03-24 16:54:07 +00:00
|
|
|
checksum_builder_LDADD = \
|
|
|
|
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
2010-03-24 16:46:56 +00:00
|
|
|
$(top_builddir)/src/libhydra/libhydra.la \
|
2010-03-24 16:54:07 +00:00
|
|
|
$(top_builddir)/src/libcharon/libcharon.la \
|
|
|
|
$(DLLIB)
|
2009-06-19 09:42:54 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = checksum.c
|
2009-07-16 14:50:55 +00:00
|
|
|
CLEANFILES = checksum.c
|
2009-06-19 09:42:54 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
2010-08-12 14:07:24 +00:00
|
|
|
AM_CFLAGS = -rdynamic \
|
|
|
|
-DS_PLUGINS=\""${s_plugins}\"" -DS_PATH=\""${top_builddir}/src/libstrongswan/plugins\"" \
|
|
|
|
-DH_PLUGINS=\""${h_plugins}\"" -DH_PATH=\""${top_builddir}/src/libhydra/plugins\"" \
|
|
|
|
-DP_PLUGINS=\""${p_plugins}\"" -DP_PATH=\""${top_builddir}/src/pluto/plugins\"" \
|
|
|
|
-DC_PLUGINS=\""${c_plugins}\"" -DC_PATH=\""${top_builddir}/src/libcharon/plugins\""
|
2009-06-19 09:42:54 +00:00
|
|
|
|
2010-08-12 14:07:24 +00:00
|
|
|
libs = $(top_builddir)/src/libstrongswan/.libs/libstrongswan.so
|
2009-06-22 14:37:28 +00:00
|
|
|
|
2010-03-24 10:00:11 +00:00
|
|
|
if USE_LIBHYDRA
|
|
|
|
libs += $(top_builddir)/src/libhydra/.libs/libhydra.so
|
|
|
|
endif
|
|
|
|
|
2009-06-22 14:37:28 +00:00
|
|
|
if USE_CHARON
|
2010-03-12 16:20:36 +00:00
|
|
|
libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
|
2009-06-22 14:37:28 +00:00
|
|
|
libs += $(top_builddir)/src/charon/.libs/charon
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_PLUTO
|
|
|
|
libs += $(top_builddir)/src/pluto/.libs/pluto
|
|
|
|
endif
|
2009-06-19 09:52:51 +00:00
|
|
|
|
2009-08-17 12:25:18 +00:00
|
|
|
if USE_TOOLS
|
|
|
|
libs += $(top_builddir)/src/openac/.libs/openac
|
2009-08-26 16:27:04 +00:00
|
|
|
libs += $(top_builddir)/src/pki/.libs/pki
|
2009-08-17 12:25:18 +00:00
|
|
|
libs += $(top_builddir)/src/scepclient/.libs/scepclient
|
|
|
|
endif
|
|
|
|
|
2009-10-13 15:02:29 +00:00
|
|
|
if USE_ATTR_SQL
|
2010-03-24 10:00:11 +00:00
|
|
|
libs += $(top_builddir)/src/libhydra/plugins/attr_sql/.libs/pool
|
2009-08-17 13:46:56 +00:00
|
|
|
endif
|
|
|
|
|
2009-06-19 09:52:51 +00:00
|
|
|
checksum.c : checksum_builder $(libs)
|
|
|
|
./checksum_builder $(libs) > checksum.c
|