style.Makefile(5)

This commit is contained in:
obrien 2003-04-04 17:49:21 +00:00
parent 5468286a89
commit a920d12f89
73 changed files with 133 additions and 118 deletions

View File

@ -31,7 +31,6 @@ RPCCOM= rpcgen
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif

View File

@ -1,12 +1,12 @@
# $FreeBSD$
PROG= ancontrol
MAN= ancontrol.8
PROG= ancontrol
MAN= ancontrol.8
CFLAGS+= -I${.CURDIR}/../../sys -DANCACHE
DPADD= ${LIBMD}
LDADD= -lmd
WARNS?= 2
CFLAGS+= -DANCACHE -I${.CURDIR}/../../sys
WARNS?= 2
DPADD= ${LIBMD}
LDADD= -lmd
.include <bsd.prog.mk>

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PROG= apm
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
MAN= apm.8
MLINKS= apm.8 apmconf.8 apm.8 zzz.8
PROG= apm
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
MAN= apm.8
MLINKS= apm.8 apmconf.8 apm.8 zzz.8
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= arp
WARNS?= 2
MAN= arp.4 arp.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= boot0cfg
WARNS?= 2
MAN= boot0cfg.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG= cdcontrol
WARNS?= 2
DPADD= ${LIBEDIT} ${LIBTERMCAP}

View File

@ -3,7 +3,8 @@
PROG= chown
LINKS= ${BINDIR}/chown /usr/bin/chgrp
WARNS?= 2
MAN= chgrp.1 chown.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= chroot
WARNS?= 2
MAN= chroot.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -7,15 +7,15 @@
#
# $FreeBSD$
PROG= ctm
MAN= ctm.1 ctm.5
SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \
ctm_passb.c ctm_syntax.c ctm_ed.c
PROG= ctm
MAN= ctm.1 ctm.5
SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \
ctm_passb.c ctm_syntax.c ctm_ed.c
NOTYET= ctm_ed.c
NOTYET= ctm_ed.c
LDADD= -lmd
DPADD= ${LIBMD}
LDADD= -lmd
DPADD= ${LIBMD}
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PROG= ctm_rmail
SRCS= ctm_rmail.c error.c
MLINKS+= ctm_rmail.1 ctm_smail.1
MLINKS+= ctm_rmail.1 ctm_dequeue.1
PROG= ctm_rmail
MLINKS= ctm_rmail.1 ctm_smail.1 \
ctm_rmail.1 ctm_dequeue.1
SRCS= ctm_rmail.c error.c
.include <bsd.prog.mk>

View File

@ -4,6 +4,7 @@ PROG= mkctm
NOMAN= 1
SRCS= mkctm.c
DPADD= ${LIBMD}
LDADD= -lmd
test: mkctm

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= daemon
WARNS?= 2
MAN= daemon.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= digictl
WARNS?= 2
MAN= digictl.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= edquota
WARNS?= 4
MAN= edquota.8
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= extattrctl
WARNS?= 2
MAN= extattrctl.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,12 +1,12 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../fdread
.PATH: ${.CURDIR}/../fdread
PROG= fdcontrol
SRCS= fdcontrol.c fdutil.c
MAN= fdcontrol.8
WARNS?= 2
CFLAGS+= -I${.CURDIR}/../fdread
CFLAGS+= -I${.CURDIR}/../fdread
.include <bsd.prog.mk>

View File

@ -7,14 +7,14 @@ SRCS= rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
exec.c dial.c monitor.c pcause.c controller.c alias.c \
y.tab.h holiday.c
COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
# compile debug support
COPTS+= -DDEBUG
# enable rtprio usage
COPTS+= -DUSE_RTPRIO
COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
.include "${.CURDIR}/../Makefile.inc"
.if !defined(I4B_WITHOUT_CURSES)

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PROG= isdnmonitor
SRCS= main.c curses.c
MAN= isdnmonitor.8
SRCS= main.c curses.c
# compile debug support
COPTS+= -DDEBUG

