1# @(#)Makefile 8.4 (Berkeley) 5/5/95
| 1# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
2# $FreeBSD: head/bin/sh/Makefile 86505 2001-11-17 19:10:11Z knu $
| 2# $FreeBSD: head/bin/sh/Makefile 86692 2001-11-20 18:33:59Z knu $
|
3 4PROG= sh 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 \
| 3 4PROG= sh 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 \
| 7 mystring.c options.c output.c parser.c redir.c show.c \
|
8 test.c trap.c var.c 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 13# MLINKS for Shell built in commands for which there are no userland 14# utilities of the same name are handled with the associated manpage, 15# builtin.1 in share/man/man1/. 16 17DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 18LDADD+= -ll -ledit -ltermcap 19 20LFLAGS= -8 # 8-bit lex scanner for arithmetic 21CFLAGS+=-DSHELL -I. -I${.CURDIR} 22# for debug: 23# CFLAGS+= -g -DDEBUG=2 24 25.PATH: ${.CURDIR}/bltin \
| 8 test.c trap.c var.c 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 13# MLINKS for Shell built in commands for which there are no userland 14# utilities of the same name are handled with the associated manpage, 15# builtin.1 in share/man/man1/. 16 17DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 18LDADD+= -ll -ledit -ltermcap 19 20LFLAGS= -8 # 8-bit lex scanner for arithmetic 21CFLAGS+=-DSHELL -I. -I${.CURDIR} 22# for debug: 23# CFLAGS+= -g -DDEBUG=2 24 25.PATH: ${.CURDIR}/bltin \
|
26 ${.CURDIR}/../../bin/test \ 27 ${.CURDIR}/../../usr.bin/printf
| 26 ${.CURDIR}/../../bin/test
|
28 29CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ 30 mksyntax mksyntax.o 31CLEANFILES+= ${GENSRCS} ${GENHDRS} 32 33build-tools: mkinit mknodes mksyntax 34 35.ORDER: builtins.c builtins.h
--- 28 unchanged lines hidden --- | 27 28CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ 29 mksyntax mksyntax.o 30CLEANFILES+= ${GENSRCS} ${GENHDRS} 31 32build-tools: mkinit mknodes mksyntax 33 34.ORDER: builtins.c builtins.h
--- 28 unchanged lines hidden --- |