Deleted Added
full compact
Makefile (299289) Makefile (301881)
1# $FreeBSD: head/bin/csh/Makefile 299289 2016-05-09 22:21:09Z bdrewery $
1# $FreeBSD: head/bin/csh/Makefile 301881 2016-06-14 16:19:49Z bdrewery $
2# @(#)Makefile 8.1 (Berkeley) 5/31/93
3#
4# C Shell with process control; VM/UNIX VAX Makefile
5# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
6#
7# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
8
9.include <src.opts.mk>

--- 121 unchanged lines hidden (view full) ---

131sh.err.h: sh.err.c
132 @rm -f ${.TARGET}
133 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
134 @echo '#ifndef _h_sh_err' >> ${.TARGET}
135 @echo '#define _h_sh_err' >> ${.TARGET}
136 grep 'ERR_' ${.ALLSRC} | grep '^#define' >> ${.TARGET}
137 @echo '#endif /* _h_sh_err */' >> ${.TARGET}
138
2# @(#)Makefile 8.1 (Berkeley) 5/31/93
3#
4# C Shell with process control; VM/UNIX VAX Makefile
5# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
6#
7# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
8
9.include <src.opts.mk>

--- 121 unchanged lines hidden (view full) ---

131sh.err.h: sh.err.c
132 @rm -f ${.TARGET}
133 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
134 @echo '#ifndef _h_sh_err' >> ${.TARGET}
135 @echo '#define _h_sh_err' >> ${.TARGET}
136 grep 'ERR_' ${.ALLSRC} | grep '^#define' >> ${.TARGET}
137 @echo '#endif /* _h_sh_err */' >> ${.TARGET}
138
139tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h
139tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD_TOOLS_META}
140 @rm -f ${.TARGET}
141 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
142 @echo '#ifndef _h_tc_const' >> ${.TARGET}
143 @echo '#define _h_tc_const' >> ${.TARGET}
144 ${CC:N${CCACHE_BIN}} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \
145 grep 'Char STR' | \
146 sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
147 sort >> ${.TARGET}
148 @echo '#endif /* _h_tc_const */' >> ${.TARGET}
149
150.include <bsd.prog.mk>
140 @rm -f ${.TARGET}
141 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
142 @echo '#ifndef _h_tc_const' >> ${.TARGET}
143 @echo '#define _h_tc_const' >> ${.TARGET}
144 ${CC:N${CCACHE_BIN}} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \
145 grep 'Char STR' | \
146 sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
147 sort >> ${.TARGET}
148 @echo '#endif /* _h_tc_const */' >> ${.TARGET}
149
150.include <bsd.prog.mk>