1# @(#)Makefile 8.4 (Berkeley) 5/5/95
| 1# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
2# $FreeBSD: head/bin/sh/Makefile 216629 2010-12-21 22:47:34Z jilles $
| 2# $FreeBSD: head/bin/sh/Makefile 218466 2011-02-08 23:18:06Z jilles $
|
3 4PROG= sh 5INSTALLFLAGS= -S
| 3 4PROG= sh 5INSTALLFLAGS= -S
|
6SHSRCS= alias.c arith.y arith_lex.l cd.c echo.c error.c eval.c exec.c expand.c \
| 6SHSRCS= alias.c arith_yacc.c arith_yylex.c cd.c echo.c error.c eval.c \ 7 exec.c expand.c \
|
7 histedit.c input.c jobs.c kill.c mail.c main.c memalloc.c miscbltin.c \ 8 mystring.c options.c output.c parser.c printf.c redir.c show.c \ 9 test.c trap.c var.c 10GENSRCS= builtins.c init.c nodes.c syntax.c 11GENHDRS= builtins.h nodes.h syntax.h token.h
| 8 histedit.c input.c jobs.c kill.c mail.c main.c memalloc.c miscbltin.c \ 9 mystring.c options.c output.c parser.c printf.c redir.c show.c \ 10 test.c trap.c var.c 11GENSRCS= builtins.c init.c nodes.c syntax.c 12GENHDRS= builtins.h nodes.h syntax.h token.h
|
12SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} y.tab.h
| 13SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
|
13 14# MLINKS for Shell built in commands for which there are no userland 15# utilities of the same name are handled with the associated manpage, 16# builtin.1 in share/man/man1/. 17
| 14 15# MLINKS for Shell built in commands for which there are no userland 16# utilities of the same name are handled with the associated manpage, 17# builtin.1 in share/man/man1/. 18
|
18DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} 19LDADD= -ll -ledit -ltermcap
| 19DPADD= ${LIBEDIT} ${LIBTERMCAP} 20LDADD= -ledit -ltermcap
|
20
| 21
|
21LFLAGS= -8 # 8-bit lex scanner for arithmetic
| |
22CFLAGS+=-DSHELL -I. -I${.CURDIR} 23# for debug: 24# DEBUG_FLAGS+= -g -DDEBUG=2 -fno-inline 25WARNS?= 2 26WFORMAT=0 27 28.PATH: ${.CURDIR}/bltin \ 29 ${.CURDIR}/../kill \
--- 41 unchanged lines hidden --- | 22CFLAGS+=-DSHELL -I. -I${.CURDIR} 23# for debug: 24# DEBUG_FLAGS+= -g -DDEBUG=2 -fno-inline 25WARNS?= 2 26WFORMAT=0 27 28.PATH: ${.CURDIR}/bltin \ 29 ${.CURDIR}/../kill \
--- 41 unchanged lines hidden --- |