fixed out-of-tree build of scepclient
authorMartin Willi <martin@strongswan.org>
Mon, 8 Dec 2008 16:00:33 +0000 (16:00 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 8 Dec 2008 16:00:33 +0000 (16:00 -0000)
src/scepclient/Makefile.am

index 57b20df..86220d7 100644 (file)
@@ -17,10 +17,13 @@ INCLUDES = \
 
 AM_CFLAGS = -DDEBUG -DNO_PLUTO -DIPSEC_CONFDIR=\"${confdir}\"
 
+LIBFREESWANBUILDDIR=$(top_builddir)/src/libfreeswan
+LIBCRYPTOBUILDDIR=$(top_builddir)/src/libcrypto
+
 scepclient_LDADD = asn1.o ca.o crl.o certs.o constants.o defs.o fetch.o id.o \
                    keys.o lex.o md2.o md5.o mp_defs.o ocsp.o oid.o pem.o pgp.o \
                    pkcs1.o pkcs7.o rnd.o sha1.o smartcard.o x509.o \
-                   $(LIBFREESWANDIR)/libfreeswan.a $(LIBCRYPTODIR)/libcrypto.a \
+                   $(LIBFREESWANBUILDDIR)/libfreeswan.a $(LIBCRYPTOBUILDDIR)/libcrypto.a \
                    -lgmp
 
 # This compile option activates smartcard support