Diff for /src/bin/sh/Makefile between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:22:50 version 1.3, 2004/03/22 20:57:25
Line 1 Line 1
 #       @(#)Makefile    8.4 (Berkeley) 5/5/95  #       @(#)Makefile    8.4 (Berkeley) 5/5/95
 # $FreeBSD: src/bin/sh/Makefile,v 1.30.2.1 2001/12/15 10:05:18 knu Exp $  # $FreeBSD: src/bin/sh/Makefile,v 1.30.2.1 2001/12/15 10:05:18 knu Exp $
# $DragonFly: src/bin/sh/Makefile,v 1.1 2003/06/15 23:49:42 dillon Exp $# $DragonFly$
   
 PROG=   sh  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 arith.y arith_lex.l cd.c echo.c error.c eval.c exec.c expand.c \
Line 27  CFLAGS+=-DSHELL -I. -I${.CURDIR} Line 27  CFLAGS+=-DSHELL -I. -I${.CURDIR}
         ${.CURDIR}/../../usr.bin/printf \          ${.CURDIR}/../../usr.bin/printf \
         ${.CURDIR}/../../bin/test          ${.CURDIR}/../../bin/test
   
CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \CLEANFILES+= mkinit.nx mkinit.no mknodes.nx mknodes.no \
        mksyntax mksyntax.o        mksyntax.nx mksyntax.no
 CLEANFILES+= ${GENSRCS} ${GENHDRS}  CLEANFILES+= ${GENSRCS} ${GENHDRS}
   
build-tools: mkinit mknodes mksyntaxbuild-tools: mkinit.nx mknodes.nx mksyntax.nx
   
 .ORDER: builtins.c builtins.h  .ORDER: builtins.c builtins.h
 builtins.c builtins.h: mkbuiltins builtins.def  builtins.c builtins.h: mkbuiltins builtins.def
         cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}          cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
   
init.c: mkinit alias.c eval.c exec.c input.c jobs.c options.c parser.c \init.c: mkinit.nx alias.c eval.c exec.c input.c jobs.c options.c parser.c \
         redir.c trap.c var.c          redir.c trap.c var.c
        ./mkinit ${.ALLSRC:S/^mkinit$//}        ./mkinit.nx ${.ALLSRC:S/^mkinit.nx$//}
   
 # XXX this is just to stop the default .c rule being used, so that the  # XXX this is just to stop the default .c rule being used, so that the
 # intermediate object has a fixed name.  # intermediate object has a fixed name.
 # XXX we have a default .c rule, but no default .o rule.  # XXX we have a default .c rule, but no default .o rule.
 .o:  .o:
         ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}          ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
mkinit: mkinit.omkinit.nx: mkinit.no
mknodes: mknodes.omknodes.nx: mknodes.no
mksyntax: mksyntax.omksyntax.nx: mksyntax.no
   
 .ORDER: nodes.c nodes.h  .ORDER: nodes.c nodes.h
nodes.c nodes.h: mknodes nodetypes nodes.c.patnodes.c nodes.h: mknodes.nx nodetypes nodes.c.pat
        ./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat        ./mknodes.nx ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
   
 .ORDER: syntax.c syntax.h  .ORDER: syntax.c syntax.h
syntax.c syntax.h: mksyntaxsyntax.c syntax.h: mksyntax.nx
        ./mksyntax        ./mksyntax.nx
   
 token.h: mktokens  token.h: mktokens
         sh ${.CURDIR}/mktokens          sh ${.CURDIR}/mktokens

Removed from v.1.2  
changed lines
  Added in v.1.3