diff options
Diffstat (limited to 'programs/openac/Makefile')
-rw-r--r-- | programs/openac/Makefile | 162 |
1 files changed, 0 insertions, 162 deletions
diff --git a/programs/openac/Makefile b/programs/openac/Makefile deleted file mode 100644 index 98051f7bc..000000000 --- a/programs/openac/Makefile +++ /dev/null @@ -1,162 +0,0 @@ -# Makefile for the openac attribute certificate generation tool -# Copyright (C) 2004 Andreas Steffen -# Zuercher Hochschule Winterthur -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# RCSID $Id: Makefile,v 1.17 2007/02/21 14:19:45 as Exp $ - -FREESWANSRCDIR=../.. -include ${FREESWANSRCDIR}/Makefile.inc - -CONFDIR=$(DESTDIR)/etc/openac -PLUTODIR=../pluto - -PROGRAM=openac -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 - -# This compile option activates the leak detective -ifeq ($(USE_LEAK_DETECTIVE),true) - CFLAGS+= -DLEAK_DETECTIVE -endif - -X509_OBJS= ac.o asn1.o ca.o certs.o constants.o crl.o defs.o mp_defs.o fetch.o \ - id.o keys.o lex.o md2.o md5.o ocsp.o oid.o pem.o pgp.o pkcs1.o \ - rnd.o sha1.o sha2.o smartcard.o x509.o - -OBJS= build.o loglite.o ${X509_OBJS} - -include ../Makefile.program - -build.o : build.c build.h - $(CC) $(CFLAGS) -c -o $@ $< - -loglite.o : loglite.c $(PLUTODIR)/log.h - $(CC) $(CFLAGS) -c -o $@ $< - -# X.509 library - -ac.o : $(PLUTODIR)/ac.c $(PLUTODIR)/ac.h - $(CC) $(CFLAGS) -c -o $@ $< - -asn1.o : $(PLUTODIR)/asn1.c $(PLUTODIR)/asn1.h - $(CC) $(CFLAGS) -c -o $@ $< - -ca.o : $(PLUTODIR)/ca.c $(PLUTODIR)/ca.h - $(CC) $(CFLAGS) -c -o $@ $< - -certs.o : $(PLUTODIR)/certs.c $(PLUTODIR)/certs.h - $(CC) $(CFLAGS) -c -o $@ $< - -constants.o : $(PLUTODIR)/constants.c $(PLUTODIR)/constants.h - $(CC) $(CFLAGS) -c -o $@ $< - -crl.o : $(PLUTODIR)/crl.c $(PLUTODIR)/crl.h - $(CC) $(CFLAGS) -c -o $@ $< - -defs.o : $(PLUTODIR)/defs.c $(PLUTODIR)/defs.h - $(CC) $(CFLAGS) -c -o $@ $< - -mp_defs.o : $(PLUTODIR)/mp_defs.c $(PLUTODIR)/mp_defs.h - $(CC) $(CFLAGS) -c -o $@ $< - -fetch.o : $(PLUTODIR)/fetch.c $(PLUTODIR)/fetch.h - $(CC) $(CFLAGS) -c -o $@ $< - -id.o : $(PLUTODIR)/id.c $(PLUTODIR)/id.h - $(CC) $(CFLAGS) -c -o $@ $< - -keys.o : $(PLUTODIR)/keys.c $(PLUTODIR)/keys.h - $(CC) $(CFLAGS) -c -o $@ $< - -lex.o : $(PLUTODIR)/lex.c $(PLUTODIR)/lex.h - $(CC) $(CFLAGS) -c -o $@ $< - -md2.o : $(PLUTODIR)/md2.c $(PLUTODIR)/md2.h - $(CC) $(CFLAGS) -c -o $@ $< - -md5.o : $(PLUTODIR)/md5.c $(PLUTODIR)/md5.h - $(CC) $(CFLAGS) -c -o $@ $< - -ocsp.o : $(PLUTODIR)/ocsp.c $(PLUTODIR)/ocsp.h - $(CC) $(CFLAGS) -c -o $@ $< - -oid.o : $(PLUTODIR)/oid.c $(PLUTODIR)/oid.h - $(CC) $(CFLAGS) -c -o $@ $< - -pem.o : $(PLUTODIR)/pem.c $(PLUTODIR)/pem.h - $(CC) $(CFLAGS) -c -o $@ $< - -pgp.o : $(PLUTODIR)/pgp.c $(PLUTODIR)/pgp.h - $(CC) $(CFLAGS) -c -o $@ $< - -pkcs1.o : $(PLUTODIR)/pkcs1.c $(PLUTODIR)/pkcs1.h - $(CC) $(CFLAGS) -c -o $@ $< - -rnd.o : $(PLUTODIR)/rnd.c $(PLUTODIR)/rnd.h - $(CC) $(CFLAGS) -c -o $@ $< - -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 $@ $< - -x509.o : $(PLUTODIR)/x509.c $(PLUTODIR)/x509.h - $(CC) $(CFLAGS) -c -o $@ $< - -# Stolen from pluto/Makefile - -gatherdeps: - @ls | grep '\.c$$' | sed -e 's/\(.*\)\.c$$/\1.o: \1.c/' - @echo - @ls | grep '\.c$$' | xargs grep '^#[ ]*include[ ]*"' | \ - sed -e 's/\.c:#[ ]*include[ ]*"/.o: /' -e 's/".*//' - -# Dependencies generated by "make gatherdeps": - -build.o: build.c -loglite.o: loglite.c -openac.o: openac.c - -build.o: ../pluto/constants.h -build.o: ../pluto/defs.h -build.o: ../pluto/oid.h -build.o: ../pluto/asn1.h -build.o: ../pluto/x509.h -build.o: ../pluto/log.h -build.o: build.h -loglite.o: ../pluto/constants.h -loglite.o: ../pluto/defs.h -loglite.o: ../pluto/log.h -loglite.o: ../pluto/whack.h -openac.o: ../pluto/constants.h -openac.o: ../pluto/defs.h -openac.o: ../pluto/mp_defs.h -openac.o: ../pluto/log.h -openac.o: ../pluto/asn1.h -openac.o: ../pluto/certs.h -openac.o: ../pluto/x509.h -openac.o: ../pluto/crl.h -openac.o: ../pluto/keys.h -openac.o: ../pluto/ac.h -openac.o: build.h |