Changeset View
Changeset View
Standalone View
Standalone View
bin/csh/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93 | # @(#)Makefile 8.1 (Berkeley) 5/31/93 | ||||
# | # | ||||
# C Shell with process control; VM/UNIX VAX Makefile | # C Shell with process control; VM/UNIX VAX Makefile | ||||
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria | # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria | ||||
# | # | ||||
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. | # To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
CONFGROUPS= ETC | CONFGROUPS= ETC ROOT | ||||
rgrimes: Hum, there is a conf group called ETC? Can I ask what is in it? This seems to be where maybe… | |||||
brdAuthorUnsubmitted Not Done Inline ActionsThis creates it. brd: This creates it. | |||||
ETC= csh.cshrc csh.login csh.logout | ETC= csh.cshrc csh.login csh.logout | ||||
ROOT= dot.cshrc | |||||
ROOTDIR= /root | |||||
ROOTNAME= .cshrc | |||||
rgrimesUnsubmitted Not Done Inline ActionsSomething makes me leary of these variable names, but I can not come up with what it is or what they would be called to make it better rgrimes: Something makes me leary of these variable names, but I can not come up with what it is or what… | |||||
willUnsubmitted Not Done Inline ActionsPerhaps CSHRC rather than ROOT? will: Perhaps CSHRC rather than ROOT? | |||||
brdAuthorUnsubmitted Not Done Inline ActionsSure, will do. brd: Sure, will do. | |||||
PACKAGE=runtime | PACKAGE=runtime | ||||
TCSHDIR= ${SRCTOP}/contrib/tcsh | TCSHDIR= ${SRCTOP}/contrib/tcsh | ||||
.PATH: ${TCSHDIR} | .PATH: ${TCSHDIR} | ||||
PROG= csh | PROG= csh | ||||
.if defined(RESCUE) | .if defined(RESCUE) | ||||
DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"' | DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"' | ||||
.else | .else | ||||
▲ Show 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD_TOOLS_META} | ||||
@echo '/* Do not edit this file, make creates it. */' > ${.TARGET} | @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} | ||||
@echo '#ifndef _h_tc_const' >> ${.TARGET} | @echo '#ifndef _h_tc_const' >> ${.TARGET} | ||||
@echo '#define _h_tc_const' >> ${.TARGET} | @echo '#define _h_tc_const' >> ${.TARGET} | ||||
${CC:N${CCACHE_BIN}} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ | ${CC:N${CCACHE_BIN}} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ | ||||
grep 'Char STR' | \ | grep 'Char STR' | \ | ||||
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ | ||||
sort >> ${.TARGET} | sort >> ${.TARGET} | ||||
@echo '#endif /* _h_tc_const */' >> ${.TARGET} | @echo '#endif /* _h_tc_const */' >> ${.TARGET} | ||||
beforeinstallconfig: | |||||
rm -f ${DESTDIR}/.cshrc | |||||
rgrimesUnsubmitted Not Done Inline Actionsrm -f ${DESTDIR}/${ROOTNAME} rgrimes: rm -f ${DESTDIR}/${ROOTNAME} | |||||
brdAuthorUnsubmitted Not Done Inline ActionsSeems like it would cause potential problems down the road. brd: Seems like it would cause potential problems down the road. | |||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |
Hum, there is a conf group called ETC? Can I ask what is in it? This seems to be where maybe master.passwd belongs? As well as anything else that was moved to libc.