- Backout botched attempt to intoduce MANSECT feature.

- MAN[1-9] -> MAN.
This commit is contained in:
Ruslan Ermilov 2001-03-26 14:22:12 +00:00
parent 0dc44b5add
commit e5b5c66bca
74 changed files with 81 additions and 19 deletions

View File

@ -9,5 +9,3 @@ GBINDIR:= ${BINDIR}
BINDIR:= ${BINDIR}/hide
BINMODE= 550
.endif
MANSECT?= 6

View File

@ -3,6 +3,7 @@
PROG= adventure
SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN= adventure.6
CFLAGS+=-traditional-cpp
HIDEGAME=hidegame
CLEANFILES=data.c setup setup.o

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= arithmetic
MAN= arithmetic.6
HIDEGAME=hidegame
.include <bsd.prog.mk>

View File

@ -5,6 +5,7 @@ PROG= atc
CFLAGS+=-DBSD -I${.CURDIR} -I.
SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
main.c tunable.c update.c y.tab.h
MAN= atc.6
DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
LDADD= -ll -lm -lcurses
GAMES= Game_List Killer crossover default easy game_2

View File

@ -5,6 +5,7 @@ PROG= backgammon
CFLAGS+=-DV7 -I${.CURDIR}/../common_source
SRCS= allow.c board.c check.c extra.c fancy.c init.c main.c move.c \
odds.c one.c save.c subs.c table.c text.c version.c
MAN= backgammon.6
DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -ltermcap -lcompat
.PATH: ${.CURDIR}/../common_source

View File

@ -5,6 +5,7 @@ PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
MAN= battlestar.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= bcd
MAN= bcd.6
MLINKS= bcd.6 ppt.6
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG= bs
MAN= bs.6
DPADD= ${LIBNCURSES}
LDADD= -lncurses
HIDEGAME=hidegame

View File

@ -4,6 +4,7 @@
PROG= caesar
DPADD= ${LIBM}
LDADD= -lm
MAN= caesar.6
MLINKS= caesar.6 rot13.6
CFLAGS+= -Wall

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= canfield
MAN= canfield.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -5,6 +5,7 @@ PROG= cribbage
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
MAN= cribbage.6
HIDEGAME=hidegame
beforeinstall:

View File

@ -1,9 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
# -DLOG log games
PROG= dm
MAN8= dm.8
MAN5= dm.conf.5
MAN= dm.8 dm.conf.5
BINGRP= games
BINMODE=2555

View File

@ -4,6 +4,7 @@
PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
MAN= factor.6
MLINKS+=factor.6 primes.6
.PATH: ${.CURDIR}/../primes

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= fish
MAN= fish.6
HIDEGAME=hidegame
beforeinstall:

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= fortune
MAN= fortune.6
CFLAGS+=-DDEBUG -Wall -I${.CURDIR}/../strfile
DPADD= ${LIBCOMPAT}
LDADD= -lcompat

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PROG= strfile
MAN8= strfile.8
MAN= strfile.8
MLINKS= strfile.8 unstr.8
CFLAGS+= -Wall

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG= grdc
MAN= grdc.6
DPADD= ${LIBNCURSES}
LDADD= -lncurses

View File

@ -14,6 +14,7 @@ SRCS= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \
hack.u_init.c hack.unix.c hack.vault.c hack.version.c hack.wield.c \
hack.wizard.c hack.worm.c hack.worn.c hack.zap.c rnd.c \
hack.onames.h
MAN= hack.6
DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -ltermcap -lcompat
CFLAGS+= -fwritable-strings -I${.CURDIR} -I.

View File

@ -4,6 +4,7 @@
PROG= hangman
SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \
prdata.c prman.c prword.c setup.c
MAN= hangman.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -53,6 +53,7 @@
# Turn off logging.
PROG= larn
MAN= larn.6
CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -fwritable-strings
SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \

View File

@ -6,6 +6,7 @@ SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
roll.c save.c types.c varpush.c
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
MAN= mille.6
HIDEGAME=hidegame
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= morse
MAN= morse.6
.if ${MACHINE_ARCH} == "i386"
CFLAGS += -DSPEAKER=\"/dev/speaker\"

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= number
MAN= number.6
.include <bsd.prog.mk>

View File

@ -7,6 +7,7 @@ DPADD= ${LIBM} ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lm -lcurses -lcompat
DATAFILES=characs gold lastdead mess monsters motd scoreboard void
HIDEGAME=hidegame
MAN= phantasia.6
CLEANFILES=${DATAFILES} cross-phantglobs.o map setup setup.o stamp.setuprun
all: stamp.setuprun

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= piano
MAN= piano.6
DPADD= ${LIBCURSES}
LDADD= -lcurses

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= pig
MAN= pig.6
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= pom
MAN= pom.6
DPADD= ${LIBM}
LDADD= -lm
CFLAGS+=-Wall

