Index: projects/release-pkg/bin/cat/Makefile =================================================================== --- projects/release-pkg/bin/cat/Makefile (revision 295438) +++ projects/release-pkg/bin/cat/Makefile (revision 295439) @@ -1,12 +1,13 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= cat .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/chflags/Makefile =================================================================== --- projects/release-pkg/bin/chflags/Makefile (revision 295438) +++ projects/release-pkg/bin/chflags/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +PACKAGE=runtime PROG= chflags .include Index: projects/release-pkg/bin/chio/Makefile =================================================================== --- projects/release-pkg/bin/chio/Makefile (revision 295438) +++ projects/release-pkg/bin/chio/Makefile (revision 295439) @@ -1,6 +1,7 @@ # $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +PACKAGE=runtime PROG= chio .include Index: projects/release-pkg/bin/chmod/Makefile =================================================================== --- projects/release-pkg/bin/chmod/Makefile (revision 295438) +++ projects/release-pkg/bin/chmod/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= chmod .include Index: projects/release-pkg/bin/cp/Makefile =================================================================== --- projects/release-pkg/bin/cp/Makefile (revision 295438) +++ projects/release-pkg/bin/cp/Makefile (revision 295439) @@ -1,8 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= cp SRCS= cp.c utils.c CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED -D_ACL_PRIVATE .include Index: projects/release-pkg/bin/csh/Makefile =================================================================== --- projects/release-pkg/bin/csh/Makefile (revision 295438) +++ projects/release-pkg/bin/csh/Makefile (revision 295439) @@ -1,149 +1,150 @@ # $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # # C Shell with process control; VM/UNIX VAX Makefile # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria # # To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. .include +PACKAGE=runtime TCSHDIR= ${.CURDIR}/../../contrib/tcsh .PATH: ${TCSHDIR} PROG= csh .if defined(RESCUE) DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"' .else DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"' .endif CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS} WARNS?= 1 SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \ sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \ sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \ sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h SRCS+= sh.decls.h glob.c glob.h mi.termios.c mi.wait.h mi.varargs.h SRCS+= tw.decls.h tw.h tw.help.c tw.init.c tw.parse.c tw.spell.c \ tw.comp.c tw.color.c SRCS+= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \ ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h SRCS+= tc.alloc.c tc.bind.c tc.const.c tc.decls.h tc.disc.c \ tc.func.c tc.nls.c tc.os.c tc.os.h tc.printf.c tc.prompt.c \ tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \ tc.who.c tc.h GENHDRS= ed.defns.h sh.err.h tc.const.h tc.defs.c SRCS+= ${GENHDRS} MLINKS= csh.1 tcsh.1 # MLINKS for Shell built in commands for which there are no userland # utilities of the same name are handled with the associated manpage, # builtin.1 in share/man/man1/. LIBADD= termcapw crypt LINKS= ${BINDIR}/csh ${BINDIR}/tcsh CLEANFILES= ${GENHDRS} gethost csh.1 .if ${MK_EXAMPLES} != "no" FILESDIR= ${SHAREDIR}/examples/tcsh FILES= complete.tcsh csh-mode.el .endif CATALOGS= et:et_EE.UTF-8 \ finnish:fi_FI.UTF-8 \ french:fr_FR.UTF-8 \ german:de_DE.UTF-8 \ greek:el_GR.UTF-8 \ italian:it_IT.UTF-8 \ ja:ja_JP.UTF-8 \ russian:ru_RU.UTF-8 \ spanish:es_ES.UTF-8 \ ukrainian:uk_UA.UTF-8 NLSLINKS_de_DE.UTF-8 = de_AT.UTF-8 de_CH.UTF-8 NLSLINKS_fr_FR.UTF-8 = fr_BE.UTF-8 fr_CA.UTF-8 fr_CH.UTF-8 NLSLINKS_it_IT.UTF-8 = it_CH.UTF-8 .if ${MK_NLS_CATALOGS} == "no" || defined(RESCUE) CFLAGS+= -DNO_NLS_CATALOGS .else CFLAGS+= -DHAVE_ICONV .if ${MK_ICONV} != "no" NLSLINKS_de_DE.UTF-8 += de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \ de_CH.ISO8859-15 de_DE.ISO8859-1 de_DE.ISO8859-15 NLSLINKS_el_GR.UTF-8 = el_GR.ISO8859-7 NLSLINKS_es_ES.UTF-8 = es_ES.ISO8859-1 es_ES.ISO8859-15 NLSLINKS_et_EE.UTF-8 = et_EE.ISO8859-15 NLSLINKS_fi_FI.UTF-8 = fi_FI.ISO8859-1 fi_FI.ISO8859-15 NLSLINKS_fr_FR.UTF-8 += fr_BE.ISO8859-1 fr_BE.ISO8859-15 \ fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 \ fr_CH.ISO8859-15 fr_FR.ISO8859-1 fr_FR.ISO8859-15 NLSLINKS_it_IT.UTF-8 += it_CH.ISO8859-1 it_CH.ISO8859-15 it_IT.ISO8859-1 \ it_IT.ISO8859-15 NLSLINKS_ja_JP.UTF-8 = ja_JP.SJIS ja_JP.eucJP NLSLINKS_ru_RU.UTF-8 = ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.KOI8-R NLSLINKS_uk_UA.UTF-8 = uk_UA.ISO8859-5 uk_UA.KOI8-U .else # Above links can be installed from ports/shells/tcsh_nls GENHDRS+= iconv.h SRCS+= iconv_stub.c iconv.h: ${.CURDIR}/iconv_stub.h ${CP} ${.CURDIR}/iconv_stub.h ${.TARGET} .endif .endif NLSNAME= tcsh .for catalog in ${CATALOGS} NLS+= ${catalog:C/.*://} NLSSRCDIR_${catalog:C/.*://}= ${TCSHDIR}/nls/${catalog:C/:.*//} NLSSRCFILES_${catalog:C/.*://}!= cd ${NLSSRCDIR_${catalog:C/.*://}}; echo charset set[0-9]* .endfor csh.1: tcsh.man cat ${.ALLSRC} > ${.TARGET} build-tools: gethost gethost: gethost.c sh.err.h tc.const.h sh.h @rm -f ${.TARGET} ${CC} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \ ${TCSHDIR}/gethost.c tc.defs.c: gethost ${TCSHDIR}/host.defs @rm -f ${.TARGET} @echo "/* Do not edit this file, make creates it */" > ${.TARGET} ./gethost ${TCSHDIR}/host.defs >> ${.TARGET} ed.defns.h: ed.defns.c @rm -f ${.TARGET} @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} @echo '#ifndef _h_ed_defns' >> ${.TARGET} @echo '#define _h_ed_defns' >> ${.TARGET} grep '[FV]_' ${TCSHDIR}/ed.defns.c | grep '^#define' >> ${.TARGET} @echo '#endif /* _h_ed_defns */' >> ${.TARGET} sh.err.h: sh.err.c @rm -f ${.TARGET} @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} @echo '#ifndef _h_sh_err' >> ${.TARGET} @echo '#define _h_sh_err' >> ${.TARGET} grep 'ERR_' ${.ALLSRC} | grep '^#define' >> ${.TARGET} @echo '#endif /* _h_sh_err */' >> ${.TARGET} tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h @rm -f ${.TARGET} @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} @echo '#ifndef _h_tc_const' >> ${.TARGET} @echo '#define _h_tc_const' >> ${.TARGET} ${CC} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ grep 'Char STR' | \ sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ sort >> ${.TARGET} @echo '#endif /* _h_tc_const */' >> ${.TARGET} .include Index: projects/release-pkg/bin/date/Makefile =================================================================== --- projects/release-pkg/bin/date/Makefile (revision 295438) +++ projects/release-pkg/bin/date/Makefile (revision 295439) @@ -1,13 +1,14 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= date SRCS= date.c netdate.c vary.c .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/dd/Makefile =================================================================== --- projects/release-pkg/bin/dd/Makefile (revision 295438) +++ projects/release-pkg/bin/dd/Makefile (revision 295439) @@ -1,33 +1,34 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= dd SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c # # Test the character conversion functions. We have to be explicit about # which LC_LANG we use because the definition of upper and lower case # depends on it. # CLEANFILES= gen test: ${PROG} gen .for conv in ascii ebcdic ibm oldascii oldebcdic oldibm \ pareven parnone parodd parset \ swab lcase ucase @${ECHO} testing conv=${conv} @./gen | \ LC_ALL=en_US.US-ASCII ./dd conv=${conv} 2>/dev/null | \ LC_ALL=en_US.US-ASCII hexdump -C | \ diff -I FreeBSD - ${.CURDIR}/ref.${conv} .endfor @rm -f gen .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/df/Makefile =================================================================== --- projects/release-pkg/bin/df/Makefile (revision 295438) +++ projects/release-pkg/bin/df/Makefile (revision 295439) @@ -1,14 +1,15 @@ # @(#)Makefile 8.3 (Berkeley) 5/8/95 # $FreeBSD$ +PACKAGE=runtime MOUNT= ${.CURDIR}/../../sbin/mount .PATH: ${MOUNT} PROG= df SRCS= df.c vfslist.c CFLAGS+= -I${MOUNT} LIBADD= xo util .include Index: projects/release-pkg/bin/domainname/Makefile =================================================================== --- projects/release-pkg/bin/domainname/Makefile (revision 295438) +++ projects/release-pkg/bin/domainname/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= domainname .include Index: projects/release-pkg/bin/echo/Makefile =================================================================== --- projects/release-pkg/bin/echo/Makefile (revision 295438) +++ projects/release-pkg/bin/echo/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= echo .include Index: projects/release-pkg/bin/ed/Makefile =================================================================== --- projects/release-pkg/bin/ed/Makefile (revision 295438) +++ projects/release-pkg/bin/ed/Makefile (revision 295439) @@ -1,15 +1,16 @@ # $FreeBSD$ .include +PACKAGE=runtime PROG= ed SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 .if ${MK_OPENSSL} != "no" && ${MK_ED_CRYPTO} != "no" CFLAGS+=-DDES LIBADD= crypto .endif .include Index: projects/release-pkg/bin/expr/Makefile =================================================================== --- projects/release-pkg/bin/expr/Makefile (revision 295438) +++ projects/release-pkg/bin/expr/Makefile (revision 295439) @@ -1,18 +1,19 @@ # $FreeBSD$ .include +PACKAGE=runtime PROG= expr SRCS= expr.y YFLAGS= # expr relies on signed integer wrapping CFLAGS+= -fwrapv NO_WMISSING_VARIABLE_DECLARATIONS= .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/freebsd-version/Makefile =================================================================== --- projects/release-pkg/bin/freebsd-version/Makefile (revision 295438) +++ projects/release-pkg/bin/freebsd-version/Makefile (revision 295439) @@ -1,19 +1,20 @@ # $FreeBSD$ +PACKAGE=runtime SCRIPTS = freebsd-version MAN = freebsd-version.1 CLEANFILES = freebsd-version freebsd-version.sh NEWVERS = ${.CURDIR}/../../sys/conf/newvers.sh freebsd-version.sh: ${.CURDIR}/freebsd-version.sh.in ${NEWVERS} eval $$(egrep '^(TYPE|REVISION|BRANCH)=' ${NEWVERS}) ; \ if ! sed -e "\ s/@@TYPE@@/$${TYPE}/g; \ s/@@REVISION@@/$${REVISION}/g; \ s/@@BRANCH@@/$${BRANCH}/g; \ " ${.CURDIR}/freebsd-version.sh.in >${.TARGET} ; then \ rm -f ${.TARGET} ; \ exit 1 ; \ fi .include Index: projects/release-pkg/bin/getfacl/Makefile =================================================================== --- projects/release-pkg/bin/getfacl/Makefile (revision 295438) +++ projects/release-pkg/bin/getfacl/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= getfacl .include Index: projects/release-pkg/bin/hostname/Makefile =================================================================== --- projects/release-pkg/bin/hostname/Makefile (revision 295438) +++ projects/release-pkg/bin/hostname/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= hostname .include Index: projects/release-pkg/bin/kenv/Makefile =================================================================== --- projects/release-pkg/bin/kenv/Makefile (revision 295438) +++ projects/release-pkg/bin/kenv/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= kenv .include Index: projects/release-pkg/bin/kill/Makefile =================================================================== --- projects/release-pkg/bin/kill/Makefile (revision 295438) +++ projects/release-pkg/bin/kill/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= kill .include Index: projects/release-pkg/bin/ln/Makefile =================================================================== --- projects/release-pkg/bin/ln/Makefile (revision 295438) +++ projects/release-pkg/bin/ln/Makefile (revision 295439) @@ -1,10 +1,11 @@ # @(#)Makefile 8.2 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= ln MAN= ln.1 symlink.7 LINKS= ${BINDIR}/ln ${BINDIR}/link MLINKS= ln.1 link.1 .include Index: projects/release-pkg/bin/ls/Makefile =================================================================== --- projects/release-pkg/bin/ls/Makefile (revision 295438) +++ projects/release-pkg/bin/ls/Makefile (revision 295439) @@ -1,20 +1,21 @@ # @(#)Makefile 8.1 (Berkeley) 6/2/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= ls SRCS= cmp.c ls.c print.c util.c LIBADD= xo util .if !defined(RELEASE_CRUNCH) && \ ${MK_LS_COLORS} != no CFLAGS+= -DCOLORLS LIBADD+= termcapw .endif .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/mkdir/Makefile =================================================================== --- projects/release-pkg/bin/mkdir/Makefile (revision 295438) +++ projects/release-pkg/bin/mkdir/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= mkdir .include Index: projects/release-pkg/bin/mv/Makefile =================================================================== --- projects/release-pkg/bin/mv/Makefile (revision 295438) +++ projects/release-pkg/bin/mv/Makefile (revision 295439) @@ -1,12 +1,13 @@ # @(#)Makefile 8.2 (Berkeley) 4/2/94 # $FreeBSD$ .include +PACKAGE=runtime PROG= mv .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/pax/Makefile =================================================================== --- projects/release-pkg/bin/pax/Makefile (revision 295438) +++ projects/release-pkg/bin/pax/Makefile (revision 295439) @@ -1,39 +1,40 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include # To install on versions prior to BSD 4.4 the following may have to be # defined with CFLAGS += # # -DNET2_STAT Use NET2 or older stat structure. The version of the # stat structure is easily determined by looking at the # basic type of an off_t (often defined in the file: # /usr/include/sys/types.h). If off_t is a long (and is # NOT A quad) then you must define NET2_STAT. # This define is important, as if you do have a quad_t # off_t and define NET2_STAT, pax will compile but will # NOT RUN PROPERLY. # # -DNET2_FTS Use the older NET2 fts. To identify the version, # examine the file: /usr/include/fts.h. If FTS_COMFOLLOW # is not defined then you must define NET2_FTS. # Pax may not compile if this not (un)defined properly. # # -DNET2_REGEX Use the older regexp.h not regex.h. The regex version # is determined by looking at the value returned by # regexec() (man 3 regexec). If regexec return a 1 for # success (and NOT a 0 for success) you have the older # regex routines and must define NET2_REGEX. # Pax may not compile if this not (un)defined properly. +PACKAGE=runtime PROG= pax SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \ gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \ tables.c tar.c tty_subs.c .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/pkill/Makefile =================================================================== --- projects/release-pkg/bin/pkill/Makefile (revision 295438) +++ projects/release-pkg/bin/pkill/Makefile (revision 295439) @@ -1,25 +1,26 @@ # $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $ # $FreeBSD$ .include +PACKAGE=runtime PROG= pkill LIBADD= kvm jail LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep MLINKS= pkill.1 pgrep.1 # # If considering retirement of these compatibility symlinks, # keep in mind that pkill is installed to /usr/bin in other # OS types, e.g., NetBSD, OpenBSD, Solaris, and Linux. # SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/ps/Makefile =================================================================== --- projects/release-pkg/bin/ps/Makefile (revision 295438) +++ projects/release-pkg/bin/ps/Makefile (revision 295439) @@ -1,16 +1,17 @@ # $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/2/93 +PACKAGE=runtime PROG= ps SRCS= fmt.c keyword.c nlist.c print.c ps.c # # To support "lazy" ps for non root/wheel users # add -DLAZY_PS to the cflags. This helps # keep ps from being an unnecessary load # on large systems. # CFLAGS+=-DLAZY_PS LIBADD= m kvm jail xo .include Index: projects/release-pkg/bin/pwait/Makefile =================================================================== --- projects/release-pkg/bin/pwait/Makefile (revision 295438) +++ projects/release-pkg/bin/pwait/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= pwait .include Index: projects/release-pkg/bin/pwd/Makefile =================================================================== --- projects/release-pkg/bin/pwd/Makefile (revision 295438) +++ projects/release-pkg/bin/pwd/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= pwd .include Index: projects/release-pkg/bin/realpath/Makefile =================================================================== --- projects/release-pkg/bin/realpath/Makefile (revision 295438) +++ projects/release-pkg/bin/realpath/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= realpath .include Index: projects/release-pkg/bin/rm/Makefile =================================================================== --- projects/release-pkg/bin/rm/Makefile (revision 295438) +++ projects/release-pkg/bin/rm/Makefile (revision 295439) @@ -1,9 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= rm LINKS= ${BINDIR}/rm ${BINDIR}/unlink MLINKS= rm.1 unlink.1 .include Index: projects/release-pkg/bin/rmdir/Makefile =================================================================== --- projects/release-pkg/bin/rmdir/Makefile (revision 295438) +++ projects/release-pkg/bin/rmdir/Makefile (revision 295439) @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= rmdir .include Index: projects/release-pkg/bin/setfacl/Makefile =================================================================== --- projects/release-pkg/bin/setfacl/Makefile (revision 295438) +++ projects/release-pkg/bin/setfacl/Makefile (revision 295439) @@ -1,6 +1,7 @@ # $FreeBSD$ +PACKAGE=runtime PROG= setfacl SRCS= file.c mask.c merge.c remove.c setfacl.c util.c .include Index: projects/release-pkg/bin/sh/Makefile =================================================================== --- projects/release-pkg/bin/sh/Makefile (revision 295438) +++ projects/release-pkg/bin/sh/Makefile (revision 295439) @@ -1,67 +1,68 @@ # @(#)Makefile 8.4 (Berkeley) 5/5/95 # $FreeBSD$ .include +PACKAGE=runtime PROG= sh INSTALLFLAGS= -S SHSRCS= alias.c arith_yacc.c arith_yylex.c cd.c echo.c error.c eval.c \ exec.c expand.c \ histedit.c input.c jobs.c kill.c mail.c main.c memalloc.c miscbltin.c \ mystring.c options.c output.c parser.c printf.c redir.c show.c \ test.c trap.c var.c GENSRCS= builtins.c nodes.c syntax.c GENHDRS= builtins.h nodes.h syntax.h token.h SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} # MLINKS for Shell built in commands for which there are no userland # utilities of the same name are handled with the associated manpage, # builtin.1 in share/man/man1/. LIBADD= edit CFLAGS+=-DSHELL -I. -I${.CURDIR} # for debug: # DEBUG_FLAGS+= -g -DDEBUG=2 -fno-inline WARNS?= 2 WFORMAT=0 .PATH: ${.CURDIR}/bltin \ ${.CURDIR}/../kill \ ${.CURDIR}/../test \ ${.CURDIR}/../../usr.bin/printf CLEANFILES+= mknodes mknodes.o \ mksyntax mksyntax.o CLEANFILES+= ${GENSRCS} ${GENHDRS} build-tools: mknodes mksyntax .ORDER: builtins.c builtins.h builtins.c builtins.h: mkbuiltins builtins.def sh ${.CURDIR}/mkbuiltins ${.CURDIR} # XXX this is just to stop the default .c rule being used, so that the # intermediate object has a fixed name. # XXX we have a default .c rule, but no default .o rule. .o: ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} mknodes: mknodes.o mksyntax: mksyntax.o .ORDER: nodes.c nodes.h nodes.c nodes.h: mknodes nodetypes nodes.c.pat ./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat .ORDER: syntax.c syntax.h syntax.c syntax.h: mksyntax ./mksyntax token.h: mktokens sh ${.CURDIR}/mktokens .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/sleep/Makefile =================================================================== --- projects/release-pkg/bin/sleep/Makefile (revision 295438) +++ projects/release-pkg/bin/sleep/Makefile (revision 295439) @@ -1,12 +1,13 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= sleep .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/stty/Makefile =================================================================== --- projects/release-pkg/bin/stty/Makefile (revision 295438) +++ projects/release-pkg/bin/stty/Makefile (revision 295439) @@ -1,7 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= stty SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c .include Index: projects/release-pkg/bin/sync/Makefile =================================================================== --- projects/release-pkg/bin/sync/Makefile (revision 295438) +++ projects/release-pkg/bin/sync/Makefile (revision 295439) @@ -1,7 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +PACKAGE=runtime PROG= sync MAN= sync.8 .include Index: projects/release-pkg/bin/test/Makefile =================================================================== --- projects/release-pkg/bin/test/Makefile (revision 295438) +++ projects/release-pkg/bin/test/Makefile (revision 295439) @@ -1,14 +1,15 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ .include +PACKAGE=runtime PROG= test LINKS= ${BINDIR}/test ${BINDIR}/[ MLINKS= test.1 [.1 .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: projects/release-pkg/bin/uuidgen/Makefile =================================================================== --- projects/release-pkg/bin/uuidgen/Makefile (revision 295438) +++ projects/release-pkg/bin/uuidgen/Makefile (revision 295439) @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE=runtime PROG= uuidgen .include