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 \
52 rsaref/pkcs11t.h rsaref/pkcs11.h rsaref/unix.h rsaref/pkcs11f.h
54 _pluto_adns_SOURCES = adns.c adns.h
56 LIBSTRONGSWANDIR=$(top_builddir)/src/libstrongswan
57 LIBFREESWANDIR=$(top_builddir)/src/libfreeswan
61 -I$(top_srcdir)/src/libstrongswan \
62 -I$(top_srcdir)/src/libfreeswan \
63 -I$(top_srcdir)/src/whack
66 -DIPSEC_DIR=\"${ipsecdir}\" \
67 -DIPSEC_CONFDIR=\"${sysconfdir}\" \
68 -DIPSEC_PIDDIR=\"${piddir}\" \
69 -DSHARED_SECRETS_FILE=\"${sysconfdir}/ipsec.secrets\" \
70 -DPLUGINS=\""${pluto_plugins}\"" \
71 -DPKCS11_DEFAULT_LIB=\"${default_pkcs11}\" \
72 -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \
73 -DPLUTO -DKLIPS -DDEBUG
76 $(LIBSTRONGSWANDIR)/libstrongswan.la \
77 $(LIBFREESWANDIR)/libfreeswan.a \
78 -lresolv $(PTHREADLIB) $(DLLIB)
81 $(LIBFREESWANDIR)/libfreeswan.a \
84 dist_man_MANS = pluto.8 ipsec.secrets.5
86 # This compile option activates the sending of a strongSwan VID
88 AM_CFLAGS += -DVENDORID
91 # This compile option activates the sending of the XAUTH VID
93 AM_CFLAGS += -DXAUTH_VID
96 # This compile option activates the support of the Cisco VPN client
98 AM_CFLAGS += -DCISCO_QUIRKS
101 # This compile option activates NAT traversal with IPSec transport mode
103 AM_CFLAGS += -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT
106 # This compile option activates smartcard support
108 AM_CFLAGS += -DSMARTCARD
116 AM_CFLAGS += -DTHREADS