Makefile (35737) | Makefile (35783) |
---|---|
1# @(#)Makefile 8.4 (Berkeley) 5/5/95 | 1# @(#)Makefile 8.4 (Berkeley) 5/5/95 |
2# $Id: Makefile,v 1.25 1998/05/04 20:09:00 bde Exp $ | 2# $Id: Makefile,v 1.26 1998/05/05 07:36:55 bde Exp $ |
3 4PROG= sh | 3 4PROG= sh |
5SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \ | 5SHSRCS= alias.c arith.y arith_lex.l 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 options.c output.c parser.c printf.c redir.c show.c \ 8 trap.c var.c | 6 histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \ 7 mystring.c options.c output.c parser.c printf.c redir.c show.c \ 8 trap.c var.c |
9GENSRCS= arith.c arith_lex.c builtins.c init.c nodes.c syntax.c 10GENHDRS= builtins.h nodes.h syntax.h token.h 11SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} | 9GENSRCS= builtins.c init.c nodes.c syntax.c 10GENHDRS= builtins.h nodes.h syntax.h token.h y.tab.h 11SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} y.tab.h |
12 13DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 14LDADD+= -ll -ledit -ltermcap 15 16LFLAGS= -8 # 8-bit lex scanner for arithmetic 17CFLAGS+=-DSHELL -I. -I${.CURDIR} 18# for debug: 19# CFLAGS+= -g -DDEBUG=2 20 21.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf 22 23CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ | 12 13DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 14LDADD+= -ll -ledit -ltermcap 15 16LFLAGS= -8 # 8-bit lex scanner for arithmetic 17CFLAGS+=-DSHELL -I. -I${.CURDIR} 18# for debug: 19# CFLAGS+= -g -DDEBUG=2 20 21.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf 22 23CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ |
24 mksyntax mksyntax.o \ 25 y.tab.h | 24 mksyntax mksyntax.o |
26CLEANFILES+= ${GENSRCS} ${GENHDRS} 27 | 25CLEANFILES+= ${GENSRCS} ${GENHDRS} 26 |
28 | |
29.ORDER: builtins.c builtins.h 30builtins.c builtins.h: mkbuiltins builtins.def 31 cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR} 32 33init.c: mkinit alias.c eval.c exec.c input.c jobs.c options.c parser.c \ 34 redir.c trap.c var.c 35 ./mkinit ${.ALLSRC:S/^mkinit$//} 36 --- 15 unchanged lines hidden (view full) --- 52 53.ORDER: syntax.c syntax.h 54syntax.c syntax.h: mksyntax 55 ./mksyntax 56 57token.h: mktokens 58 sh ${.CURDIR}/mktokens 59 | 27.ORDER: builtins.c builtins.h 28builtins.c builtins.h: mkbuiltins builtins.def 29 cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR} 30 31init.c: mkinit alias.c eval.c exec.c input.c jobs.c options.c parser.c \ 32 redir.c trap.c var.c 33 ./mkinit ${.ALLSRC:S/^mkinit$//} 34 --- 15 unchanged lines hidden (view full) --- 50 51.ORDER: syntax.c syntax.h 52syntax.c syntax.h: mksyntax 53 ./mksyntax 54 55token.h: mktokens 56 sh ${.CURDIR}/mktokens 57 |
60y.tab.h: arith.c 61 | |
62.include <bsd.prog.mk> | 58.include <bsd.prog.mk> |