summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1997-07-27 10:47:49 +0000
committermsmith <msmith@FreeBSD.org>1997-07-27 10:47:49 +0000
commit2e6b2cf4d31de805f00a8227beda29d0fdf6e419 (patch)
treeff12a2a435039337e2cf406a44f0ae625f3091d0 /lib/libedit
parent5e05983d335be5d8f83b1536cda3191976e4f711 (diff)
downloadFreeBSD-src-2e6b2cf4d31de805f00a8227beda29d0fdf6e419.zip
FreeBSD-src-2e6b2cf4d31de805f00a8227beda29d0fdf6e419.tar.gz
List help.h a a dependancy for editline.c
Use 'beforedepend' instead of '.depend' to hang automatically-generated headers off. XXX the latter is bogus without a 'beforeall' target and explicit ordering of dependancy generation for targets.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 2f4feda..835f8e6 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -55,10 +55,10 @@ help.c: ${ASRC} makelist
help.h: ${ASRC} makelist
sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET}
-editline.c: ${OSRCS}
+editline.c: ${OSRCS} help.h
sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET}
-.depend: vi.h emacs.h common.h fcns.h help.h help.c
+beforedepend: vi.h emacs.h common.h fcns.h help.h help.c
test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}
OpenPOWER on IntegriCloud