View File

@ -5,7 +5,7 @@ PROG= ifmcstat
MAN= ifmcstat.8
BINMODE= 550
LDADD= -lkvm
DPADD= ${LIBKVM}
LDADD= -lkvm
.include <bsd.prog.mk>

View File

@ -4,8 +4,9 @@
MAINTAINER= ken@FreeBSD.ORG
PROG= iostat
DPADD= ${LIBKVM} ${LIBDEVSTAT} ${LIBM}
LDADD= -lkvm -ldevstat -lm
MAN= iostat.8
DPADD= ${LIBKVM} ${LIBDEVSTAT} ${LIBM}
LDADD= -lkvm -ldevstat -lm
.include <bsd.prog.mk>

View File

@ -5,11 +5,10 @@ MAN= kbdcontrol.1 kbdmap.5
MLINKS= kbdmap.5 keymap.5
SRCS= kbdcontrol.c lex.l
WARNS?= 4
CFLAGS+= -I${.CURDIR}
DPADD= ${LIBL}
LDADD= -ll
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -1,9 +1,10 @@
# $FreeBSD$
PROG= kldxref
SRCS= kldxref.c ef.c
WARNS?= 2
MAN= kldxref.8
SRCS= kldxref.c ef.c
WARNS?= 2
.if exists(ef_${MACHINE_ARCH}.c)
SRCS+= ef_${MACHINE_ARCH}.c

View File

@ -2,8 +2,8 @@
MAINTAINER= dougb@FreeBSD.org
SCRIPTS= mergemaster.sh
MAN= mergemaster.8
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= mountd
WARNS= 0
MAN= exports.5 netgroup.5 mountd.8
WARNS?= 0
.include <bsd.prog.mk>

View File

@ -10,6 +10,6 @@ SRCS= mapper.c
CFLAGS+= -I$S
DPADD= ${LIBMROUTED}
LDADD= ${LIBMROUTED}
LDADD= ../common/libmrouted.a
.include <bsd.prog.mk>

View File

@ -11,6 +11,6 @@ BINMODE= 4555
CFLAGS+= -I$S
DPADD= ${LIBMROUTED}
LDADD= ${LIBMROUTED}
LDADD= ../common/libmrouted.a
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
USE_LIBBIND= true
.include "${.CURDIR}/Makefile.inc"
.PATH: ${BIND_DIR}/bin/named
.PATH: ${BIND_DIR}/doc/man
.PATH: ${BIND_DIR}/bin/named ${BIND_DIR}/doc/man
PROG= named
MAN= named.conf.5 named.8 named-bootconf.8 nsupdate.8
@ -18,14 +17,14 @@ SRCS= tmp_version.c pathnames.h \
ns_sort.c ns_notify.c
.if exists(${.OBJDIR}/../../lib/libisc)
LIBISCDIR:= ${.OBJDIR}/../../lib/libisc
LIBISCDIR:= ${.OBJDIR}/../../lib/libisc
.else
LIBISCDIR!= cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
LIBISCDIR!= cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
.endif
LIBISC:= ${LIBISCDIR}/libisc.a
LIBISC:= ${LIBISCDIR}/libisc.a
DPADD+= ${LIBISC}
LDADD+= ${LIBISC}
DPADD+= ${LIBISC}
LDADD+= -lisc
HTMLS= acl.html address_list.html comments.html config.html controls.html \
docdef.html example.html include.html index.html key.html \

View File

@ -55,5 +55,5 @@ pathnames.h: ${BIND_DIR}/bin/named/pathtemplate.h \
.endif
.include "Makefile.maninc"
.include "Makefile.maninc"
.endif

View File

