aboutsummaryrefslogtreecommitdiff
path: root/utils/print_manifest/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-07-03 15:43:38 +0000
committerRob Austein <sra@hactrn.net>2008-07-03 15:43:38 +0000
commit91e7699c9e68dfc6d980a2c599159755a20f3f76 (patch)
tree4ec503c675dda1470f16dc5e2f7af584dedbc635 /utils/print_manifest/Makefile
parent195bc15b0a02da2af0a7ef67d1a9030f6c99e90c (diff)
Reorganize
svn path=/utils/Makefile; revision=1968
Diffstat (limited to 'utils/print_manifest/Makefile')
-rw-r--r--utils/print_manifest/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/utils/print_manifest/Makefile b/utils/print_manifest/Makefile
new file mode 100644
index 00000000..17b0667a
--- /dev/null
+++ b/utils/print_manifest/Makefile
@@ -0,0 +1,27 @@
+# $Id$
+
+OPENSSL_DIR = ../../openssl/openssl
+
+CFLAGS = -g -I${OPENSSL_DIR}/include
+
+# -H -Wl,-t
+
+NAME = print_manifest
+
+BIN = ${NAME}
+OBJ = ${NAME}.o
+LIB = ${OPENSSL_DIR}/libcrypto.a
+
+all: ${BIN}
+
+clean:
+ rm -f ${BIN} ${OBJ}
+
+${BIN}: ${OBJ} ${LIB} Makefile
+ ${CC} -g -o $@ ${OBJ} ${LIB}
+
+MANIFEST_DIR = ../../rpkid/testbed.dir/publication
+
+test: all
+ -date -u +'now: %Y%m%d%H%M%SZ'
+ if test -d ${MANIFEST_DIR}; then find ${MANIFEST_DIR} -type f -name '*.mnf' -print -exec ./${BIN} {} \; ; else :; fi