1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by:	-current
This commit is contained in:
Ruslan Ermilov 2002-01-11 15:49:02 +00:00
parent afac94af5c
commit 17d6c63672
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89260
114 changed files with 2 additions and 135 deletions

View File

@ -32,8 +32,6 @@
#
# KMODUNLOAD Command to unload a kernel module [/sbin/kldunload]
#
# NOMAN KLD does not have a manual page if set.
#
# PROG The name of the kernel module to build.
# If not supplied, ${KMOD}.o is used.
#
@ -63,7 +61,7 @@
# put the stuff into the right "distribution".
#
# install:
# install the program and its manual pages; if the Makefile
# install the kernel module; if the Makefile
# does not itself define the target install, the targets
# beforeinstall and afterinstall may also be used to cause
# actions immediately before and after the install target
@ -77,7 +75,6 @@
#
# bsd.obj.mk: clean, cleandir and obj
# bsd.dep.mk: cleandepend, depend and tags
# bsd.man.mk: maninstall
#
KMODLOAD?= /sbin/kldload
@ -176,24 +173,17 @@ ${KMOD}.kld: ${OBJS}
.endif
.if !defined(NOMAN)
.if 0
MAN?= ${KMOD}.4
.endif
.include <bsd.man.mk>
.else
.if !target(all-man)
all-man: _SUBDIR
.endif
.if !target(maninstall)
maninstall: _SUBDIR
.endif
.endif
_ILINKS=@ machine
.MAIN: all
all: objwarn ${PROG} all-man _SUBDIR
all: objwarn ${PROG} _SUBDIR
beforedepend: ${_ILINKS}
@rm -f .depend
@ -276,11 +266,7 @@ realinstall: _SUBDIR
.endif
install: afterinstall _SUBDIR
.if !defined(NOMAN)
afterinstall: realinstall maninstall
.else
afterinstall: realinstall
.endif
realinstall: beforeinstall
.endif

View File

@ -10,7 +10,6 @@ CFLAGS+= -DPC98
KMOD= apm
SRCS= apm.c apm.h \
device_if.h bus_if.h
NOMAN=
EXPORT_SYMS= apm_display \
apm_softc

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../net
KMOD= bridge
SRCS= bridge.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -30,8 +30,6 @@ SRCS+= scsi_sa.c
SRCS+= scsi_ses.c
SRCS+= scsi_targ_bh.c scsi_target.c
NOMAN=
EXPORT_SYMS= YES # XXX evaluate
opt_scsi.h:

View File

@ -5,7 +5,6 @@
KMOD= cardbus
SRCS= cardbus.c cardbus_cis.c \
device_if.h bus_if.h card_if.h power_if.h pci_if.h pcib_if.h
NOMAN=
EXPORT_SYMS= YES # XXX evaluate

View File

@ -5,7 +5,6 @@
KMOD= cbb
SRCS= pccbb.c \
device_if.h bus_if.h
NOMAN=
EXPORT_SYMS= YES # XXX evaluate

View File

@ -4,6 +4,5 @@
KMOD= ccd
SRCS= ccd.c vnode_if.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -7,6 +7,5 @@ SRCS= vnode_if.h \
cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_rrip.c \
cd9660_util.c cd9660_vfsops.c cd9660_vnops.c
EXPORT_SYMS= cd9660_wchar2char
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,7 +6,6 @@ KMOD= coda
SRCS= vnode_if.h \
coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
coda_venus.c coda_vfsops.c coda_vnops.c vcoda.h
NOMAN=
CLEANFILES= vcoda.h

View File

@ -4,7 +4,6 @@
KMOD= ibcs2_coff
SRCS= imgact_coff.c vnode_if.h
NOMAN=
CFLAGS+= -DCOMPAT_IBCS2

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../netinet
KMOD= dummynet
SRCS= ip_dummynet.c opt_bdg.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,7 +6,6 @@ SRCS= vnode_if.h opt_quota.h opt_ddb.h opt_suiddir.h \
ext2_alloc.c ext2_balloc.c ext2_inode.c ext2_inode_cnv.c \
ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_subr.c \
ext2_vfsops.c ext2_vnops.c
NOMAN=
.include <bsd.kmod.mk>
# DO NOT DELETE

View File

