Home | History | Annotate | Line # | Download | only in sh
Makefile revision 1.23.4.1
      1  1.23.4.1       rat #	$NetBSD: Makefile,v 1.23.4.1 1997/01/26 04:57:09 rat Exp $
      2      1.20  christos #	@(#)Makefile	8.4 (Berkeley) 5/5/95
      3       1.1       cgd 
      4       1.1       cgd PROG=	sh
      5  1.23.4.1       rat SHSRCS=	alias.c cd.c echo.c error.c eval.c exec.c expand.c \
      6      1.10       jtc 	histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
      7  1.23.4.1       rat 	mystring.c options.c parser.c redir.c show.c trap.c output.c var.c
      8  1.23.4.1       rat GENSRCS= arith.c arith_lex.c builtins.c init.c nodes.c syntax.c
      9  1.23.4.1       rat SRCS= ${SHSRCS} ${GENSRCS}
     10  1.23.4.1       rat 
     11      1.13       jtc LDADD+=	-ll -ledit -ltermcap
     12      1.21   mycroft DPADD+=	${LIBL} ${LIBEDIT} ${LIBTERMCAP}
     13  1.23.4.1       rat 
     14      1.10       jtc LFLAGS= -8	# 8-bit lex scanner for arithmetic
     15  1.23.4.1       rat 
     16       1.1       cgd CFLAGS+=-DSHELL -I. -I${.CURDIR}
     17  1.23.4.1       rat 
     18      1.10       jtc .PATH:	${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
     19       1.1       cgd 
     20  1.23.4.1       rat CLEANFILES+= builtins.h mkinit mknodes mksyntax \
     21  1.23.4.1       rat 	nodes.h syntax.h token.h y.tab.h
     22  1.23.4.1       rat CLEANFILES+= ${GENSRCS}
     23      1.22  christos 
     24  1.23.4.1       rat beforedepend: token.h
     25  1.23.4.1       rat 
     26  1.23.4.1       rat token.h: mktokens
     27       1.1       cgd 	sh ${.CURDIR}/mktokens
     28       1.1       cgd 
     29  1.23.4.1       rat builtins.h builtins.c: mkbuiltins builtins.def
     30      1.14       cgd 	cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
     31       1.1       cgd 
     32  1.23.4.1       rat init.c: mkinit ${SHSRCS}
     33      1.23   mycroft 	./mkinit ${.ALLSRC:S/^mkinit$//}
     34      1.10       jtc 
     35  1.23.4.1       rat nodes.c nodes.h: mknodes nodetypes nodes.c.pat
     36       1.1       cgd 	./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
     37       1.1       cgd 
     38       1.1       cgd syntax.c syntax.h: mksyntax
     39       1.1       cgd 	./mksyntax
     40       1.1       cgd 
     41  1.23.4.1       rat parser.o: token.h
     42      1.10       jtc 
     43       1.8       cgd .include <bsd.prog.mk>
     44  1.23.4.1       rat 
     45  1.23.4.1       rat ${OBJS}: builtins.h nodes.h syntax.h
     46