1 LOCAL_PATH
:= $(call my-dir
)
4 # copy-n-paste from Makefile.am
7 alg_info.c alg_info.h \
10 connections.c connections.h \
11 constants.c constants.h \
19 event_queue.c event_queue.h \
21 foodgroups.c foodgroups.h \
23 ipsec_doi.c ipsec_doi.h \
26 kernel_alg.c kernel_alg.h \
27 kernel_pfkey.c kernel_pfkey.h \
33 nat_traversal.c nat_traversal.h \
39 rcv_whack.c rcv_whack.h \
41 smartcard.c smartcard.h \
47 whack_attribute.c whack_attribute.h \
48 xauth
/xauth_manager.c xauth
/xauth_manager.h \
49 xauth
/xauth_provider.h xauth
/xauth_verifier.h \
52 rsaref
/pkcs11t.h rsaref
/pkcs11.h rsaref
/unix.h rsaref
/pkcs11f.h
54 LOCAL_SRC_FILES
+= $(call add_plugin
, xauth
)
56 # build pluto ------------------------------------------------------------------
60 $(strongswan_PATH
)/src
/libhydra \
61 $(strongswan_PATH
)/src
/libstrongswan \
62 $(strongswan_PATH
)/src
/libfreeswan \
63 $(strongswan_PATH
)/src
/whack
65 LOCAL_CFLAGS
:= $(strongswan_CFLAGS
) \
66 -DPLUTO
-DVENDORID
-DXAUTH_VID
-DCISCO_QUIRKS \
67 -DTHREADS
-DKERNEL26_SUPPORT
-DKERNEL26_HAS_KAME_DUPLICATES \
68 -DPLUGINS
='"$(strongswan_PLUTO_PLUGINS)"'
74 LOCAL_PRELINK_MODULE
:= false
76 LOCAL_SHARED_LIBRARIES
+= libstrongswan libhydra libfreeswan
78 include $(BUILD_EXECUTABLE
)