@ -11,7 +11,6 @@ KMOD= fdc
SRCS= fd.c \
opt_fdc.h card.h \
bus_if.h card_if.h device_if.h isa_if.h
NOMAN=
FDC_DEBUG?= 0 # 0/1
FDC_PCCARD?= 1 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA

View File

@ -5,6 +5,5 @@
KMOD= fdescfs
SRCS= vnode_if.h \
fdesc_vfsops.c fdesc_vnops.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,6 +4,5 @@
KMOD= fpu
SRCS= math_emulate.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -8,7 +8,6 @@ SRCS= div_small.s errors.c fpu_arith.c fpu_aux.c fpu_entry.c fpu_etc.c \
poly_div.s poly_l2.c poly_mul64.s poly_sin.c poly_tan.c \
polynomial.s reg_add_sub.c reg_compare.c reg_constant.c reg_div.s \
reg_ld_str.c reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s
NOMAN=
EXPORT_SYMS= math_emulate

View File

@ -6,6 +6,5 @@ KMOD= hpfs
SRCS= vnode_if.h \
hpfs_vfsops.c hpfs_vnops.c hpfs_hash.c hpfs_subr.c hpfs_lookup.c \
hpfs_alsubr.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD= if_disc
SRCS= if_disc.c opt_inet.h opt_inet6.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= if_ef
SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h
NOMAN=
# If you need only limited number of frames comment out unneeded ones
# this will reduce number of visible devices

View File

@ -4,7 +4,6 @@
KMOD= if_faith
SRCS= if_faith.c opt_inet.h opt_inet6.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= if_gif
SRCS= if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -5,7 +5,6 @@
KMOD= if_ppp
SRCS= if_ppp.c ppp_tty.c slcompress.c \
opt_inet.h opt_ipx.h opt_ppp.h ppp.h vnode_if.h
NOMAN=
NPPP?= 2
PPP_BSDCOMP?= 1 # 0/1

View File

@ -4,7 +4,6 @@
KMOD= if_sl
SRCS= if_sl.c slcompress.c opt_inet.h opt_slip.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= if_stf
SRCS= if_stf.c opt_inet.h opt_inet6.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= if_tun
SRCS= if_tun.c opt_inet.h vnode_if.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= if_vlan
SRCS= if_vlan.c opt_inet.h
NOMAN=
opt_inet.h:
echo "#define INET 1" > ${.TARGET}

View File

@ -4,7 +4,6 @@
KMOD= ip6fw
SRCS= ip6_fw.c
NOMAN=
CFLAGS+= -DIPV6FIREWALL

View File

@ -4,7 +4,6 @@
KMOD= ip_mroute
SRCS= ip_mroute.c opt_mrouting.h opt_random_ip_id.h
NOMAN=
CFLAGS+= -DMROUTE_KLD

View File

@ -5,7 +5,6 @@
KMOD= ipl
SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
ip_log.c ip_fil.c fil.c
NOMAN=
CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG

View File

@ -4,7 +4,6 @@
KMOD= ipfw
SRCS= ip_fw.c
NOMAN=
CFLAGS+= -DIPFIREWALL
#

View File

@ -7,7 +7,6 @@ SRCS= iconv.c iconv_xlat.c
SRCS+= iconv.h
SRCS+= iconv_converter_if.c iconv_converter_if.h
MFILES= libkern/iconv_converter_if.m
NOMAN= true
EXPORT_SYMS= iconv_open \
iconv_close \

View File

@ -5,7 +5,6 @@ SRCS= vnode_if.h kernel_lkm.c kernel_interface.c kernel_util.c \
kernel_log.c kernel_mediate.c lomacfs_vfsops.c lomacfs_vnops.c \
lomacfs_subr.c kernel_monitor.c kernel_mmap.c kernel_pipe.c \
kernel_socket.c
NOMAN= yes
SUBDIR+= syscall_gate
SUBDIR+= plm
CFLAGS+= -I${.CURDIR}/../../security/lomac

View File

@ -2,7 +2,6 @@
KMOD= lomac_plm
SRCS= vnode_if.h kernel_plm.c
NOMAN= yes
CFLAGS+= -I${.CURDIR}/../../../security/lomac
EXPORT_SYMS= lomac_node_entry_root \

View File

