From: Martin Kraemer Date: Tue, 3 Dec 2002 09:47:11 +0000 (+0000) Subject: FreeBSD's make doesn't like the 'implied source' syntax ($<) -- using $? which works. X-Git-Tag: pre_ajp_proxy~2508 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef6878fdabc5840ad8572d04d53d5a00f79f0b66;p=apache FreeBSD's make doesn't like the 'implied source' syntax ($<) -- using $? which works. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97767 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/Makefile.in b/server/Makefile.in index 091b4f314c..6d842c51d0 100644 --- a/server/Makefile.in +++ b/server/Makefile.in @@ -34,7 +34,7 @@ EXPORT_DIRS = $(top_srcdir)/include $(top_srcdir)/os/$(OS_DIR) $(APR_INCLUDEDIR) delete-exports: export_files @if test -f exports.c; then \ - files=`cat $<`; \ + files=`cat $?`; \ headers="`find $$files -newer exports.c`"; \ if test -n "$$headers"; then \ echo Found newer headers. Will rebuild exports.c.; \ @@ -49,15 +49,15 @@ export_files: for dir in $(EXPORT_DIRS); do \ find $$dir -maxdepth 1 -type f -name '*.h' >> $$tmp; \ done; \ - cat $$tmp | sort | uniq > $@; \ + sort -u $$tmp > $@; \ rm -f $$tmp # full path required to keep BSD make happy $(top_builddir)/server/exports.c: export_files - $(AWK) -f $(top_srcdir)/build/make_exports.awk `cat $<` > $@ + $(AWK) -f $(top_srcdir)/build/make_exports.awk `cat $?` > $@ export_vars.h: export_files - $(AWK) -f $(top_srcdir)/build/make_var_export.awk `cat $<` > $@ + $(AWK) -f $(top_srcdir)/build/make_var_export.awk `cat $?` > $@ # wtf does this have to be explicit???? exports.lo: exports.c