strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed memleaks when using EAP authentication
[strongswan.git]
/
src
/
scepclient
/
Makefile.am
diff --git
a/src/scepclient/Makefile.am
b/src/scepclient/Makefile.am
index
0031b03
..
a4de3bc
100644
(file)
--- 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
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 \
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,16
@@
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
$(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
+endif
+
dist_man_MANS = scepclient.8
PLUTODIR=$(top_srcdir)/src/pluto
dist_man_MANS = scepclient.8
PLUTODIR=$(top_srcdir)/src/pluto
@@
-86,8
+101,3
@@
smartcard.o : $(PLUTODIR)/smartcard.c $(PLUTODIR)/smartcard.h
x509.o : $(PLUTODIR)/x509.c $(PLUTODIR)/x509.h
$(COMPILE) $(INCLUDES) -c -o $@ $<
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