2# $Id: bsd.kmod.mk,v 1.19 1996/04/03 12:08:52 phk Exp $
| 2# $Id: bsd.kmod.mk,v 1.20 1996/04/29 15:37:30 wosch Exp $ 3# 4# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. 5# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists, 6# as well as the include file <bsd.obj.mk>, <bsd.dep.mk>, and 7# may be <bsd.man.mk> 8# 9# 10# +++ variables +++ 11# 12# CLEANFILES Additional files to remove for the clean and cleandir targets. 13# 14# DISTRIBUTION Name of distribution. [bin] 15# 16# EXPORT_SYMS ??? 17# 18# KERN Main Kernel source directory. [${.CURDIR}/../../sys/kern] 19# 20# KMOD The name of the loadable kernel module to build. 21# 22# KMODDIR Base path for loadable kernel modules 23# (see lkm(4)). [/lkm] 24# 25# KMODOWN LKM owner. [${BINOWN}] 26# 27# KMODGRP LKM group. [${BINGRP}] 28# 29# KMODMODE LKM mode. [${BINMODE}] 30# 31# LINKS The list of LKM links; should be full pathnames, the 32# linked-to file coming first, followed by the linked 33# file. The files are hard-linked. For example, to link 34# /lkm/master and /lkm/meister, use: 35# 36# LINKS= /lkm/master /lkm/meister 37# 38# LN_FLAGS Flags for ln(1) (see variable LINKS) 39# 40# NOMAN LKM does not have a manual page if set. 41# 42# PROG The name of the loadable kernel module to build. 43# If not supplied, ${KMOD} is used. 44# 45# PSEUDO_LKM ??? 46# 47# SRCS List of source files 48# 49# SUBDIR A list of subdirectories that should be built as well. 50# Each of the targets will execute the same target in the 51# subdirectories. 52# 53# DESTDIR, DISTDIR are set by other Makefiles (e.g. bsd.own.mk) 54# 55# 56# +++ targets +++ 57# 58# distribute: 59# This is a variant of install, which will 60# put the stuff into the right "distribution". 61# 62# install: 63# install the program and its manual pages; if the Makefile 64# does not itself define the target install, the targets 65# beforeinstall and afterinstall may also be used to cause 66# actions immediately before and after the install target 67# is executed. 68# 69# load: 70# Load LKM. 71# 72# tags: 73# Create a tags file for the source files. 74# 75# unload: 76# Unload LKM. 77# 78# bsd.obj.mk: clean, cleandir and obj 79# bsd.dep.mk: depend 80# bsd.man.mk: maninstall 81#
|