3 # Doing a make install builds /usr/share/examples
38 XFILES= BSD_daemon/FreeBSD.pfa \
40 BSD_daemon/beastie.eps \
41 BSD_daemon/beastie.fig \
42 BSD_daemon/eps.patch \
43 BSD_daemon/poster.sh \
44 FreeBSD_version/FreeBSD_version.c \
45 FreeBSD_version/Makefile \
46 FreeBSD_version/README \
54 atm/fore-microcode.txt \
56 atm/sscop-design.txt \
59 bootforth/frames.4th \
62 bootforth/menuconf.4th \
63 bootforth/screen.4th \
71 cvsup/stable-supfile \
72 cvsup/standard-supfile \
75 diskless/README.BOOTP \
76 diskless/README.TEMPLATING \
79 drivers/make_device_driver.sh \
80 drivers/make_pseudo_driver.sh \
82 etc/bsd-style-copyright \
84 find_interface/Makefile \
85 find_interface/README \
86 find_interface/find_interface.c \
89 ipfw/change_rules.sh \
100 isdn/contrib/anleitung.ppp \
101 isdn/contrib/answer.c \
102 isdn/contrib/answer.sh \
103 isdn/contrib/convert.sh \
104 isdn/contrib/hplay.c \
105 isdn/contrib/i4b-ppp-newbie.txt \
106 isdn/contrib/isdnctl \
107 isdn/contrib/isdnd_acct \
108 isdn/contrib/isdnd_acct.pl \
109 isdn/contrib/isdntelmux.c \
110 isdn/contrib/mrtg-isp0.sh \
111 isdn/i4brunppp/Makefile \
112 isdn/i4brunppp/README \
113 isdn/i4brunppp/i4brunppp-isdnd.rc \
114 isdn/i4brunppp/i4brunppp.8 \
115 isdn/i4brunppp/i4brunppp.c \
118 isdn/v21/v21modem.c \
122 kld/cdev/module/Makefile \
123 kld/cdev/module/cdev.c \
124 kld/cdev/module/cdev.h \
125 kld/cdev/module/cdevmod.c \
126 kld/cdev/test/Makefile \
127 kld/cdev/test/testcdev.c \
128 kld/dyn_sysctl/Makefile \
129 kld/dyn_sysctl/README \
130 kld/dyn_sysctl/dyn_sysctl.c \
131 kld/syscall/Makefile \
132 kld/syscall/module/Makefile \
133 kld/syscall/module/syscall.c \
134 kld/syscall/test/Makefile \
135 kld/syscall/test/call.c \
138 mdoc/POSIX-copyright \
144 netgraph/bluetooth/rc.bluetooth \
145 netgraph/ether.bridge \
146 netgraph/frame_relay \
149 netgraph/udp.tunnel \
150 nwclient/dot.nwfsrc \
151 nwclient/nwfs.sh.sample \
163 ppp/ppp.conf.sample \
164 ppp/ppp.conf.span-isp \
165 ppp/ppp.conf.span-isp.working \
166 ppp/ppp.linkdown.sample \
167 ppp/ppp.linkdown.span-isp \
168 ppp/ppp.linkdown.span-isp.working \
169 ppp/ppp.linkup.sample \
170 ppp/ppp.linkup.span-isp \
171 ppp/ppp.linkup.span-isp.working \
172 ppp/ppp.secret.sample \
173 ppp/ppp.secret.span-isp \
174 ppp/ppp.secret.span-isp.working \
175 pppd/auth-down.sample \
176 pppd/auth-up.sample \
177 pppd/chap-secrets.sample \
178 pppd/chat.sh.sample \
179 pppd/ip-down.sample \
181 pppd/options.sample \
182 pppd/pap-secrets.sample \
183 pppd/ppp.deny.sample \
184 pppd/ppp.shells.sample \
186 printing/diablo-if-net \
193 printing/if-simpleX \
195 printing/make-ps-header \
204 ses/getencstat/Makefile \
205 ses/getencstat/getencstat.0 \
208 ses/setencstat/Makefile \
209 ses/setencstat/setencstat.0 \
210 ses/setobjstat/Makefile \
211 ses/setobjstat/setobjstat.0 \
214 ses/srcs/getencstat.c \
216 ses/srcs/getobjmap.c \
217 ses/srcs/getobjstat.c \
220 ses/srcs/setencstat.c \
221 ses/srcs/setobjstat.c \
222 scsi_target/Makefile \
223 scsi_target/scsi_target.c \
224 scsi_target/scsi_target.h \
225 scsi_target/scsi_target.8 \
226 scsi_target/scsi_cmds.c \
227 slattach/unit-command.sh \
228 sliplogin/slip.hosts \
229 sliplogin/slip.login \
230 sliplogin/slip.logout \
231 sliplogin/slip.slparms \
232 startslip/sldown.sh \
236 sunrpc/dir/Makefile \
238 sunrpc/dir/dir_proc.c \
240 sunrpc/msg/Makefile \
242 sunrpc/msg/msg_proc.c \
243 sunrpc/msg/printmsg.c \
244 sunrpc/msg/rprintmsg.c \
245 sunrpc/sort/Makefile \
246 sunrpc/sort/rsort.c \
248 sunrpc/sort/sort_proc.c
250 BINDIR= ${SHAREDIR}/examples
254 # Define SHARED to indicate whether you want symbolic links to the system
255 # source (``symlinks''), or a separate copy (``copies''); (latter useful
256 # in environments where it's not possible to keep /sys publicly readable)
259 beforeinstall: ${SHARED} etc-examples
260 .ORDER: ${SHARED} etc-examples
264 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
265 rm -f ${DESTDIR}${BINDIR}/$i; \
268 mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
269 -f ${.CURDIR}/../../etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
270 .for file in ${XFILES}
271 ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
272 ${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
277 rm -rf ${DESTDIR}${BINDIR}/$i
278 ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
282 .if ${SHARED} != "symlinks"
283 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
286 .if ${SHARED} != "symlinks"
288 .if ${MK_IPFILTER} != "no"
296 .include <bsd.subdir.mk>