From 6b34f4c5976637fbcd3652f499ece7daff24dadf Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 29 Dec 2010 00:33:44 +0000 Subject: Autoconf now knows how to build rcynic and utils against either our private OpenSSL or system OpenSSL. Not (yet) hacked for POW and pywrap, nor tested (yet) on any other platform. Mechanism we're using to find our private OpenSSL directory now is kind of icky, may need to switch to some kind of double indirection scheme using AC_SUBST_FILE to hide the nasty bits. svn path=/configure; revision=3580 --- utils/hashdir/Makefile.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'utils/hashdir') diff --git a/utils/hashdir/Makefile.in b/utils/hashdir/Makefile.in index 7c779d7a..29004c6f 100644 --- a/utils/hashdir/Makefile.in +++ b/utils/hashdir/Makefile.in @@ -1,24 +1,24 @@ # $Id$ -OPENSSL_DIR = ../../openssl/openssl +NAME = hashdir -CFLAGS = -g -I${OPENSSL_DIR}/include +BIN = ${NAME} +SRC = ${NAME}.c +OBJ = ${NAME}.o -# -H -Wl,-t - -BIN = hashdir -OBJ = hashdir.o -LIB = ${OPENSSL_DIR}/libcrypto.a +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ all: ${BIN} clean:: rm -f ${BIN} ${OBJ} -${BIN}: ${OBJ} ${LIB} Makefile - ${CC} -g -o $@ ${OBJ} ${LIB} +${BIN}: ${SRC} + ${CC} ${CFLAGS} -o $@ ${SRC} ${LDFLAGS} -lcrypto ${LIBS} -INPUT = ../../rcynic/rcynic-data/authenticated +INPUT = @top_srcdir@/rcynic/rcynic-data/authenticated OUTPUT = hashed-pem-dir test: ${BIN} -- cgit v1.2.3