@ -2,7 +2,6 @@
KMOD= syscall_gate
SRCS= syscall_gate.c
NOMAN= yes
CFLAGS+= -I${.CURDIR}/../../../security/lomac
EXPORT_SYMS= syscall_gate_register \

View File

@ -6,6 +6,5 @@ KMOD= lpt
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_lpt.h \
lpt.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,6 +4,5 @@
KMOD= md
SRCS= md.c opt_md.h vnode_if.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,7 +6,6 @@ KMOD= msdosfs
SRCS= vnode_if.h \
msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c \
msdosfs_vfsops.c msdosfs_vnops.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -12,8 +12,6 @@ SRCS+= ncp_burst.c
CFLAGS+= -DNCPBURST
.endif
NOMAN=
load: ${KMOD}.ko
kldload ./${KMOD}.ko

View File

@ -3,6 +3,5 @@
KMOD= ng_UI
SRCS= ng_UI.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_async
SRCS= ng_async.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@
KMOD= ng_bpf
SRCS= ng_bpf.c bpf_filter.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_bridge
SRCS= ng_bridge.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_cisco
SRCS= ng_cisco.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_echo
SRCS= ng_echo.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_eiface
SRCS= ng_eiface.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@ COPTS+=-g
KMOD= ng_etf
SRCS= ng_etf.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_frame_relay
SRCS= ng_frame_relay.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_hole
SRCS= ng_hole.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_iface
SRCS= ng_iface.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_ip_input
SRCS= ng_ip_input.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_ksocket
SRCS= ng_ksocket.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_lmi
SRCS= ng_lmi.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,7 +3,6 @@
KMOD= ng_mppc
SRCS= ng_mppc.c opt_netgraph.h
NOMAN=
NETGRAPH_MPPC_COMPRESSION?= 0
NETGRAPH_MPPC_ENCRYPTION?= 1

View File

@ -3,6 +3,5 @@
KMOD= netgraph
SRCS= ng_base.c ng_parse.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_one2many
SRCS= ng_one2many.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_ppp
SRCS= ng_ppp.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_pppoe
SRCS= ng_pppoe.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_pptpgre
SRCS= ng_pptpgre.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_rfc1490
SRCS= ng_rfc1490.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,6 +2,5 @@
KMOD= ng_sample
SRCS= ng_sample.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_socket
SRCS= ng_socket.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_split
SRCS= ng_split.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_tee
SRCS= ng_tee.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
KMOD= ng_tty
SRCS= ng_tty.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@
KMOD= ng_vjc
SRCS= ng_vjc.c slcompress.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -8,7 +8,6 @@ SRCS= vnode_if.h \
opt_inet.h opt_nfs.h opt_bootp.h
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
opt_inet.h:
touch ${.TARGET}

View File

@ -7,6 +7,4 @@ SRCS= vnode_if.h \
nfs_common.c \
opt_nfs.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,6 +6,5 @@ KMOD= ntfs
SRCS= vnode_if.h \
ntfs_vfsops.c ntfs_vnops.c ntfs_subr.c ntfs_ihash.c \
ntfs_compr.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@
KMOD= nullfs
SRCS= vnode_if.h \
null_subr.c null_vfsops.c null_vnops.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -8,8 +8,6 @@ SRCS= vnode_if.h \
nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
NOMAN= true
.if defined(VNPRINT)
CFLAGS+= -DVNPRINT
.endif

View File

@ -6,7 +6,6 @@ KMOD= oldcard
SRCS= pccard.c pcic.c pccard_beep.c pccard_nbk.c pcic_pci.c pcic_isa.c \
opt_pcic.h device_if.h bus_if.h isa_if.h pci_if.h \
power_if.h card_if.h power_if.c card_if.c
NOMAN=
EXPORT_SYMS= YES # XXX evaluate

View File

@ -5,7 +5,6 @@ KMOD = if_oltr
SRCS = if_oltr.c trlldbm.c trlldhm.c trlldmac.c if_iso88025subr.c \
opt_inet.h opt_inet6.h opt_ipx.h device_if.h bus_if.h pci_if.h
OBJS+= trlld.o
NOMAN=
TR_INET?= 1 # 0/1 requires INET to be configured in the kernel
TR_INET6?= 0 # 0/1 requires INET6 to be configured in the kernel

View File