View File

@ -3,6 +3,7 @@
PROG= quiz
SRCS= quiz.c rxp.c
MAN= quiz.6
CATS= africa america areas arith asia babies bard chinese collectives \
ed elements europe flowers greek inca index latin locomotive \
midearth morse murders poetry posneg pres province seq-easy seq-hard \

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= rain
MAN= rain.6
DPADD= ${LIBCURSES}
LDADD= -lcurses

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= random
MAN= random.6
.include <bsd.prog.mk>

View File

@ -5,6 +5,7 @@ PROG= robots
CFLAGS+=-DMAX_PER_UID=5
SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \
play_level.c query.c rnd_pos.c score.c flush_in.c
MAN= robots.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -9,6 +9,7 @@ SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
DPADD= ${LIBCURSES}
LDADD= -lcurses
HIDEGAME=hidegame
MAN= rogue.6
beforeinstall:
.if !exists(${DESTDIR}/var/games/rogue.scores)

View File

@ -5,6 +5,7 @@ PROG= sail
SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
assorted.c game.c globals.c misc.c parties.c sync.c version.c
MAN= sail.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -3,6 +3,7 @@
PROG= snake
SRCS= snake.c move.c
MAN= snake.6
DPADD= ${LIBM} ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -lm -ltermcap -lcompat
HIDEGAME=hidegame

View File

@ -10,6 +10,7 @@ SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \
ranf.c rest.c schedule.c score.c setup.c setwarp.c \
shield.c snova.c srscan.c systemname.c torped.c utility.c \
visual.c warp.c win.c cgetc.c
MAN= trek.6
DPADD= ${LIBM} ${LIBCOMPAT}
LDADD= -lm -lcompat
HIDEGAME=hidegame

View File

@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
MAN= wargames.6
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/wargames.sh ${DESTDIR}${BINDIR}/wargames

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= worm
MAN= worm.6
DPADD= ${LIBCURSES} ${LIBCOMPAT}
LDADD= -lcurses -lcompat
HIDEGAME=hidegame

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= worms
MAN= worms.6
DPADD= ${LIBCURSES}
LDADD= -lcurses

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= wump
MAN= wump.6
HIDEGAME=hidegame
beforeinstall:

View File

@ -2,4 +2,3 @@
# $FreeBSD$
BINDIR?= /usr/libexec
MANSECT?= 8

View File

@ -6,15 +6,14 @@ MAINSRC=${.CURDIR}/../../usr.bin/at
PROG= atrun
SRCS= atrun.c gloadavg.c
MAN= atrun.8
BINDIR= ${ATLIB_DIR}
CLEANFILES= ${MAN8}
CLEANFILES= ${MAN}
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
.include <bsd.prog.mk>
${MAN8}: atrun.man
atrun.8: atrun.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e \
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
@ -22,3 +21,5 @@ ${MAN8}: atrun.man
s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
< ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>

View File

@ -10,8 +10,7 @@ SUBDIR= bootpgw tools
SRCS= bootpd.c dovend.c readfile.c hash.c dumptab.c \
lookup.c getif.c hwaddr.c report.c tzone.c rtmsg.c
MAN5= bootptab.5
MAN8= bootpd.8
MAN= bootptab.5 bootpd.8
MLINKS= bootpd.8 bootpgw.8
.include <bsd.prog.mk>

View File

@ -2,4 +2,3 @@
# $FreeBSD$
BINDIR= /usr/sbin
MANSECT?= 8

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= bootpef
MAN= bootpef.8
SRCS= bootpef.c dovend.c readfile.c hash.c dumptab.c lookup.c \
hwaddr.c report.c tzone.c rtmsg.c

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= bootptest
MAN= bootptest.8
SRCS= bootptest.c getether.c getif.c print-bootp.c report.c
SRCDIR= ${.CURDIR}/../..

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= comsat
MAN= comsat.8
.include <bsd.prog.mk>

View File

@ -4,5 +4,6 @@
PROG= fingerd
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= fingerd.8
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= ftpd
MAN= ftpd.8
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall

View File

@ -2,6 +2,5 @@
# $FreeBSD$
PROG= getNAME
MAN1= ${PROG}.1
.include <bsd.prog.mk>

View File

@ -5,8 +5,7 @@ PROG= getty
SRCS= main.c init.c subr.c chat.c
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN5= gettytab.5 ttys.5
MAN8= getty.8
MAN= gettytab.5 ttys.5 getty.8
# for the paranoid:
#CFLAGS+= -Wall -Wstrict-prototypes -Wno-unused -Wwrite-strings

