diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-02-22 20:19:04 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-02-22 20:19:04 +0000 |
commit | ea939d07c84d2a8e51215458063fc05e9c399290 (patch) | |
tree | 1c2a002f6797c36fd0cc6bf151d696fd262ea95c /programs/scepclient | |
parent | aaa0331ecf95ced1e913ac9be50168cf0e7cbb82 (diff) | |
download | vyos-strongswan-ea939d07c84d2a8e51215458063fc05e9c399290.tar.gz vyos-strongswan-ea939d07c84d2a8e51215458063fc05e9c399290.zip |
[svn-upgrade] Integrating new upstream version, strongswan (2.8.3)
Diffstat (limited to 'programs/scepclient')
-rw-r--r-- | programs/scepclient/Makefile | 10 |
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 $@ $< |