diff options
author | bde <bde@FreeBSD.org> | 1998-05-05 07:36:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-05 07:36:55 +0000 |
commit | dba406f638a6914ad83fc04b03ea997a33a9938b (patch) | |
tree | 31598f801a729462d93f3760a280177882bc1e3a /bin/sh/Makefile | |
parent | d50e2c72139357da549cc2a7c852db2d262a4588 (diff) | |
download | FreeBSD-src-dba406f638a6914ad83fc04b03ea997a33a9938b.zip FreeBSD-src-dba406f638a6914ad83fc04b03ea997a33a9938b.tar.gz |
Backed out previous commit. It was tested, but not for the case where
a separate object tree doesn't exist. Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
Diffstat (limited to 'bin/sh/Makefile')
-rw-r--r-- | bin/sh/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 138bc05..403fcbb 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -1,12 +1,12 @@ # @(#)Makefile 8.4 (Berkeley) 5/5/95 -# $Id: Makefile,v 1.24 1998/04/26 16:12:23 bde Exp $ +# $Id: Makefile,v 1.25 1998/05/04 20:09:00 bde Exp $ PROG= sh -SHSRCS= alias.c arith.y arith_lex.l cd.c echo.c error.c eval.c exec.c expand.c \ +SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \ histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \ mystring.c options.c output.c parser.c printf.c redir.c show.c \ trap.c var.c -GENSRCS= builtins.c init.c nodes.c syntax.c +GENSRCS= arith.c arith_lex.c builtins.c init.c nodes.c syntax.c GENHDRS= builtins.h nodes.h syntax.h token.h SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} @@ -21,9 +21,11 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR} .PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ - mksyntax mksyntax.o + mksyntax mksyntax.o \ + y.tab.h CLEANFILES+= ${GENSRCS} ${GENHDRS} + .ORDER: builtins.c builtins.h builtins.c builtins.h: mkbuiltins builtins.def cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR} @@ -55,4 +57,6 @@ syntax.c syntax.h: mksyntax token.h: mktokens sh ${.CURDIR}/mktokens +y.tab.h: arith.c + .include <bsd.prog.mk> |