View File

@ -8,6 +8,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
PROG= mail.local
SRCS= mail.local.c
MAN= mail.local.8
CFLAGS+=-I${SENDMAIL_DIR}/include
.if exists(${.OBJDIR}/../../lib/libsmutil)

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= makekey
MAN= makekey.8
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt

View File

@ -3,4 +3,6 @@
PROG= mknetid
SRCS= mknetid.c hash.c parse_group.c
MAN= mknetid.8
.include <bsd.prog.mk>

View File

@ -21,4 +21,6 @@ LIBISC:= ${LIBISCDIR}/libisc.a
DPADD+= ${LIBISC}
LDADD+= ${LIBISC}
MAN= named-xfer.8
.include <bsd.prog.mk>

View File

@ -4,5 +4,6 @@ PROG= pppoed
SRCS= pppoed.c
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
MAN= pppoed.8
.include <bsd.prog.mk>

View File

@ -3,5 +3,6 @@
PROG= rbootd
SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
MAN= rbootd.8
.include <bsd.prog.mk>

View File

@ -3,4 +3,6 @@
PROG= revnetgroup
SRCS= revnetgroup.c hash.c parse_netgroup.c
MAN= revnetgroup.8
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= rexecd
MAN= rexecd.8
CFLAGS+= -DSKEY
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}

View File

@ -3,6 +3,7 @@
PROG= rlogind
SRCS= rlogind.c
MAN= rlogind.8
DPADD= ${LIBUTIL}
LDADD= -lutil
CFLAGS+= -Wall -DINET6

View File

@ -2,6 +2,7 @@
PROG = rpc.rquotad
SRCS = rquotad.c
MAN = rpc.rquotad.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc

View File

@ -2,6 +2,7 @@
PROG = rpc.rstatd
SRCS = rstatd.c rstat_proc.c
MAN = rpc.rstatd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBKVM} ${LIBDEVSTAT}
LDADD= -lrpcsvc -lutil -lkvm -ldevstat

View File

@ -2,6 +2,7 @@
PROG = rpc.rusersd
SRCS = rusersd.c rusers_proc.c
MAN = rpc.rusersd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil

View File

@ -2,6 +2,7 @@
PROG = rpc.rwalld
SRCS = rwalld.c
MAN = rpc.rwalld.8
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil

View File

@ -2,6 +2,7 @@
PROG = rpc.sprayd
SRCS = sprayd.c
MAN = rpc.sprayd.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc

View File

@ -3,6 +3,7 @@
PROG= rshd
SRCS= rshd.c
MAN= rshd.8
#CFLAGS+= -DCRYPT

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= ld.so
SRCS= mdprologue.S rtld.c shlib.c md.c support.c
MAN1aout= rtld.1aout
MAN= rtld.1aout
# As there is relocation going on behind GCC's back, don't cache function addresses.
PICFLAG=-fpic -fno-function-cse
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} ${PICFLAG} -DRTLD -Wall

View File

@ -4,7 +4,7 @@ MAINTAINER= jdp
PROG= ld-elf.so.1
SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
xmalloc.c debug.c reloc.c
MAN1= rtld.1
MAN= rtld.1
CFLAGS+= -Wall -DFREEBSD_ELF -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}
LDFLAGS+= -nostdlib -e .rtld_start
INSTALLFLAGS+= -fschg -C

View File

@ -8,6 +8,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
PROG= smrsh
SRCS= smrsh.c
MAN= smrsh.8
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include
.if exists(${.OBJDIR}/../../lib/libsmutil)

View File

@ -4,6 +4,6 @@
PROG= ntalkd
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
.PATH: ${.CURDIR}/../../usr.bin/wall
MAN8= talkd.8
MAN= talkd.8
.include <bsd.prog.mk>

View File

@ -11,5 +11,6 @@ SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap -ltelnet
MAN= telnetd.8
.include <bsd.prog.mk>

View File

@ -5,6 +5,7 @@ PROG= tftpd
SRCS= tftpd.c tftpsubs.c
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= tftpd.8
CFLAGS+=-I${.CURDIR}/../../usr.bin/tftp
.PATH: ${.CURDIR}/../../usr.bin/tftp

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= uucpd
MAN= uucpd.8
LDADD= -lcrypt -lutil
DPADD= ${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>

View File

@ -9,4 +9,6 @@ CFLAGS+= -DXTENUNAME=\"xten\" -DXTENGNAME=\"xten\"
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= xtend.8
.include <bsd.prog.mk>

View File

@ -9,6 +9,8 @@ GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c
.PATH: ${.CURDIR}/../../usr.sbin/ypserv
MAN= ypxfr.8
CFLAGS+= -I.
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc