1 # Makefile.am was ported from the old Makefile the most
2 # painless way. Only the most important options are included,
3 # further work may be necessary here...
5 ipsec_PROGRAMS = pluto _pluto_adns
9 alg_info.c alg_info.h \
12 connections.c connections.h \
13 constants.c constants.h \
22 foodgroups.c foodgroups.h \
24 ipsec_doi.c ipsec_doi.h \
27 kernel_alg.c kernel_alg.h \
28 kernel_netlink.c kernel_netlink.h \
29 kernel_noklips.c kernel_noklips.h \
30 kernel_pfkey.c kernel_pfkey.h \
36 nat_traversal.c nat_traversal.h \
41 rcv_whack.c rcv_whack.h \
43 smartcard.c smartcard.h \
49 whack_attribute.c whack_attribute.h \
53 rsaref/pkcs11t.h rsaref/pkcs11.h rsaref/unix.h rsaref/pkcs11f.h
55 _pluto_adns_SOURCES = adns.c adns.h
57 LIBSTRONGSWANDIR=$(top_builddir)/src/libstrongswan
58 LIBFREESWANDIR=$(top_builddir)/src/libfreeswan
59 LIBHYDRADIR=$(top_builddir)/src/libhydra
63 -I$(top_srcdir)/src/libstrongswan \
64 -I$(top_srcdir)/src/libfreeswan \
65 -I$(top_srcdir)/src/libhydra \
66 -I$(top_srcdir)/src/whack
69 -DIPSEC_DIR=\"${ipsecdir}\" \
70 -DIPSEC_CONFDIR=\"${sysconfdir}\" \
71 -DIPSEC_PIDDIR=\"${piddir}\" \
72 -DSHARED_SECRETS_FILE=\"${sysconfdir}/ipsec.secrets\" \
73 -DPLUGINS=\""${pluto_plugins}\"" \
74 -DPKCS11_DEFAULT_LIB=\"${default_pkcs11}\" \
75 -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \
76 -DPLUTO -DKLIPS -DDEBUG
79 $(LIBSTRONGSWANDIR)/libstrongswan.la \
80 $(LIBFREESWANDIR)/libfreeswan.a \
81 $(LIBHYDRADIR)/libhydra.la \
82 -lresolv $(PTHREADLIB) $(DLLIB)
85 $(LIBFREESWANDIR)/libfreeswan.a \
88 dist_man_MANS = pluto.8 ipsec.secrets.5
90 # This compile option activates the sending of a strongSwan VID
92 AM_CFLAGS += -DVENDORID
95 # This compile option activates the sending of the XAUTH VID
97 AM_CFLAGS += -DXAUTH_VID
100 # This compile option activates the support of the Cisco VPN client
102 AM_CFLAGS += -DCISCO_QUIRKS
105 # This compile option activates NAT traversal with IPSec transport mode
107 AM_CFLAGS += -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT
110 # This compile option activates smartcard support
112 AM_CFLAGS += -DSMARTCARD
120 AM_CFLAGS += -DTHREADS