fixed pluto/scepclient out-of-tree builds

This commit is contained in:
Martin Willi 2009-04-21 15:24:02 +00:00
parent 6554b5e412
commit c258a3b36a
2 changed files with 4 additions and 3 deletions

View File

@ -67,14 +67,14 @@ rsaref/pkcs11t.h rsaref/pkcs11.h rsaref/unix.h rsaref/pkcs11f.h
_pluto_adns_SOURCES = adns.c adns.h
LIBSTRONGSWANDIR=$(top_srcdir)/src/libstrongswan
LIBSTRONGSWANDIR=$(top_builddir)/src/libstrongswan
LIBFREESWANDIR=$(top_builddir)/src/libfreeswan
LIBCRYPTODIR=$(top_builddir)/src/libcrypto
INCLUDES = \
-I${linuxdir} \
-I$(LIBSTRONGSWANDIR)\
-I$(top_srcdir)/src/libstrongswan \
-I$(top_srcdir)/src/libfreeswan \
-I$(top_srcdir)/src/libcrypto \
-I$(top_srcdir)/src/whack

View File

@ -21,6 +21,7 @@ AM_CFLAGS = \
-DDEBUG -DNO_PLUTO \
-Wformat=0
LIBSTRONGSWANBUILDDIR=$(top_builddir)/src/libstrongswan
LIBFREESWANBUILDDIR=$(top_builddir)/src/libfreeswan
LIBCRYPTOBUILDDIR=$(top_builddir)/src/libcrypto
@ -28,7 +29,7 @@ scepclient_LDADD = \
ca.o crl.o certs.o constants.o defs.o fetch.o id.o keys.o lex.o library.o \
md2.o md5.o mp_defs.o ocsp.o pem.o pgp.o pkcs1.o pkcs7.o rnd.o sha1.o \
smartcard.o x509.o \
$(LIBSTRONGSWANDIR)/libstrongswan.la \
$(LIBSTRONGSWANBUILDDIR)/libstrongswan.la \
$(LIBFREESWANBUILDDIR)/libfreeswan.a \
$(LIBCRYPTOBUILDDIR)/libcrypto.a \
-lgmp