3 # Doing a make install builds /usr/share/examples
37 # Disabled in 7.0 as netatm is not MPSAFE.
40 XFILES= BSD_daemon/FreeBSD.pfa \
42 BSD_daemon/beastie.eps \
43 BSD_daemon/beastie.fig \
44 BSD_daemon/eps.patch \
45 BSD_daemon/poster.sh \
46 FreeBSD_version/FreeBSD_version.c \
47 FreeBSD_version/Makefile \
48 FreeBSD_version/README \
52 bootforth/frames.4th \
55 bootforth/menuconf.4th \
56 bootforth/screen.4th \
64 cvsup/stable-supfile \
65 cvsup/standard-supfile \
68 diskless/README.BOOTP \
69 diskless/README.TEMPLATING \
72 drivers/make_device_driver.sh \
73 drivers/make_pseudo_driver.sh \
75 etc/bsd-style-copyright \
77 find_interface/Makefile \
78 find_interface/README \
79 find_interface/find_interface.c \
82 ipfw/change_rules.sh \
93 isdn/contrib/anleitung.ppp \
94 isdn/contrib/answer.c \
95 isdn/contrib/answer.sh \
96 isdn/contrib/convert.sh \
97 isdn/contrib/hplay.c \
98 isdn/contrib/i4b-ppp-newbie.txt \
99 isdn/contrib/isdnctl \
100 isdn/contrib/isdnd_acct \
101 isdn/contrib/isdnd_acct.pl \
102 isdn/contrib/isdntelmux.c \
103 isdn/contrib/mrtg-isp0.sh \
104 isdn/i4brunppp/Makefile \
105 isdn/i4brunppp/README \
106 isdn/i4brunppp/i4brunppp-isdnd.rc \
107 isdn/i4brunppp/i4brunppp.8 \
108 isdn/i4brunppp/i4brunppp.c \
111 isdn/v21/v21modem.c \
115 kld/cdev/module/Makefile \
116 kld/cdev/module/cdev.c \
117 kld/cdev/module/cdev.h \
118 kld/cdev/module/cdevmod.c \
119 kld/cdev/test/Makefile \
120 kld/cdev/test/testcdev.c \
121 kld/dyn_sysctl/Makefile \
122 kld/dyn_sysctl/README \
123 kld/dyn_sysctl/dyn_sysctl.c \
124 kld/syscall/Makefile \
125 kld/syscall/module/Makefile \
126 kld/syscall/module/syscall.c \
127 kld/syscall/test/Makefile \
128 kld/syscall/test/call.c \
131 mdoc/POSIX-copyright \
137 netgraph/ether.bridge \
138 netgraph/frame_relay \
141 netgraph/udp.tunnel \
142 nwclient/dot.nwfsrc \
143 nwclient/nwfs.sh.sample \
155 ppp/ppp.conf.sample \
156 ppp/ppp.conf.span-isp \
157 ppp/ppp.conf.span-isp.working \
158 ppp/ppp.linkdown.sample \
159 ppp/ppp.linkdown.span-isp \
160 ppp/ppp.linkdown.span-isp.working \
161 ppp/ppp.linkup.sample \
162 ppp/ppp.linkup.span-isp \
163 ppp/ppp.linkup.span-isp.working \
164 ppp/ppp.secret.sample \
165 ppp/ppp.secret.span-isp \
166 ppp/ppp.secret.span-isp.working \
167 pppd/auth-down.sample \
168 pppd/auth-up.sample \
169 pppd/chap-secrets.sample \
170 pppd/chat.sh.sample \
171 pppd/ip-down.sample \
173 pppd/options.sample \
174 pppd/pap-secrets.sample \
175 pppd/ppp.deny.sample \
176 pppd/ppp.shells.sample \
178 printing/diablo-if-net \
185 printing/if-simpleX \
187 printing/make-ps-header \
196 ses/getencstat/Makefile \
197 ses/getencstat/getencstat.0 \
200 ses/setencstat/Makefile \
201 ses/setencstat/setencstat.0 \
202 ses/setobjstat/Makefile \
203 ses/setobjstat/setobjstat.0 \
206 ses/srcs/getencstat.c \
208 ses/srcs/getobjmap.c \
209 ses/srcs/getobjstat.c \
212 ses/srcs/setencstat.c \
213 ses/srcs/setobjstat.c \
214 scsi_target/Makefile \
215 scsi_target/scsi_target.c \
216 scsi_target/scsi_target.h \
217 scsi_target/scsi_target.8 \
218 scsi_target/scsi_cmds.c \
219 slattach/unit-command.sh \
220 sliplogin/slip.hosts \
221 sliplogin/slip.login \
222 sliplogin/slip.logout \
223 sliplogin/slip.slparms \
224 startslip/sldown.sh \
228 sunrpc/dir/Makefile \
230 sunrpc/dir/dir_proc.c \
232 sunrpc/msg/Makefile \
234 sunrpc/msg/msg_proc.c \
235 sunrpc/msg/printmsg.c \
236 sunrpc/msg/rprintmsg.c \
237 sunrpc/sort/Makefile \
238 sunrpc/sort/rsort.c \
240 sunrpc/sort/sort_proc.c
242 # Disabled in 7.0 as netatm is not MPSAFE.
243 #XFILES+= atm/NOTES \
246 # atm/atm-config.sh \
247 # atm/atm-sockets.txt \
248 # atm/cpcs-design.txt \
249 # atm/fore-microcode.txt \
250 # atm/sscf-design.txt \
251 # atm/sscop-design.txt
253 BINDIR= ${SHAREDIR}/examples
257 # Define SHARED to indicate whether you want symbolic links to the system
258 # source (``symlinks''), or a separate copy (``copies''); (latter useful
259 # in environments where it's not possible to keep /sys publicly readable)
262 beforeinstall: ${SHARED} etc-examples
263 .ORDER: ${SHARED} etc-examples
267 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
268 rm -f ${DESTDIR}${BINDIR}/$i; \
271 mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
272 -f ${.CURDIR}/../../etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
273 .for file in ${XFILES}
274 ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
275 ${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
280 rm -rf ${DESTDIR}${BINDIR}/$i
281 ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
285 .if ${SHARED} != "symlinks"
286 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
289 .if ${SHARED} != "symlinks"
291 .if ${MK_IPFILTER} != "no"
299 .include <bsd.subdir.mk>