summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 01:06:58 +0000
committerbde <bde@FreeBSD.org>1998-07-07 01:06:58 +0000
commit3b038012cb8f4c939194573240b52ba5c392d9dc (patch)
treeaec04db8357fb6212de78d8b900f77f4fdbc95be
parentcd1f335715f421dbac6b0c93f528c7bf82c724d3 (diff)
downloadFreeBSD-src-3b038012cb8f4c939194573240b52ba5c392d9dc.zip
FreeBSD-src-3b038012cb8f4c939194573240b52ba5c392d9dc.tar.gz
Added a `build-tools' target for internal tools.
Removed explicit dependencies of foo.o on foo.c. These were mainly placeholders for comments about missing dependencies of tools objects on headers. This problem needs to be handled more generally.
-rw-r--r--bin/sh/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index c5b6c65..fc1afd4 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.4 (Berkeley) 5/5/95
-# $Id: Makefile,v 1.26 1998/05/05 07:36:55 bde Exp $
+# $Id: Makefile,v 1.27 1998/05/06 15:33:59 bde Exp $
PROG= sh
SHSRCS= alias.c arith.y arith_lex.l cd.c echo.c error.c eval.c exec.c expand.c \
@@ -24,6 +24,8 @@ CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \
mksyntax mksyntax.o
CLEANFILES+= ${GENSRCS} ${GENHDRS}
+build-tools: mkinit mknodes mksyntax
+
.ORDER: builtins.c builtins.h
builtins.c builtins.h: mkbuiltins builtins.def
cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
@@ -38,11 +40,8 @@ init.c: mkinit alias.c eval.c exec.c input.c jobs.c options.c parser.c \
.o:
${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
mkinit: mkinit.o
-mkinit.o: mkinit.c # XXX and many headers
mknodes: mknodes.o
-mknodes.o: mknodes.c # XXX and many headers
mksyntax: mksyntax.o
-mksyntax.o: mksyntax.c # XXX and many headers
.ORDER: nodes.c nodes.h
nodes.c nodes.h: mknodes nodetypes nodes.c.pat
OpenPOWER on IntegriCloud