X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=keyanalyze%2FMakefile;fp=keyanalyze%2FMakefile;h=ec4683b9fbd70a792bb331267fea02d064ad56f6;hb=e69aea6f5797cb54f3748b983ffc977958f347cc;hp=0000000000000000000000000000000000000000;hpb=6b7cb7ca3a817c2e0510957115a2d1f1bed5c549;p=pgp-tools.git diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile new file mode 100644 index 0000000..ec4683b --- /dev/null +++ b/keyanalyze/Makefile @@ -0,0 +1,21 @@ +LDLIBS=-lpthread +CFLAGS=-O2 -W -Wall -g + +all: keyanalyze process_keys pgpring/pgpring + +keyanalyze: keyanalyze.o +process_keys: process_keys.o + +pgpring/pgpring: + cd pgpring && CFLAGS="${CFLAGS}" ./configure && make pgpring + +install: + install pgpring/pgpring $(DESTDIR)/usr/bin + install keyanalyze $(DESTDIR)/usr/bin + install process_keys $(DESTDIR)/usr/bin + +clean: + -(cd pgpring && make distclean) + -rm -f *.o core *~ keyanalyze process_keys + -rm -f test.pre preprocess.keys keyanalyze.out all.keys + -rm -rf output