@ -3,8 +3,7 @@
USE_LIBBIND= true
.include "${.CURDIR}/../named/Makefile.inc"
.PATH: ${BIND_DIR}/bin/ndc
.PATH: ${BIND_DIR}/doc/man
.PATH: ${BIND_DIR}/bin/ndc ${BIND_DIR}/doc/man
PROG= ndc
MAN= ndc.8

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= nfsd
WARNS= 0
MAN= nfsd.8
WARNS?= 0
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
USE_LIBBIND= yes
.include "${.CURDIR}/../named/Makefile.inc"
.PATH: ${BIND_DIR}/bin/nslookup
.PATH: ${BIND_DIR}/doc/man
.PATH: ${BIND_DIR}/bin/nslookup ${BIND_DIR}/doc/man
PROG= nslookup
MAN= nslookup.8
@ -13,8 +12,8 @@ SRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c commands.l
CFLAGS+= -D_PATH_HELPFILE=\"${DESTHELP}/nslookup.help\"
CFLAGS+= -I${.CURDIR}/../../contrib/bind/bin/nslookup
LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
LDADD+= -ll -ledit -ltermcap
FILES= nslookup.help
FILESDIR= ${DESTHELP}

View File

@ -3,20 +3,20 @@
.PATH: ${.CURDIR}/../../../contrib/ntp/libntp
LIB= ntp
INTERNALLIB= true
INTERNALLIB= true
SRCS= a_md5encrypt.c adjtime.c atoint.c atolfp.c \
atouint.c audio.c authencrypt.c authkeys.c \
atouint.c audio.c authencrypt.c authkeys.c \
authparity.c authreadkeys.c authusekey.c binio.c \
buftvtots.c caljulian.c calleapwhen.c caltontp.c \
calyearstart.c clocktime.c clocktypes.c decodenetnum.c \
dofptoa.c dolfptoa.c emalloc.c findconfig.c \
fptoa.c fptoms.c getopt.c gpstolfp.c \
fptoa.c fptoms.c getopt.c gpstolfp.c \
hextoint.c hextolfp.c humandate.c icom.c \
ieee754io.c inttoa.c iosignal.c lib_strbuf.c \
machines.c md5c.c memmove.c mfp_mul.c \
machines.c md5c.c memmove.c mfp_mul.c \
mfptoa.c mfptoms.c modetoa.c mstolfp.c \
msutotsf.c msyslog.c netof.c numtoa.c \
msutotsf.c msyslog.c netof.c numtoa.c \
numtohost.c octtoint.c prettydate.c ranny.c \
recvbuff.c refnumtoa.c statestr.c syssignal.c \
systime.c tsftomsu.c tstotv.c tvtoa.c \

View File

@ -3,12 +3,12 @@
.PATH: ${.CURDIR}/../../../contrib/ntp/libparse
LIB= parse
INTERNALLIB= true
INTERNALLIB= true
SRCS= clk_computime.c clk_dcf7000.c clk_hopf6021.c clk_meinberg.c \
clk_rawdcf.c clk_rcc8000.c clk_schmid.c clk_trimtaip.c \
clk_trimtsip.c clk_varitext.c clk_wharton.c data_mbg.c \
info_trimble.c parse.c parse_conf.c trim_info.c
info_trimble.c parse.c parse_conf.c trim_info.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../

View File

@ -1,7 +1,7 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../contrib/ntp/util \
${.CURDIR}/../../../contrib/ntp/ntpd
.PATH: ${.CURDIR}/../../../contrib/ntp/util \
${.CURDIR}/../../../contrib/ntp/ntpd
PROG= ntp-genkeys
NOMAN= yes

View File

@ -28,7 +28,7 @@ SRCS= cmd_args.c map_vme.c ntp_config.c \
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
DPADD= ${LIBPARSE} ${LIBNTP} -lm
DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM}
LDADD= ${LIBPARSE} ${LIBNTP} -lm
CLEANFILES+= .version version.c

View File

@ -3,6 +3,7 @@
PROG= ofwdump
MAN= ofwdump.8
SRCS= ofwdump.c ofw_util.c
WARNS?= 5
.include <bsd.prog.mk>

