Deleted Added
full compact
Makefile (27965) Makefile (27969)
1# $Id: Makefile,v 1.7 1997/02/22 14:01:36 peter Exp $
1# $Id: Makefile,v 1.8 1997/08/07 21:42:01 steve Exp $
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
9PROG= csh

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

27 @rm -f ${.TARGET}
28 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
29 @echo '#ifndef _h_sh_error' >> ${.TARGET}
30 @echo '#define _h_sh_error' >> ${.TARGET}
31 egrep 'ERR_' ${.ALLSRC} | egrep '^#define' >> ${.TARGET}
32 @echo '#endif /* _h_sh_error */' >> ${.TARGET}
33
34const.h: const.c
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
9PROG= csh

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

27 @rm -f ${.TARGET}
28 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
29 @echo '#ifndef _h_sh_error' >> ${.TARGET}
30 @echo '#define _h_sh_error' >> ${.TARGET}
31 egrep 'ERR_' ${.ALLSRC} | egrep '^#define' >> ${.TARGET}
32 @echo '#endif /* _h_sh_error */' >> ${.TARGET}
33
34const.h: const.c
35 @rm -f $@
36 @echo '/* Do not edit this file, make creates it. */' > $@
37 ${CC} -E ${CFLAGS} ${.CURDIR}/$*.c | egrep 'Char STR' | \
35 @rm -f ${.TARGET}
36 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
37 ${CC} -E ${CFLAGS} ${.ALLSRC} | egrep 'Char STR' | \
38 sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
38 sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
39 sort >> $@
39 sort >> ${.TARGET}
40
41.include <bsd.prog.mk>
40
41.include <bsd.prog.mk>