diff options
Diffstat (limited to 'utils/print_manifest/Makefile')
-rw-r--r-- | utils/print_manifest/Makefile | 27 |
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 |