View File

@ -2,6 +2,8 @@
#
# $FreeBSD$
.PATH: ${.CURDIR}/../pccardd
PROG= pccardc
MAN= pccardc.8
SRCS= beep.c dumpcis.c dumpcisfile.c enabler.c pccardc.c pccardmem.c power.c \
@ -10,4 +12,3 @@ SRCS= beep.c dumpcis.c dumpcisfile.c enabler.c pccardc.c pccardmem.c power.c \
CFLAGS+= -I${.CURDIR}/../pccardd
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../pccardd

View File

@ -1,6 +1,8 @@
# Makefile for pccardd
# $FreeBSD$
.PATH: ${.CURDIR}/../pccardc
PROG= pccardd
MAN= pccard.conf.5 pccardd.8
SRCS= pccardd.c cardd.c file.c util.c readcis.c printcis.c server.c
@ -11,4 +13,3 @@ DPADD= ${LIBUTIL}
LDADD= -lutil
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../pccardc

View File

@ -2,7 +2,9 @@
PROG= kcon
DEVICE= /dev/ttyv0
CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
DPADD= ${LIBKEYCAP}
LDADD= -lkeycap

View File

@ -14,6 +14,7 @@ CFLAGS+= -DPC98
.if ${MACHINE_ARCH} == "alpha"
LDADD+= -lio
DPADD= ${LIBIO}
.endif
.include <bsd.prog.mk>

View File

@ -3,7 +3,7 @@
PROG= pppctl
MAN= pppctl.8
LDADD= -lc_r -ledit -ltermcap
DPADD= ${LIBC_R} ${LIBEDIT} ${LIBTERMCAP}
LDADD= -lc_r -ledit -ltermcap
.include <bsd.prog.mk>

View File

@ -13,8 +13,8 @@ BINGRP= dialer
CFLAGS+= -DHAVE_PATHS_H
LDADD= -lcrypt -lutil -lmd
DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
LDADD= -lcrypt -lutil -lmd
# Support SPX/IPX - not quite ready
#CFLAGS+= -DIPX_CHANGE
@ -26,8 +26,8 @@ SRCS+= cbcp.c
# Filter support
CFLAGS+= -DPPP_FILTER
LDADD+= -lpcap
DPADD+= ${LIBPCAP}
LDADD+= -lpcap
# MS-CHAP support. Requires the DES library.
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)

View File

@ -2,11 +2,11 @@
# $FreeBSD$
PROG= pstat
WARNS?= 2
LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo
MAN= pstat.8
MLINKS= pstat.8 swapinfo.8
WARNS?= 4
WARNS?= 2
DPADD= ${LIBKVM}
LDADD= -lkvm

View File

@ -6,7 +6,7 @@ SRCS= pw.c pw_conf.c pw_user.c pw_group.c pw_log.c pw_nis.c pw_vpw.c \
grupd.c pwupd.c fileupd.c edgroup.c psdate.c \
bitmap.c cpdir.c rm_r.c
LDADD= -lcrypt -lutil
DPADD= ${LIBCRYPT} ${LIBUTIL}
LDADD= -lcrypt -lutil
.include <bsd.prog.mk>

View File

@ -7,8 +7,7 @@ PROG= pwd_mkdb
MAN= pwd_mkdb.8
SRCS= pw_scan.c pwd_mkdb.c
WARNS?= 4
CFLAGS+= -I${.CURDIR}/../../lib/libc/gen # for pw_scan.h
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= quot
WARNS?= 2
MAN= quot.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= repquota
WARNS?= 4
MAN= repquota.8
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -2,9 +2,10 @@
# $FreeBSD$
PROG= rmt
WARNS?= 4
MAN= rmt.8
WARNS?= 4
# called from /usr/src/etc/Makefile
etc-rmt:
rm -f ${DESTDIR}/etc/rmt

View File

