diff options
author | Rob Austein <sra@hactrn.net> | 2010-12-29 00:33:44 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-12-29 00:33:44 +0000 |
commit | 6b34f4c5976637fbcd3652f499ece7daff24dadf (patch) | |
tree | ef81d0980bd79681f044e62a57b2e11ef38000e4 /utils/hashdir/Makefile.in | |
parent | 73e5d62ba08c2eda82be9d5e5ebc6a817850e9cc (diff) |
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
Diffstat (limited to 'utils/hashdir/Makefile.in')
-rw-r--r-- | utils/hashdir/Makefile.in | 20 |
1 files changed, 10 insertions, 10 deletions
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} |