summaryrefslogtreecommitdiff
path: root/programs/scepclient
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-02-22 20:26:30 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-02-22 20:26:30 +0000
commitc54a140a445bfe7aa66721f68bb0781f26add91c (patch)
treef0c377d556ca1ac780bd5e2f2149c7ec40e1d8d3 /programs/scepclient
parent64081ed57a64812a1e09b5a749a6a105389a79ca (diff)
downloadvyos-strongswan-c54a140a445bfe7aa66721f68bb0781f26add91c.tar.gz
vyos-strongswan-c54a140a445bfe7aa66721f68bb0781f26add91c.zip
- Update to new upstream release.
Diffstat (limited to 'programs/scepclient')
-rw-r--r--programs/scepclient/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/programs/scepclient/Makefile b/programs/scepclient/Makefile
index dec36c888..d42320236 100644
--- a/programs/scepclient/Makefile
+++ b/programs/scepclient/Makefile
@@ -22,6 +22,11 @@ OPENACDIR=../openac
PROGRAM=scepclient
EXTRA8PROC=${PROGRAM}.8
+# where to find sha2.h
+LIBCRYPTO=$(FREESWANSRCDIR)/lib/libcrypto
+LIBSHA2=$(LIBCRYPTO)/libsha2
+CFLAGS+= -I$(LIBCRYPTO)
+
LIBS=${FREESWANLIB} $(LIBDESLITE) -lgmp
CFLAGS+= -DDEBUG -DNO_PLUTO
@@ -38,7 +43,7 @@ endif
X509_OBJS= asn1.o ca.o certs.o constants.o crl.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
+ rnd.o sha1.o sha2.o smartcard.o x509.o
OBJS= rsakey.o pkcs10.o loglite.o scep.o ${X509_OBJS}
@@ -121,6 +126,9 @@ rnd.o : $(PLUTODIR)/rnd.c $(PLUTODIR)/rnd.h
sha1.o : $(PLUTODIR)/sha1.c $(PLUTODIR)/sha1.h
$(CC) $(CFLAGS) -c -o $@ $<
+sha2.o : $(LIBSHA2)/sha2.c $(LIBSHA2)/sha2.h
+ $(CC) $(CFLAGS) -c -o $@ $<
+
smartcard.o : $(PLUTODIR)/smartcard.c $(PLUTODIR)/smartcard.h
$(CC) $(CFLAGS) -c -o $@ $<