@ -5,8 +5,6 @@ PROG= rpc.lockd
MAN= rpc.lockd.8
MLINKS= rpc.lockd.8 lockd.8
SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
NO_WERROR= YES
WARNS?= 4
CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc

View File

@ -14,9 +14,6 @@ CLEANFILES= sm_inter_svc.c sm_inter.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
RPCGEN= rpcgen -L -C
WARNS?= 4
NO_WERROR= 1
sm_inter_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}

View File

@ -12,12 +12,11 @@ SRCS= util.c yp_access.c yp_dblookup.c yp_dbwrite.c \
GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_private.h yppasswd_private_svc.c \
yppasswd_private_xdr.c yppasswd_svc.c
WARNS?= 4
CFLAGS+= -I${.CURDIR}/../../usr.sbin/vipw \
-I${.CURDIR}/../../usr.sbin/ypserv \
-I${.CURDIR}/../../libexec/ypxfr \
-I${.CURDIR} -I.
WARNS?= 4
DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
LDADD= -lrpcsvc -lcrypt -lutil

View File

@ -8,8 +8,8 @@ SRCS= ypupdate_prot_svc.c ypupdate_prot.h ypupdated_main.c \
yp_error.c update.c ypupdated_server.c \
yp_dblookup.c yp_dbwrite.c yp_dbdelete.c yp_dbupdate.c
CFLAGS+= -I${.CURDIR}/../ypserv -I. -I${.CURDIR}/../../libexec/ypxfr
#CFLAGS+= -DYP
CFLAGS+= -I${.CURDIR}/../ypserv -I. -I${.CURDIR}/../../libexec/ypxfr
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc

View File

@ -15,7 +15,7 @@ SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DINET6 -DLIBWRAP
LDADD= -lwrap -lutil
DPADD= ${LIBWRAP} ${LIBUTIL}
LDADD= -lwrap -lutil
.include <bsd.prog.mk>

View File

@ -20,7 +20,7 @@ SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c dump.c
CFLAGS+= -DINET6
LDADD= -lcompat
DPADD= ${LIBCOMPAT}
LDADD= -lcompat
.include <bsd.prog.mk>

View File

@ -21,7 +21,7 @@ SRCS= rtsold.c rtsol.c if.c probe.c dump.c rtsock.c
CFLAGS+= -DINET6 -DHAVE_GETIFADDRS -DHAVE_ARC4RANDOM
LDADD= -lkvm
DPADD= ${LIBKVM}
LDADD= -lkvm
.include <bsd.prog.mk>

View File

@ -2,8 +2,9 @@
# $FreeBSD$
PROG= rwhod
# XXX breaks on Alpha due to alignment constraints
#WARNS?= 4
MAN= rwhod.8
# XXX breaks on Alpha due to alignment constraints
#WARNS?= 4
.include <bsd.prog.mk>

View File

@ -1,8 +1,9 @@
# $FreeBSD$
PROG= sa
WARNS?= 4
MAN= sa.8
SRCS= main.c pdb.c usrdb.c
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -14,11 +14,11 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \
SRCS+= pccard.c
.endif
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
CFLAGS+= -DX_AS_PKG -DUSE_GZIP=1
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO}
LDADD= -ldialog -lncurses -lutil -ldisk -lftpio

View File

@ -64,8 +64,8 @@ CLEANFILES+=sm_os.h
# STARTTLS support
DISTRIBUTION= crypto
CFLAGS+= -DSTARTTLS -D_FFR_TLS_1
LDADD+= -lssl -lcrypto
DPADD+= ${LIBSSL} ${LIBCRYPTO}
LDADD+= -lssl -lcrypto
.endif
# User customizations to the sendmail build environment

View File

