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
108 SE_INDENT= indent.pro
110 .if ${MK_IPFILTER} != "no"
115 SE_IPFW= change_rules.sh
135 SE_DIRS+= kld/cdev/module
136 SE_KLD_CDEV_MODULE= \
142 SE_DIRS+= kld/cdev/test
147 SE_DIRS+= kld/dyn_sysctl
153 SE_DIRS+= kld/firmware
158 SE_DIRS+= kld/firmware/fwconsumer
159 SE_KLD_FIRMWARE_FWCONSUMER= \
163 SE_DIRS+= kld/firmware/fwimage
164 SE_KLD_FIRMWARE_FWIMAGE= \
174 SE_DIRS+= kld/syscall
175 SE_KLD_SYSCALL= Makefile
177 SE_DIRS+= kld/syscall/module
178 SE_KLD_SYSCALL_MODULE= \
182 SE_DIRS+= kld/syscall/test
183 SE_KLD_SYSCALL_TEST= \
243 ppp.conf.span-isp.working \
244 ppp.linkdown.sample \
245 ppp.linkdown.span-isp \
246 ppp.linkdown.span-isp.working \
248 ppp.linkup.span-isp \
249 ppp.linkup.span-isp.working \
251 ppp.secret.span-isp \
252 ppp.secret.span-isp.working
278 SE_DIRS+= ses/getencstat
288 SE_DIRS+= ses/setencstat
293 SE_DIRS+= ses/setobjstat
312 SE_DIRS+= scsi_target
338 SE_DIRS+= sunrpc/sort
345 .if ${MK_EFI} != "no"
348 SE_UEFISIGN= uefikeys
352 SE_YPLDAP= ypldap.conf
354 .if ${MK_HAST} != "no"
364 .if ${MK_USB} != "no"
377 # Setup the FILES_GROUPS for all DIRS variables above.
378 # The variables are prefixed by 'SE_' to prevent variable collision in
379 # other parts of the system
381 .for f in ${SE_${d:tu:C/\//_/g}}
382 SER_${d:tu:C/\//_/g}+= ${d}/${f}
384 FILESGROUPS+= SER_${d:tu:C/\//_/g}
385 SER_${d:tu:C/\//_/g}DIR+= ${SHAREDIR}/examples/${d}
388 BINDIR= ${SHAREDIR}/examples
390 beforeinstall: copies etc-examples
391 META_TARGETS+= copies
396 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
397 rm -f ${DESTDIR}${BINDIR}/$i; \
402 ${_+_}(cd ${SRCTOP}/etc; ${MAKE} etc-examples)
407 SUBDIR.${MK_TESTS}+= tests
411 .include <bsd.prog.mk>