diff options
Diffstat (limited to 'src/pluto/Makefile.am')
-rw-r--r-- | src/pluto/Makefile.am | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/pluto/Makefile.am b/src/pluto/Makefile.am index f788bc3d1..d3e7ddc89 100644 --- a/src/pluto/Makefile.am +++ b/src/pluto/Makefile.am @@ -84,11 +84,12 @@ AM_CFLAGS = \ -DIPSEC_CONFDIR=\"${confdir}\" \ -DIPSEC_PIDDIR=\"${piddir}\" \ -DSHARED_SECRETS_FILE=\"${confdir}/ipsec.secrets\" \ +-DSTRONGSWAN_CONF=\"${strongswan_conf}\" \ -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \ -DPLUTO -DKLIPS -DDEBUG pluto_LDADD = \ -oid.o \ +oid.o debug.o linked_list.o enumerator.o settings.o \ $(LIBFREESWANDIR)/libfreeswan.a \ $(LIBCRYPTODIR)/libcrypto.a \ -lgmp -lresolv -lpthread -ldl @@ -99,9 +100,22 @@ $(LIBFREESWANDIR)/libfreeswan.a \ dist_man_MANS = pluto.8 ipsec.secrets.5 +# Copy functions from libstrongswan oid.o : $(LIBSTRONGSWANDIR)/asn1/oid.c $(LIBSTRONGSWANDIR)/asn1/oid.h $(COMPILE) -c -o $@ $< +debug.o : $(LIBSTRONGSWANDIR)/debug.c $(LIBSTRONGSWANDIR)/debug.h + $(COMPILE) -c -o $@ $< + +linked_list.o : $(LIBSTRONGSWANDIR)/utils/linked_list.c $(LIBSTRONGSWANDIR)/utils/linked_list.h + $(COMPILE) -c -o $@ $< + +enumerator.o : $(LIBSTRONGSWANDIR)/utils/enumerator.c $(LIBSTRONGSWANDIR)/utils/enumerator.h + $(COMPILE) -c -o $@ $< + +settings.o : $(LIBSTRONGSWANDIR)/settings.c $(LIBSTRONGSWANDIR)/settings.h + $(COMPILE) -c -o $@ $< + # This compile option activates the sending of a strongSwan VID if USE_VENDORID AM_CFLAGS += -DVENDORID |