3 # Doing a make install builds /usr/share/examples
8 FILESDIR= ${SHAREDIR}/examples
47 .if ${MACHINE_CPUARCH} == "amd64"
48 .if ${MK_BHYVE} != "no"
52 PACKAGE_bhyve/vmrun.sh= bhyve
56 SE_DIRS+= FreeBSD_version
88 make_device_driver.sh \
97 SE_DIRS+= find_interface
109 SE_INDENT= indent.pro
111 .if ${MK_IPFILTER} != "no"
116 SE_IPFW= change_rules.sh
136 SE_DIRS+= kld/cdev/module
137 SE_KLD_CDEV_MODULE= \
143 SE_DIRS+= kld/cdev/test
148 SE_DIRS+= kld/dyn_sysctl
154 SE_DIRS+= kld/firmware
159 SE_DIRS+= kld/firmware/fwconsumer
160 SE_KLD_FIRMWARE_FWCONSUMER= \
164 SE_DIRS+= kld/firmware/fwimage
165 SE_KLD_FIRMWARE_FWIMAGE= \
175 SE_DIRS+= kld/syscall
176 SE_KLD_SYSCALL= Makefile
178 SE_DIRS+= kld/syscall/module
179 SE_KLD_SYSCALL_MODULE= \
183 SE_DIRS+= kld/syscall/test
184 SE_KLD_SYSCALL_TEST= \
244 ppp.conf.span-isp.working \
245 ppp.linkdown.sample \
246 ppp.linkdown.span-isp \
247 ppp.linkdown.span-isp.working \
249 ppp.linkup.span-isp \
250 ppp.linkup.span-isp.working \
252 ppp.secret.span-isp \
253 ppp.secret.span-isp.working
279 SE_DIRS+= ses/getencstat
289 SE_DIRS+= ses/setencstat
294 SE_DIRS+= ses/setobjstat
313 SE_DIRS+= scsi_target
339 SE_DIRS+= sunrpc/sort
347 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 etc-examples
389 META_TARGETS+= copies
394 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
395 rm -f ${DESTDIR}${BINDIR}/$i; \
400 ${_+_}(cd ${SRCTOP}/etc; ${MAKE} etc-examples)
405 SUBDIR.${MK_TESTS}+= tests
409 .include <bsd.prog.mk>