aboutsummaryrefslogtreecommitdiff
path: root/share/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile35
1 files changed, 21 insertions, 14 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 1d916f344b77..0425e36c1cf5 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -1,4 +1,3 @@
-# $FreeBSD$
#
# Doing a make install builds /usr/share/examples
@@ -9,10 +8,8 @@ FILESDIR= ${SHAREDIR}/examples
LDIRS= BSD_daemon \
FreeBSD_version \
- IPv6 \
bootforth \
csh \
- diskless \
drivers \
etc \
find_interface \
@@ -48,6 +45,7 @@ SE_BSD_DAEMON= \
.if ${MK_BHYVE} != "no"
LDIRS+= bhyve
SE_DIRS+= bhyve
+SE_BHYVEPACKAGE=bhyve
SE_BHYVE= vmrun.sh
PACKAGE_bhyve/vmrun.sh= bhyve
.endif
@@ -59,10 +57,8 @@ SE_FREEBSD_VERSION= \
Makefile \
README
-SE_DIRS+= IPv6
-SE_IPV6= USAGE
-
SE_DIRS+= bootforth
+SE_BOOTFORTH_PACKAGE=bootloader
SE_BOOTFORTH= \
README \
boot.4th \
@@ -73,14 +69,8 @@ SE_BOOTFORTH= \
screen.4th
SE_DIRS+= csh
-SE_CSH= dot.cshrc
-
-SE_DIRS+= diskless
-SE_DISKLESS= \
- ME \
- README.BOOTP \
- README.TEMPLATING \
- clone_root
+SE_CSHPACKAGE= csh
+SE_CSH= dot.cshrc
SE_DIRS+= drivers
SE_DRIVERS= \
@@ -111,9 +101,11 @@ SUBDIR+= ipfilter
.endif
SE_DIRS+= ipfw
+SE_IPFWPACKAGE= ipfw
SE_IPFW= change_rules.sh
SE_DIRS+= jails
+SE_JAILPACKAGE= jail
SE_JAILS= \
README \
VIMAGE \
@@ -215,6 +207,8 @@ SE_PERFMON= \
.if ${MK_PF} != "no"
SE_DIRS+= pf
+.if ${MK_STAGING} == "no"
+SE_PFPACKAGE= pf
SE_PF= \
ackpri \
faq-example1 \
@@ -227,6 +221,7 @@ SE_PF= \
queue4 \
spamd
.endif
+.endif
SE_DIRS+= ppi
SE_PPI= \
@@ -234,6 +229,7 @@ SE_PPI= \
ppilcd.c
SE_DIRS+= ppp
+SE_PPPPACKAGE= ppp
SE_PPP= \
chap-auth \
login-auth \
@@ -251,6 +247,7 @@ SE_PPP= \
ppp.secret.span-isp.working
SE_DIRS+= printing
+SE_PRINTINGPACKAGE=lp
SE_PRINTING= \
diablo-if-net \
hpdf \
@@ -320,6 +317,8 @@ SE_DIRS+= sound
SE_SOUND= \
basic.c \
ossinit.h \
+ ossmidi.h \
+ midi.c \
README
SE_DIRS+= sunrpc
@@ -351,13 +350,16 @@ SE_SUNRPC_SORT= \
LDIRS+= uefisign
SE_DIRS+= uefisign
SE_UEFISIGN= uefikeys
+SE_UEFISIGNPACKAGE=efi-tools
.endif
SE_DIRS+= ypldap
SE_YPLDAP= ypldap.conf
+SE_YPLDAPPACKAGE=yp
.if ${MK_HAST} != "no"
LDIRS+= hast
+SE_HASTPACKAGE= hast
SE_DIRS+= hast
SE_HAST= ucarp.sh \
ucarp_down.sh \
@@ -388,6 +390,11 @@ SER_${d:tu:C/\//_/g}+= ${d}/${f}
.endfor
FILESGROUPS+= SER_${d:tu:C/\//_/g}
SER_${d:tu:C/\//_/g}DIR+= ${SHAREDIR}/examples/${d}
+.if ${SE_${d:tu:C/\//_/g}PACKAGE:U} != ""
+SER_${d:tu:C/\//_/g}PACKAGE= ${SE_${d:tu:C/\//_/g}PACKAGE}
+.else
+SER_${d:tu:C/\//_/g}PACKAGE= examples
+.endif
.endfor
BINDIR= ${SHAREDIR}/examples