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 \
25 ipsec_doi.c ipsec_doi.h \
28 kernel_alg.c kernel_alg.h \
29 kernel_netlink.c kernel_netlink.h \
30 kernel_noklips.c kernel_noklips.h \
31 kernel_pfkey.c kernel_pfkey.h \
36 nat_traversal.c nat_traversal.h \
43 rcv_whack.c rcv_whack.h \
45 smartcard.c smartcard.h \
53 alg/ike_alg_3des.c alg/ike_alg_aes.c \
54 alg/ike_alg_blowfish.c alg/ike_alg_twofish.c alg/ike_alg_serpent.c\
55 alg/ike_alg_md5_sha1.c alg/ike_alg_sha2.c \
56 alg/ike_alg_dh_groups.c \
57 rsaref/pkcs11t.h rsaref/pkcs11.h rsaref/unix.h rsaref/pkcs11f.h
59 _pluto_adns_SOURCES = adns.c adns.h
61 LIBSTRONGSWANDIR=$(top_builddir)/src/libstrongswan
62 LIBFREESWANDIR=$(top_builddir)/src/libfreeswan
66 -I$(top_srcdir)/src/libstrongswan \
67 -I$(top_srcdir)/src/libfreeswan \
68 -I$(top_srcdir)/src/whack
71 -DIPSEC_DIR=\"${ipsecdir}\" \
72 -DIPSEC_CONFDIR=\"${confdir}\" \
73 -DIPSEC_PIDDIR=\"${piddir}\" \
74 -DSHARED_SECRETS_FILE=\"${confdir}/ipsec.secrets\" \
75 -DIPSEC_PLUGINDIR=\"${plugindir}\" \
76 -DPLUGINS=\""${pluto_plugins}\"" \
77 -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
78 -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \
79 -DPLUTO -DKLIPS -DDEBUG
82 $(LIBSTRONGSWANDIR)/libstrongswan.la \
83 $(LIBFREESWANDIR)/libfreeswan.a \
84 -lresolv -lpthread $(DLLIB)
87 $(LIBFREESWANDIR)/libfreeswan.a \
90 dist_man_MANS = pluto.8 ipsec.secrets.5
92 # This compile option activates the sending of a strongSwan VID
94 AM_CFLAGS += -DVENDORID
97 # This compile option activates the sending of the XAUTH VID
99 AM_CFLAGS += -DXAUTH_VID
102 # This compile option activates the support of the Cisco VPN client
104 AM_CFLAGS += -DCISCO_QUIRKS
107 # This compile option activates NAT traversal with IPSec transport mode
109 AM_CFLAGS += -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT
112 # This compile option activates smartcard support
114 AM_CFLAGS += -DSMARTCARD
117 # This compile option activates the crypto self-test
119 AM_CFLAGS += -DSELF_TEST
127 AM_CFLAGS += -DTHREADS