Makefile revision 1.42
11.42Slukem# $NetBSD: Makefile,v 1.42 1998/04/13 12:06:48 lukem Exp $ 21.20Schristos# @(#)Makefile 8.4 (Berkeley) 5/5/95 31.1Scgd 41.1ScgdPROG= sh 51.24SchristosSHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \ 61.10Sjtc histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \ 71.24Schristos mystring.c options.c parser.c redir.c show.c trap.c output.c var.c 81.29SmycroftGENSRCS=arith.c arith_lex.c builtins.c builtins.h init.c nodes.c nodes.h \ 91.29Smycroft syntax.c syntax.h token.h 101.29SmycroftSRCS= ${SHSRCS} ${GENSRCS} 111.24Schristos 121.13SjtcLDADD+= -ll -ledit -ltermcap 131.21SmycroftDPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 141.24Schristos 151.10SjtcLFLAGS= -8 # 8-bit lex scanner for arithmetic 161.41StvYFLAGS= -d 171.24Schristos 181.35SchristosCPPFLAGS+=-DSHELL -I. -I${.CURDIR} 191.24Schristos 201.28Sgwr.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf 211.1Scgd 221.29SmycroftCLEANFILES+= mkinit mknodes mksyntax 231.30SveegoCLEANFILES+= mkinit.o mknodes.o mksyntax.o 241.29SmycroftCLEANFILES+= ${GENSRCS} y.tab.h 251.24Schristos 261.24Schristostoken.h: mktokens 271.38Schristos sh ${.ALLSRC} 281.1Scgd 291.38Schristosbuiltins.c builtins.h: mkbuiltins shell.h builtins.def 301.38Schristos sh ${.ALLSRC} ${.OBJDIR} 311.1Scgd 321.24Schristosinit.c: mkinit ${SHSRCS} 331.39Smrg ./${.ALLSRC} 341.10Sjtc 351.24Schristosnodes.c nodes.h: mknodes nodetypes nodes.c.pat 361.40Sveego ./${.ALLSRC} 371.1Scgd 381.1Scgdsyntax.c syntax.h: mksyntax 391.40Sveego ./${.ALLSRC} 401.10Sjtc 411.42Slukem${OBJS}: builtins.h nodes.h syntax.h token.h 421.42Slukem 431.8Scgd.include <bsd.prog.mk> 44