diff --git a/lib/libpam/modules/pam_lastlog/Makefile b/lib/libpam/modules/pam_lastlog/Makefile index 9f0e07f767ea..60b80b213752 100644 --- a/lib/libpam/modules/pam_lastlog/Makefile +++ b/lib/libpam/modules/pam_lastlog/Makefile @@ -1,31 +1,33 @@ # Copyright 2001 Mark R V Murray # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_lastlog SRCS= pam_lastlog.c MAN= pam_lastlog.8 .include diff --git a/lib/libpam/modules/pam_login_access/Makefile b/lib/libpam/modules/pam_login_access/Makefile index 5679a62f7fba..f94fe6e1ef7d 100644 --- a/lib/libpam/modules/pam_login_access/Makefile +++ b/lib/libpam/modules/pam_login_access/Makefile @@ -1,31 +1,33 @@ # Copyright 2001 Mark R V Murray # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_login_access SRCS= pam_login_access.c login_access.c MAN= login.access.5 pam_login_access.8 .include diff --git a/lib/libpam/modules/pam_nologin/Makefile b/lib/libpam/modules/pam_nologin/Makefile index 746e9e8882ee..37b05d82f6ca 100644 --- a/lib/libpam/modules/pam_nologin/Makefile +++ b/lib/libpam/modules/pam_nologin/Makefile @@ -1,33 +1,35 @@ # Copyright 2001 Mark R V Murray # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_nologin SRCS= pam_nologin.c MAN= pam_nologin.8 LIBADD+= util .include diff --git a/lib/libpam/modules/pam_opie/Makefile b/lib/libpam/modules/pam_opie/Makefile index c2074bf3cbf3..5df10af706ec 100644 --- a/lib/libpam/modules/pam_opie/Makefile +++ b/lib/libpam/modules/pam_opie/Makefile @@ -1,34 +1,36 @@ # Copyright 2000 James Bloom # All rights reserved. # Based upon code Copyright 1998 Juniper Networks, Inc. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_opie SRCS= pam_opie.c MAN= pam_opie.8 LIBADD+= opie .include diff --git a/lib/libpam/modules/pam_opieaccess/Makefile b/lib/libpam/modules/pam_opieaccess/Makefile index 2e764cd43a5b..426bd8216ce4 100644 --- a/lib/libpam/modules/pam_opieaccess/Makefile +++ b/lib/libpam/modules/pam_opieaccess/Makefile @@ -1,9 +1,11 @@ # $FreeBSD$ +PACKAGE= runtime + LIB= pam_opieaccess SRCS= ${LIB}.c MAN= pam_opieaccess.8 LIBADD+= opie .include diff --git a/lib/libpam/modules/pam_securetty/Makefile b/lib/libpam/modules/pam_securetty/Makefile index 8eb3e6e7a6d1..7bd27c32efb7 100644 --- a/lib/libpam/modules/pam_securetty/Makefile +++ b/lib/libpam/modules/pam_securetty/Makefile @@ -1,31 +1,33 @@ # Copyright 2001 Mark R V Murray # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_securetty SRCS= pam_securetty.c MAN= pam_securetty.8 .include diff --git a/lib/libpam/modules/pam_self/Makefile b/lib/libpam/modules/pam_self/Makefile index 50718e179846..e0e43ac19787 100644 --- a/lib/libpam/modules/pam_self/Makefile +++ b/lib/libpam/modules/pam_self/Makefile @@ -1,31 +1,33 @@ # Copyright 2001 Mark R V Murray # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ +PACKAGE= runtime + LIB= pam_self SRCS= pam_self.c MAN= pam_self.8 .include diff --git a/lib/libpam/modules/pam_unix/Makefile b/lib/libpam/modules/pam_unix/Makefile index 5330ae4a5f98..639afd79cedb 100644 --- a/lib/libpam/modules/pam_unix/Makefile +++ b/lib/libpam/modules/pam_unix/Makefile @@ -1,51 +1,53 @@ # Copyright 1998 Juniper Networks, Inc. # All rights reserved. # Copyright (c) 2002 Networks Associates Technology, Inc. # All rights reserved. # # Portions of this software was developed for the FreeBSD Project by # ThinkSec AS and NAI Labs, the Security Research Division of Network # Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 # ("CBOSS"), as part of the DARPA CHATS research program. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ .include .include +PACKAGE= runtime + LIB= pam_unix SRCS= pam_unix.c MAN= pam_unix.8 LIBADD+= util crypt .if ${MK_NIS} != "no" CFLAGS+= -DYP LIBADD+= ypclnt .endif .include diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile index ca9691714091..1499f916cb17 100644 --- a/lib/libpam/pam.d/Makefile +++ b/lib/libpam/pam.d/Makefile @@ -1,41 +1,43 @@ # $FreeBSD$ .include +PACKAGE= runtime + NO_OBJ= CONFGROUPS= CONFS CONFS= README \ cron \ imap \ login \ other \ passwd pop3 \ sshd su system \ xdm CONFDIR= /etc/pam.d CONFSMODE_README= 444 .if ${MK_AT} != "no" CONFGROUPS+= AT AT+= atrun ATPACKAGE+= at .endif .if ${MK_FTP} != "no" CONFGROUPS+= FTP FTP+= ftpd FTPPACKAGE= ftp afterinstallconfig: ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd ${DESTDIR}${CONFDIR}/ftp .endif .if ${MK_TELNET} != "no" CONFGROUPS+= TELNET TELNET+= telnetd TELNETPACKAGE= telnet .endif .include diff --git a/lib/libregex/Makefile b/lib/libregex/Makefile index 5bf248801b32..36c8b778d394 100644 --- a/lib/libregex/Makefile +++ b/lib/libregex/Makefile @@ -1,21 +1,23 @@ # $FreeBSD$ .include +PACKAGE= runtime + LIB= regex SHLIB_MAJOR= 1 SHLIB_MINOR= 0 CFLAGS+= -DLIBREGEX LIBC_SRCTOP= ${.CURDIR:H}/libc WARNS?= 2 VERSION_DEF= ${.CURDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include "../Makefile.inc" .include "${LIBC_SRCTOP}/regex/Makefile.inc" .include diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile index 35669a5e3570..7ee85d93b310 100644 --- a/lib/librpcsvc/Makefile +++ b/lib/librpcsvc/Makefile @@ -1,42 +1,44 @@ # from: @(#)Makefile 5.10 (Berkeley) 6/24/90 # $FreeBSD$ .include .PATH: ${SRCTOP}/include/rpcsvc +PACKAGE= runtime + LIB= rpcsvc RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \ rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \ ypupdate_prot.x OTHERSRCS= rnusers.c rstat.c rwall.c SECRPCSRCS= secretkey.c xcrypt.c .if ${MK_NIS} != "no" OTHERSRCS+= yp_passwd.c yp_update.c .endif RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C INCDIRS= -I${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc CFLAGS+= -DYP ${INCDIRS} GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g} SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS} CLEANFILES+= ${GENSRCS} WARNS?= 1 .include .SUFFIXES: .x _xdr.c .x_xdr.c: ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET} OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \ ${OTHERSRCS:R:S/$/.o/g} diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile index f45e8f9dda6b..71559b17e6ad 100644 --- a/lib/libwrap/Makefile +++ b/lib/libwrap/Makefile @@ -1,39 +1,41 @@ # # $FreeBSD$ # .include +PACKAGE= runtime + CONFS= hosts.allow LIB= wrap SHLIB_MAJOR= 6 INCS= tcpd.h MAN= hosts_access.3 MAN+= hosts_access.5 hosts_options.5 MLINKS= hosts_access.3 hosts_ctl.3 \ hosts_access.3 request_init.3 \ hosts_access.3 request_set.3 \ hosts_options.5 hosts.allow.5 .PATH: ${SRCTOP}/contrib/tcp_wrappers CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ -DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" -DPROCESS_OPTIONS \ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS .if ${MK_NIS} == "no" CFLAGS+= -DUSE_GETDOMAIN .endif .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif WARNS?= 0 SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ socket.c tli.c update.c workarounds.c libvars.c .include diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile index 41a4325e163b..c3e6b23249c4 100644 --- a/lib/libypclnt/Makefile +++ b/lib/libypclnt/Makefile @@ -1,55 +1,55 @@ # $FreeBSD$ -PACKAGE= yp +PACKAGE= runtime LIB= ypclnt SHLIB_MAJOR= 4 SRCS= ypclnt_connect.c \ ypclnt_error.c \ ypclnt_free.c \ ypclnt_new.c \ ypclnt_passwd.c \ ${GENSRCS} CLEANFILES+= ${GENSRCS} INCS= ypclnt.h CFLAGS+= -I. GENSRCS=yp.h \ yp_clnt.c \ yppasswd.h \ yppasswd_xdr.c \ yppasswd_clnt.c \ yppasswd_private.h \ yppasswd_private_clnt.c \ yppasswd_private_xdr.c RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C RPCSRC= ${SRCTOP}/include/rpcsvc/yp.x RPCSRC_PW= ${SRCTOP}/include/rpcsvc/yppasswd.x RPCSRC_PRIV= ${SRCTOP}/usr.sbin/rpc.yppasswdd/yppasswd_private.x yp.h: ${RPCSRC} ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} yp_clnt.c: ${RPCSRC} ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} yppasswd.h: ${RPCSRC_PW} ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} yppasswd_xdr.c: ${RPCSRC_PW} ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW} yppasswd_clnt.c: ${RPCSRC_PW} ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} yppasswd_private.h: ${RPCSRC_PRIV} ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} yppasswd_private_xdr.c: ${RPCSRC_PRIV} ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} yppasswd_private_clnt.c: ${RPCSRC_PRIV} ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} .include diff --git a/libexec/getty/Makefile b/libexec/getty/Makefile index a65d1d7da981..0296e455f398 100644 --- a/libexec/getty/Makefile +++ b/libexec/getty/Makefile @@ -1,13 +1,15 @@ # from: @(#)Makefile 8.1 (Berkeley) 6/4/93 # $FreeBSD$ +PACKAGE= runtime + CONFS= gettytab PROG= getty SRCS= main.c init.c subr.c chat.c LIBADD= util MAN= gettytab.5 ttys.5 getty.8 WFORMAT=0 .include diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile index 8120126807ce..ffc0a9a65a27 100644 --- a/sbin/devd/Makefile +++ b/sbin/devd/Makefile @@ -1,50 +1,50 @@ # $FreeBSD$ .include WARNS?= 3 -PACKAGE=utilities +PACKAGE=runtime CONFGROUPS= CONFS DEVD CONFS= devd.conf DEVD= devmatch.conf DEVDDIR= /etc/devd .if ${MK_ACPI} != "no" DEVD+= asus.conf .endif .if ${MK_HYPERV} != "no" DEVD+= hyperv.conf .endif .if ${MK_USB} != "no" DEVD+= uath.conf ulpt.conf .endif .if ${MACHINE_ARCH} == "powerpc" DEVD+= apple.conf .endif .if ${MK_ZFS} != "no" DEVD+= zfs.conf .endif PROG_CXX=devd SRCS= devd.cc token.l parse.y y.tab.h MAN= devd.8 devd.conf.5 NO_SHARED?=YES LIBADD= util YFLAGS+=-v CFLAGS+=-I. -I${.CURDIR} CFLAGS.clang += -Wno-missing-variable-declarations CFLAGS.gcc = -Wno-redundant-decls CXXFLAGS.gcc = -Wno-redundant-decls CLEANFILES= y.output y.tab.i HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.bin/env/Makefile b/usr.bin/env/Makefile index 14c3d4cca3f3..f672ce77f4dd 100644 --- a/usr.bin/env/Makefile +++ b/usr.bin/env/Makefile @@ -1,9 +1,10 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +PACKAGE= runtime PROG= env SRCS= env.c envopts.c LIBADD= util .include diff --git a/usr.bin/find/Makefile b/usr.bin/find/Makefile index b227c95509f6..b93fdba5bd4f 100644 --- a/usr.bin/find/Makefile +++ b/usr.bin/find/Makefile @@ -1,17 +1,19 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include +PACKAGE= runtime + PROG= find SRCS= find.c function.c ls.c main.c misc.c operator.c option.c \ getdate.y YFLAGS= CFLAGS.clang+= -Werror=undef NO_WMISSING_VARIABLE_DECLARATIONS= HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile index a6f61b4f9f01..661efbd9f0ac 100644 --- a/usr.bin/grep/Makefile +++ b/usr.bin/grep/Makefile @@ -1,60 +1,62 @@ # $NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $ # $FreeBSD$ # $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $ .include +PACKAGE= runtime + PROG= grep MAN1= grep.1 zgrep.1 SRCS= file.c grep.c queue.c util.c SCRIPTS= zgrep.sh LINKS= ${BINDIR}/zgrep ${BINDIR}/zfgrep \ ${BINDIR}/zgrep ${BINDIR}/zegrep \ ${BINDIR}/zgrep ${BINDIR}/bzgrep \ ${BINDIR}/zgrep ${BINDIR}/bzegrep \ ${BINDIR}/zgrep ${BINDIR}/bzfgrep \ ${BINDIR}/zgrep ${BINDIR}/lzgrep \ ${BINDIR}/zgrep ${BINDIR}/lzegrep \ ${BINDIR}/zgrep ${BINDIR}/lzfgrep \ ${BINDIR}/zgrep ${BINDIR}/xzgrep \ ${BINDIR}/zgrep ${BINDIR}/xzegrep \ ${BINDIR}/zgrep ${BINDIR}/xzfgrep \ ${BINDIR}/zgrep ${BINDIR}/zstdgrep \ ${BINDIR}/zgrep ${BINDIR}/zstdegrep \ ${BINDIR}/zgrep ${BINDIR}/zstdfgrep LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ ${BINDIR}/grep ${BINDIR}/fgrep \ ${BINDIR}/grep ${BINDIR}/rgrep \ MLINKS= zgrep.1 zfgrep.1 \ zgrep.1 zegrep.1 \ zgrep.1 bzgrep.1 \ zgrep.1 bzegrep.1 \ zgrep.1 bzfgrep.1 \ zgrep.1 lzgrep.1 \ zgrep.1 lzegrep.1 \ zgrep.1 lzfgrep.1 \ zgrep.1 xzgrep.1 \ zgrep.1 xzegrep.1 \ zgrep.1 xzfgrep.1 \ zgrep.1 zstdgrep.1 \ zgrep.1 zstdegrep.1 \ zgrep.1 zstdfgrep.1 MLINKS+= grep.1 egrep.1 \ grep.1 fgrep.1 \ grep.1 rgrep.1 CFLAGS.gcc+= --param max-inline-insns-single=500 .if !defined(BOOTSTRAPPING) LIBADD+= regex .endif HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile index 07cabd05837f..f2592aa1ac33 100644 --- a/usr.bin/id/Makefile +++ b/usr.bin/id/Makefile @@ -1,15 +1,17 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include +PACKAGE= runtime + PROG= id LINKS= ${BINDIR}/id ${BINDIR}/groups LINKS+= ${BINDIR}/id ${BINDIR}/whoami MAN= id.1 groups.1 whoami.1 .if ${MK_AUDIT} != "no" CFLAGS+= -DUSE_BSM_AUDIT .endif .include diff --git a/usr.bin/limits/Makefile b/usr.bin/limits/Makefile index 68e540df3a49..b3471cce40ed 100644 --- a/usr.bin/limits/Makefile +++ b/usr.bin/limits/Makefile @@ -1,11 +1,13 @@ # $FreeBSD$ .include +PACKAGE= runtime + PROG= limits LIBADD= util HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.bin/logger/Makefile b/usr.bin/logger/Makefile index c40baf2e3dc0..14663709632a 100644 --- a/usr.bin/logger/Makefile +++ b/usr.bin/logger/Makefile @@ -1,18 +1,20 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include +PACKAGE= runtime + PROG= logger .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_syslog CFLAGS+=-DWITH_CASPER .endif .include diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 2e8b215a4492..c876434dcc2e 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -1,35 +1,37 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 # $FreeBSD$ .include .include +PACKAGE= runtime + CONFS= fbtab login.conf motd.template login.access PROG= login SRCS= login.c login_fbtab.c CFLAGS+=-DLOGALL LIBADD= util pam WARNS?= 5 .if ${MK_AUDIT} != "no" SRCS+= login_audit.c CFLAGS+= -DUSE_BSM_AUDIT LIBADD+= bsm .endif .if ${MK_SETUID_LOGIN} != "no" BINOWN= root BINMODE=4555 PRECIOUSPROG= .endif .include afterinstallconfig: ${CAP_MKDB_CMD} ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf .if defined(NO_ROOT) && defined(METALOG) echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel" | \ cat -l >> ${METALOG} .endif .include diff --git a/usr.bin/mktemp/Makefile b/usr.bin/mktemp/Makefile index 76ebee6f360b..0e23063431c2 100644 --- a/usr.bin/mktemp/Makefile +++ b/usr.bin/mktemp/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +PACKAGE= runtime + PROG= mktemp .include diff --git a/usr.bin/xargs/Makefile b/usr.bin/xargs/Makefile index 04cc44840a63..a795582348c6 100644 --- a/usr.bin/xargs/Makefile +++ b/usr.bin/xargs/Makefile @@ -1,12 +1,14 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include +PACKAGE= runtime + PROG= xargs SRCS= xargs.c strnsubst.c HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile index 4bc0d006cb98..ce70cb882190 100644 --- a/usr.bin/xinstall/Makefile +++ b/usr.bin/xinstall/Makefile @@ -1,20 +1,22 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include +PACKAGE= runtime + PROG= xinstall PROGNAME= install SRCS= xinstall.c getid.c MAN= install.1 .PATH: ${SRCTOP}/contrib/mtree CFLAGS+= -I${SRCTOP}/contrib/mtree CFLAGS+= -I${SRCTOP}/lib/libnetbsd LIBADD= md HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include diff --git a/usr.sbin/service/Makefile b/usr.sbin/service/Makefile index a03714dc6f91..e8432f5aabf8 100644 --- a/usr.sbin/service/Makefile +++ b/usr.sbin/service/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ +PACKAGE= runtime SCRIPTS=service.sh MAN= service.8 .include diff --git a/usr.sbin/utx/Makefile b/usr.sbin/utx/Makefile index 78c4f90160be..8177d3fe7832 100644 --- a/usr.sbin/utx/Makefile +++ b/usr.sbin/utx/Makefile @@ -1,6 +1,8 @@ # $FreeBSD$ +PACKAGE= runtime + PROG= utx MAN= utx.8 .include