|
|
1.1 root 1: # @(#)Makefile 5.1 (Berkeley) 5/3/91
2:
3: PROG= sh
4: SRCS= builtins.c cd.c dirent.c echo.c error.c eval.c exec.c expand.c \
5: input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
6: mystring.c nodes.c options.c parser.c redir.c show.c signames.c \
7: syntax.c trap.c output.c var.c
8: OBJS+= init.o
9: ORIG= ${.CURDIR}/../../../../bin/sh
10: CFLAGS+=-DLETS_GET_SMALL -DSHELL -I. -I${ORIG}
11: NOMAN= noman
12: LDFLAGS=-N
13: .PATH: ${ORIG} ${ORIG}/bltin
14: CLEANFILES+=\
15: builtins.c builtins.h init.c mkinit mknodes mksignames mksyntax \
16: nodes.c nodes.h signames.c signames.h syntax.c syntax.h token.def
17:
18: .depend parser.o: token.def
19: token.def: mktokens
20: sh ${ORIG}/mktokens
21:
22: builtins.h builtins.c: ${ORIG}/mkbuiltins ${ORIG}/builtins
23: cd ${.CURDIR}; sh mkbuiltins
24:
25: init.c: mkinit ${SRCS}
26: ./mkinit '${CC} -c ${CFLAGS} init.c' ${.ALLSRC}
27:
28: mkinit: ${ORIG}/mkinit.c
29: ${CC} ${CFLAGS} ${ORIG}/mkinit.c -o $@
30:
31: nodes.c nodes.h: mknodes ${ORIG}/nodetypes ${ORIG}/nodes.c.pat
32: ./mknodes ${ORIG}/nodetypes ${ORIG}/nodes.c.pat
33:
34: mknodes: ${ORIG}/mknodes.c
35: ${CC} ${CFLAGS} ${ORIG}/mknodes.c -o $@
36:
37: signames.c signames.h: mksignames
38: ./mksignames
39:
40: mksignames: ${ORIG}/mksignames.c
41: ${CC} ${CFLAGS} ${ORIG}/mksignames.c -o $@
42:
43: syntax.c syntax.h: mksyntax
44: ./mksyntax
45:
46: mksyntax: ${ORIG}/mksyntax.c ${ORIG}/parser.h
47: ${CC} ${CFLAGS} ${ORIG}/mksyntax.c -o $@
48:
49: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.