Deleted Added
full compact
Makefile (10354) Makefile (13882)
1# @(#)Makefile 8.1 (Berkeley) 6/8/93
1# @(#)Makefile 8.1 (Berkeley) 6/8/93
2# $Id: Makefile,v 1.7 1994/10/02 01:36:03 ache Exp $
2# $Id: Makefile,v 1.8 1995/08/27 20:26:40 joerg Exp $
3
4PROG= sh
5SRCS= alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
6 histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
7 mystring.c nodes.c options.c parser.c printf.c redir.c show.c \
8 signames.c syntax.c trap.c output.c var.c
9OBJS+= init.o arith.o arith_lex.o
10DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}

--- 7 unchanged lines hidden (view full) ---

18 builtins.c builtins.h init.c mkinit mknodes mksignames mksyntax \
19 nodes.c nodes.h signames.c signames.h syntax.c syntax.h token.def \
20 y.tab.h
21
22.depend parser.o: token.def
23token.def: mktokens
24 sh ${.CURDIR}/mktokens
25
3
4PROG= sh
5SRCS= alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
6 histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
7 mystring.c nodes.c options.c parser.c printf.c redir.c show.c \
8 signames.c syntax.c trap.c output.c var.c
9OBJS+= init.o arith.o arith_lex.o
10DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}

--- 7 unchanged lines hidden (view full) ---

18 builtins.c builtins.h init.c mkinit mknodes mksignames mksyntax \
19 nodes.c nodes.h signames.c signames.h syntax.c syntax.h token.def \
20 y.tab.h
21
22.depend parser.o: token.def
23token.def: mktokens
24 sh ${.CURDIR}/mktokens
25
26${.CURDIR}/builtins:
27 # just override the default rule
28
26builtins.h builtins.c: ${.CURDIR}/mkbuiltins ${.CURDIR}/builtins
27 cd ${.CURDIR}; sh mkbuiltins
28
29init.c: mkinit ${SRCS}
30 ./mkinit '${CC} -c ${CFLAGS} ${LDFLAGS} init.c' ${.ALLSRC}
31 touch ${.TARGET}
32
33mkinit: ${.CURDIR}/mkinit.c

--- 21 unchanged lines hidden ---
29builtins.h builtins.c: ${.CURDIR}/mkbuiltins ${.CURDIR}/builtins
30 cd ${.CURDIR}; sh mkbuiltins
31
32init.c: mkinit ${SRCS}
33 ./mkinit '${CC} -c ${CFLAGS} ${LDFLAGS} init.c' ${.ALLSRC}
34 touch ${.TARGET}
35
36mkinit: ${.CURDIR}/mkinit.c

--- 21 unchanged lines hidden ---