@ -1,11 +1,10 @@
# $FreeBSD$
PROG= setfmac
LINKS= ${BINDIR}/setfmac ${BINDIR}/setfsmac
MAN= setfmac.8 setfsmac.8
SRCS= setfmac.c
LINKS+= ${BINDIR}/setfmac ${BINDIR}/setfsmac
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PROG= slstat
WARNS?= 2
MAN= slstat.8
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -14,11 +14,11 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \
SRCS+= pccard.c
.endif
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
CFLAGS+= -DX_AS_PKG -DUSE_GZIP=1
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO}
LDADD= -ldialog -lncurses -lutil -ldisk -lftpio

View File

@ -7,7 +7,7 @@ PROG= syslogd
MAN= syslog.conf.5 syslogd.8
SRCS= syslogd.c ttymsg.c
CFLAGS+=-DINET6 -I${.CURDIR}/../../usr.bin/wall
WARNS?= 1
CFLAGS+=-DINET6 -I${.CURDIR}/../../usr.bin/wall
.include <bsd.prog.mk>

View File

@ -2,11 +2,11 @@
# $FreeBSD$
PROG= trpt
WARNS?= 4
MAN= trpt.8
BINGRP= kmem
BINMODE= 2555
WARNS?= 4
CFLAGS+= -DINET6
.include <bsd.prog.mk>

View File

@ -5,7 +5,7 @@ MAN= tzsetup.8
CFLAGS+= -I${.CURDIR}
LDADD= -ldialog -lncurses
DPADD= ${LIBDIALOG} ${LIBNCURSES}
LDADD= -ldialog -lncurses
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
PROG= ugidfw
MAN= ugidfw.8
DPADD= ${LIBUGIDFW}
LDADD= -lugidfw

View File

@ -3,8 +3,10 @@
PROG= vipw
MAN= vipw.8
DPADD= ${LIBUTIL}
LDADD= -lutil
WARNS?= 4
DPADD= ${LIBUTIL}
LDADD= -lutil
.include <bsd.prog.mk>

View File

@ -5,7 +5,7 @@ MAN= watch.8
WARNS?= 2
LDADD= -ltermcap
DPADD= ${LIBTERMCAP}
LDADD= -ltermcap
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
PROG= wicontrol
MAN= wicontrol.8
WARNS?= 2
CFLAGS+= -DWICACHE
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -6,7 +6,7 @@ PROG= yp_mkdb
MAN= yp_mkdb.8
SRCS= yp_mkdb.c yp_dblookup.c yp_dbwrite.c
CFLAGS+= -Dyp_error=warnx -I${.CURDIR}/../../libexec/ypxfr
CFLAGS+= -I${.CURDIR}/../../usr.sbin/ypserv
CFLAGS+= -Dyp_error=warnx
CFLAGS+= -I${.CURDIR}/../../libexec/ypxfr -I${.CURDIR}/../../usr.sbin/ypserv
.include <bsd.prog.mk>

View File

@ -8,11 +8,11 @@ MAN= ypserv.8 ypinit.8
SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
ypxfr_clnt.c yp.h yp_main.c yp_error.c yp_access.c yp_svc_udp.c
CFLAGS+= -DDB_CACHE -DTCP_WRAPPER -I.
DPADD= ${LIBWRAP}
LDADD= -lwrap
CFLAGS+= -I. -DDB_CACHE -DTCP_WRAPPER
CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h
RPCGEN= rpcgen -I -C

View File

@ -6,8 +6,8 @@ PROG= zdump
MAN= ${.CURDIR}/../zdump.8
SRCS= zdump.c ialloc.c scheck.c
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/stdtime
CFLAGS+= -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS
CFLAGS+= -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/stdtime
.include <bsd.prog.mk>

View File

@ -6,9 +6,9 @@ PROG= zic
MAN= ${.CURDIR}/../zic.8
SRCS= zic.c ialloc.c scheck.c
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/stdtime
CFLAGS+= -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS
CFLAGS+= -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir
CFLAGS+= -DHAVE_STRERROR -DHAVE_UNISTD_H
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/stdtime
.include <bsd.prog.mk>