3 # Doing a make install builds /usr/share/examples
8 FILESDIR= ${SHAREDIR}/examples
46 .if ${MACHINE_CPUARCH} == "amd64"
47 .if ${MK_BHYVE} != "no"
51 PACKAGE_bhyve/vmrun.sh= bhyve
55 SE_DIRS+= FreeBSD_version
87 make_device_driver.sh \
96 SE_DIRS+= find_interface
106 SE_INDENT= indent.pro
108 .if ${MK_IPFILTER} != "no"
113 SE_IPFW= change_rules.sh
133 SE_DIRS+= kld/cdev/module
134 SE_KLD_CDEV_MODULE= \
140 SE_DIRS+= kld/cdev/test
145 SE_DIRS+= kld/dyn_sysctl
151 SE_DIRS+= kld/firmware
156 SE_DIRS+= kld/firmware/fwconsumer
157 SE_KLD_FIRMWARE_FWCONSUMER= \
161 SE_DIRS+= kld/firmware/fwimage
162 SE_KLD_FIRMWARE_FWIMAGE= \
172 SE_DIRS+= kld/syscall
173 SE_KLD_SYSCALL= Makefile
175 SE_DIRS+= kld/syscall/module
176 SE_KLD_SYSCALL_MODULE= \
180 SE_DIRS+= kld/syscall/test
181 SE_KLD_SYSCALL_TEST= \
241 ppp.conf.span-isp.working \
242 ppp.linkdown.sample \
243 ppp.linkdown.span-isp \
244 ppp.linkdown.span-isp.working \
246 ppp.linkup.span-isp \
247 ppp.linkup.span-isp.working \
249 ppp.secret.span-isp \
250 ppp.secret.span-isp.working
276 SE_DIRS+= ses/getencstat
286 SE_DIRS+= ses/setencstat
291 SE_DIRS+= ses/setobjstat
310 SE_DIRS+= scsi_target
336 SE_DIRS+= sunrpc/sort
343 .if ${MK_EFI} != "no"
346 SE_UEFISIGN= uefikeys
350 SE_YPLDAP= ypldap.conf
352 .if ${MK_HAST} != "no"
362 .if ${MK_USB} != "no"
375 # Setup the FILES_GROUPS for all DIRS variables above.
376 # The variables are prefixed by 'SE_' to prevent variable collision in
377 # other parts of the system
379 .for f in ${SE_${d:tu:C/\//_/g}}
380 SER_${d:tu:C/\//_/g}+= ${d}/${f}
382 FILESGROUPS+= SER_${d:tu:C/\//_/g}
383 SER_${d:tu:C/\//_/g}DIR+= ${SHAREDIR}/examples/${d}
386 BINDIR= ${SHAREDIR}/examples
388 beforeinstall: copies
389 META_TARGETS+= copies
393 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
394 rm -f ${DESTDIR}${BINDIR}/$i; \
401 SUBDIR.${MK_TESTS}+= tests
405 .include <bsd.prog.mk>