EXTRAFLAGS="$EXTRAFLAGS ${USERCOMPILE}"
EXTRAFLAGS="$EXTRAFLAGS -I${LIBRESWANSRCDIR}/programs/pluto"
EXTRAFLAGS="$EXTRAFLAGS -I${LIBRESWANSRCDIR}/include"
EXTRAFLAGS="$EXTRAFLAGS ${NSSFLAGS}"

EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/hostpair.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/virtual.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/rcv_whack.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/myid.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/foodgroups.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2_parent.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2_child.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2_crypto.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2_prfplus.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ikev2_x509.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ipsec_doi.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/state.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/msgdigest.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/hmac.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/plutoalg.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/db_ops.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/crypt_utils.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/cookie.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/demux.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/spdb.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/spdb_struct.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/spdb_v2_struct.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/crypto.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ike_alg.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ike_alg_twofish.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ike_alg_serpent.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ike_alg_aes.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/ike_alg_sha2.o"
EXTRALIBS="${EXTRALIBS} ${OBJDIRTOP}/programs/pluto/vendor.o"
EXTRALIBS="${EXTRALIBS} ${PLUTOLIB} ${CRYPTOLIBS} ${WHACKLIB}"
EXTRALIBS="${EXTRALIBS} ${LIBDESLITE} ${LIBAES} ${LIBTWOFISH} ${LIBSERPENT}"
EXTRALIBS="${EXTRALIBS} ${LIBSHA2}"
EXTRALIBS="${EXTRALIBS} ${LSWLOGLIB} ${LIBRESWANLIB} ${LSWLOGLIB}"
EXTRALIBS="${EXTRALIBS} -lgmp -lefence -lpcap"
EXTRALIBS="${EXTRALIBS} ${NSSLIBS}"

UNITTESTARGS="../lib-parentR1/ikev2.record westnet--eastnet-ikev2 ../lib-parentR1/parentI1.pcap"