@ -5,7 +5,6 @@
KMOD= pccard
SRCS= pccard.c pccard_cis.c pccard_cis_quirks.c \
device_if.h bus_if.h card_if.h power_if.h
NOMAN=
EXPORT_SYMS= YES # XXX evaluate

View File

@ -5,7 +5,6 @@
KMOD= pcic
SRCS= i82365.c i82365_isa.c device_if.h bus_if.h isa_if.h \
power_if.h card_if.h power_if.c card_if.c
NOMAN=
EXPORT_SYMS= YES # XXX evaluate

View File

@ -6,6 +6,5 @@ KMOD= plip
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_plip.h \
if_plip.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@
KMOD= portalfs
SRCS= vnode_if.h \
portal_vfsops.c portal_vnops.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,7 +6,6 @@ KMOD= ppbus
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_ppb_1284.h opt_ppbus.h \
ppb_1284.c ppb_base.c ppb_msq.c ppbconf.c
NOMAN=
EXPORT_SYMS= ppb_attach_device \
ppb_request_bus \

View File

@ -6,6 +6,5 @@ KMOD= ppi
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_ppi.h opt_ppb_1284.h \
ppi.c ppb_1284.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,6 +6,5 @@ KMOD= pps
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_pps.h \
pps.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -7,7 +7,6 @@ KMOD= random
SRCS= randomdev.c yarrow.c hash.c
SRCS+= rijndael-alg-fst.c rijndael-api-fst.c
SRCS+= bus_if.h device_if.h vnode_if.h
NOMAN= yes
CFLAGS+= -I${.CURDIR}/../..

View File

@ -5,6 +5,5 @@
KMOD= if_ray
SRCS= if_ray.c
SRCS+= device_if.h bus_if.h card_if.h opt_inet.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -18,8 +18,6 @@ SRCS= vnode_if.h \
smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
smbfs_subr.c smbfs_smb.c
NOMAN=true
NETSMBCRYPTO=yes
.if defined(NETSMBCRYPTO)

View File

@ -4,6 +4,5 @@
KMOD= snp
SRCS= snp.c vnode_if.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,7 +2,6 @@
KMOD= splash_bmp
SRCS= splash_bmp.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -2,6 +2,5 @@
KMOD= splash_pcx
SRCS= splash_pcx.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -5,7 +5,6 @@
KMOD= sppp
SRCS= if_spppsubr.c
SRCS+= opt_inet.h opt_inet6.h opt_ipx.h
NOMAN=
EXPORT_SYMS= sppp_attach \
sppp_detach \

View File

@ -5,7 +5,6 @@ MAINTAINER= newton@atdot.dotat.org
KMOD= streams
SRCS= streams.c opt_streams.h
NOMAN=
EXPORT_SYMS= svr4_str_initialized \
svr4_stream_get \

View File

@ -4,7 +4,6 @@
KMOD= apm_saver
SRCS= apm_saver.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -4,6 +4,5 @@
KMOD= blank_saver
SRCS= blank_saver.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD= daemon_saver
SRCS= daemon_saver.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -4,6 +4,5 @@
KMOD= fade_saver
SRCS= fade_saver.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD= fire_saver
SRCS= fire_saver.c
NOMAN=
CWARNFLAGS= -Wall -pedantic

View File

@ -4,6 +4,5 @@
KMOD= green_saver
SRCS= green_saver.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,6 +4,5 @@
KMOD= logo_saver
SRCS= logo_saver.c logo.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD= rain_saver
SRCS= rain_saver.c
NOMAN=
CWARNFLAGS= -Wall -pedantic

View File

@ -4,7 +4,6 @@
KMOD= snake_saver
SRCS= snake_saver.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -4,7 +4,6 @@
KMOD= star_saver
SRCS= star_saver.c
NOMAN=
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98

View File

@ -4,7 +4,6 @@
KMOD= warp_saver
SRCS= warp_saver.c
NOMAN=
CWARNFLAGS= -Wall -pedantic

View File

@ -8,6 +8,5 @@ KMOD= udbp
SRCS= bus_if.h device_if.h \
opt_usb.h \
udbp.c
NOMAN=
.include <bsd.kmod.mk>

View File

@ -6,6 +6,5 @@ MAINTAINER= n_hibma@freebsd.org
KMOD= ugen
SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h ugen.c
NOMAN=
.include <bsd.kmod.mk>

Some files were not shown because too many files have changed in this diff Show More