X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=blobdiff_plain;f=src%2Fscepclient%2FMakefile.am;h=a4de3bc58d2e5d1b5521a414c27d050b248a6053;hp=079e25a3575e8f26132831e2761942f9a9009c7a;hb=0cdec3baa5bf46a71f3ca8b511b5e628275e491a;hpb=7626bef673a10b774db65c76e09d6c1f7056be83 diff --git a/src/scepclient/Makefile.am b/src/scepclient/Makefile.am index 079e25a..a4de3bc 100644 --- a/src/scepclient/Makefile.am +++ b/src/scepclient/Makefile.am @@ -1,7 +1,12 @@ ipsec_PROGRAMS = scepclient scepclient_SOURCES = rsakey.c rsakey.h pkcs10.c pkcs10.h scep.c scep.h scepclient.c -INCLUDES = -I$(top_srcdir)/src/libfreeswan -I$(top_srcdir)/src/pluto -I$(top_srcdir)/src/whack -I$(top_srcdir)/src/libcrypto +INCLUDES = \ +-I$(top_srcdir)/src/libfreeswan \ +-I$(top_srcdir)/src/pluto \ +-I$(top_srcdir)/src/whack \ +-I$(top_srcdir)/src/libcrypto + AM_CFLAGS = -DDEBUG -DNO_PLUTO -DIPSEC_CONFDIR=\"${confdir}\" 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 \ @@ -9,6 +14,11 @@ scepclient_LDADD = asn1.o ca.o crl.o certs.o constants.o defs.o fetch.o id.o \ $(top_srcdir)/src/libfreeswan/libfreeswan.a $(top_srcdir)/src/libcrypto/libcrypto.a \ -lgmp +# This compile option activates dynamic URL fetching using libcurl +if USE_LIBCURL + scepclient_LDADD += -lcurl +endif + # This compile option activates smartcard support if USE_SMARTCARD scepclient_LDADD += -ldl @@ -91,8 +101,3 @@ smartcard.o : $(PLUTODIR)/smartcard.c $(PLUTODIR)/smartcard.h x509.o : $(PLUTODIR)/x509.c $(PLUTODIR)/x509.h $(COMPILE) $(INCLUDES) -c -o $@ $< - -# This compile option activates dynamic URL fetching using libcurl -if USE_LIBCURL - scepclient_LDADD += -lcurl -endif