7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 # or http://www.opensolaris.org/os/licensing.
9 # See the License for the specific language governing permissions
10 # and limitations under the License.
11 #
12 # When distributing Covered Code, include this CDDL HEADER in each
13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 # If applicable, add the following below this CDDL HEADER, with the
15 # fields enclosed by brackets "[]" replaced with your own identifying
16 # information: Portions Copyright [yyyy] [name of copyright owner]
17 #
18 # CDDL HEADER END
19 #
20
21 #
22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2011, Richard Lowe
24 # Copyright (c) 2012 by Delphix. All rights reserved.
25 # Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>
26 # Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved.
27 # Copyright (c) 2013 RackTop Systems.
28 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
29 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
30 #
31
32 #
33 # It is easier to think in terms of directory names without the ROOT macro
34 # prefix. ROOTDIRS is TARGETDIRS with ROOT prefixes. It is necessary
35 # to work with ROOT prefixes when controlling conditional assignments.
36 #
37
38 DIRLINKS= $(SYM.DIRS)
39 $(BUILD64) DIRLINKS += $(SYM.DIRS64)
40
41 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
42 $(BUILD64) FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
43
44 TARGETDIRS= $(DIRS)
45 $(BUILD64) TARGETDIRS += $(DIRS64)
46
47 TARGETDIRS += $(FILELINKS) $(DIRLINKS)
48
49 i386_DIRS= \
50 /boot/acpi \
51 /boot/acpi/tables \
52 /boot/grub \
53 /boot/grub/bin \
54 /platform/i86pc \
55 /lib/libmvec \
56 /usr/lib/xen \
57 /usr/lib/xen/bin
58
59 sparc_DIRS= \
60 /usr/lib/ldoms
61
62 sparc_64ONLY= $(POUND_SIGN)
63 64ONLY= $($(MACH)_64ONLY)
64
65 $(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
66
67 DIRS= \
68 /boot \
69 /boot/solaris \
70 /boot/solaris/bin \
71 $($(MACH)_DIRS) \
72 /dev \
73 /dev/dsk \
74 /dev/fd \
75 /dev/ipnet \
76 /dev/net \
77 /dev/rdsk \
78 /dev/rmt \
79 /dev/pts \
80 /dev/sad \
81 /dev/swap \
82 /dev/term \
83 /dev/vt \
84 /dev/zcons \
85 /devices \
86 /devices/pseudo \
198 /lib/svc/monitor \
199 /lib/svc/seed \
200 /lib/svc/share \
201 /kernel \
202 /mnt \
203 /opt \
204 /platform \
205 /proc \
206 /root \
207 /sbin \
208 /system \
209 /system/boot \
210 /system/contract \
211 /system/object \
212 /tmp \
213 /usr \
214 /usr/4lib \
215 /usr/ast \
216 /usr/ast/bin \
217 /usr/bin \
218 /usr/bin/$(MACH32) \
219 /usr/ccs \
220 /usr/ccs/bin \
221 /usr/ccs/lib \
222 /usr/demo \
223 /usr/demo/SOUND \
224 /usr/games \
225 /usr/has \
226 /usr/has/bin \
227 /usr/has/lib \
228 /usr/has/man \
229 /usr/include \
230 /usr/include/ads \
231 /usr/include/ast \
232 /usr/include/fm \
233 /usr/include/gssapi \
234 /usr/include/hal \
235 /usr/include/kerberosv5 \
236 /usr/include/libmilter \
237 /usr/include/libpolkit \
238 /usr/include/sasl \
254 /usr/lib/class/FSS \
255 /usr/lib/class/FX \
256 /usr/lib/class/IA \
257 /usr/lib/class/RT \
258 /usr/lib/class/SDC \
259 /usr/lib/class/TS \
260 /usr/lib/crypto \
261 /usr/lib/drv \
262 /usr/lib/elfedit \
263 /usr/lib/fm \
264 /usr/lib/font \
265 /usr/lib/fs \
266 /usr/lib/fs/nfs \
267 /usr/lib/fs/proc \
268 /usr/lib/fs/smb \
269 /usr/lib/fs/zfs \
270 /usr/lib/gss \
271 /usr/lib/hal \
272 /usr/lib/inet \
273 /usr/lib/inet/ilb \
274 /usr/lib/inet/$(MACH32) \
275 /usr/lib/inet/wanboot \
276 /usr/lib/krb5 \
277 /usr/lib/link_audit \
278 /usr/lib/lwp \
279 /usr/lib/mdb \
280 /usr/lib/mdb/kvm \
281 /usr/lib/mdb/proc \
282 /usr/lib/nfs \
283 /usr/net \
284 /usr/net/servers \
285 /usr/lib/pool \
286 /usr/lib/python2.6 \
287 /usr/lib/python2.6/vendor-packages \
288 /usr/lib/python2.6/vendor-packages/64 \
289 /usr/lib/python2.6/vendor-packages/solaris \
290 /usr/lib/python2.6/vendor-packages/zfs \
291 /usr/lib/python2.6/vendor-packages/beadm \
292 /usr/lib/rcap \
293 /usr/lib/rcap/$(MACH32) \
294 /usr/lib/sa \
295 /usr/lib/saf \
296 /usr/lib/sasl \
297 /usr/lib/scsi \
298 /usr/lib/secure \
299 /usr/lib/security \
300 /usr/lib/smbsrv \
301 /usr/lib/vscan \
302 /usr/lib/zfs \
303 /usr/lib/zones \
304 /usr/old \
305 /usr/platform \
306 /usr/proc \
307 /usr/proc/bin \
308 /usr/sadm \
309 /usr/sadm/install \
310 /usr/sadm/install/bin \
311 /usr/sadm/install/scripts \
312 /usr/sbin \
313 /usr/sbin/$(MACH32) \
314 /usr/share \
315 /usr/share/applications \
316 /usr/share/audio \
317 /usr/share/audio/samples \
318 /usr/share/audio/samples/au \
319 /usr/share/gnome \
320 /usr/share/gnome/autostart \
321 /usr/share/hwdata \
322 /usr/share/lib \
323 /usr/share/lib/ccs \
324 /usr/share/lib/tmac \
325 /usr/share/lib/ldif \
326 /usr/share/lib/xml \
327 /usr/share/lib/xml/dtd \
328 /usr/share/man \
329 /usr/share/src \
330 /usr/snadm \
331 /usr/snadm/lib \
332 /usr/ucb \
333 $(MACH32_DIRS) \
334 /usr/ucblib \
335 /usr/xpg4 \
336 /usr/xpg4/bin \
337 /usr/xpg4/include \
338 /usr/xpg4/lib \
339 /usr/xpg6 \
340 /usr/xpg6/bin \
341 /var \
342 /var/adm \
343 /var/adm/exacct \
344 /var/adm/log \
345 /var/adm/pool \
346 /var/adm/sa \
347 /var/adm/sm.bin \
348 /var/adm/streams \
349 /var/cores \
350 /var/cron \
351 /var/db \
352 /var/db/ipf \
353 /var/games \
401 /var/svc/manifest/network/nfs \
402 /var/svc/manifest/network/nis \
403 /var/svc/manifest/network/rpc \
404 /var/svc/manifest/network/routing \
405 /var/svc/manifest/network/security \
406 /var/svc/manifest/network/shares \
407 /var/svc/manifest/network/ssl \
408 /var/svc/manifest/application \
409 /var/svc/manifest/application/management \
410 /var/svc/manifest/application/print \
411 /var/svc/manifest/application/security \
412 /var/svc/manifest/platform \
413 /var/svc/manifest/platform/sun4u \
414 /var/svc/manifest/platform/sun4v \
415 /var/svc/manifest/site \
416 /var/svc/profile \
417 /var/uucp \
418 /var/tmp \
419 /var/tsol \
420 /var/tsol/doors
421
422 sparcv9_DIRS64= \
423 /platform/sun4u \
424 /platform/sun4u/lib \
425 /platform/sun4u/lib/$(MACH64) \
426 /usr/platform/sun4u \
427 /usr/platform/sun4u/sbin \
428 /usr/platform/sun4u/lib \
429 /platform/sun4v/lib \
430 /platform/sun4v/lib/$(MACH64) \
431 /usr/platform/sun4v/sbin \
432 /usr/platform/sun4v/lib \
433 /usr/platform/sun4u-us3/lib \
434 /usr/platform/sun4u-opl/lib
435
436 amd64_DIRS64= \
437 /platform/i86pc/amd64
438
439 DIRS64= \
440 $($(MACH64)_DIRS64) \
|
7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 # or http://www.opensolaris.org/os/licensing.
9 # See the License for the specific language governing permissions
10 # and limitations under the License.
11 #
12 # When distributing Covered Code, include this CDDL HEADER in each
13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 # If applicable, add the following below this CDDL HEADER, with the
15 # fields enclosed by brackets "[]" replaced with your own identifying
16 # information: Portions Copyright [yyyy] [name of copyright owner]
17 #
18 # CDDL HEADER END
19 #
20
21 #
22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2011, Richard Lowe
24 # Copyright (c) 2012 by Delphix. All rights reserved.
25 # Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>
26 # Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved.
27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
28 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
29 # Copyright 2016 RackTop Systems.
30 #
31
32 #
33 # It is easier to think in terms of directory names without the ROOT macro
34 # prefix. ROOTDIRS is TARGETDIRS with ROOT prefixes. It is necessary
35 # to work with ROOT prefixes when controlling conditional assignments.
36 #
37
38 DIRLINKS= $(SYM.DIRS)
39 $(BUILD64) DIRLINKS += $(SYM.DIRS64)
40
41 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
42 $(BUILD64) FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
43
44 TARGETDIRS= $(DIRS) $(DIRS32)
45 $(BUILD64) TARGETDIRS += $(DIRS64)
46
47 TARGETDIRS += $(FILELINKS) $(DIRLINKS)
48
49 i386_DIRS= \
50 /boot/acpi \
51 /boot/acpi/tables \
52 /boot/grub \
53 /boot/grub/bin \
54 /platform/i86pc \
55 /lib/libmvec \
56 /usr/lib/xen \
57 /usr/lib/xen/bin
58
59 sparc_DIRS= \
60 /usr/lib/ldoms
61
62 DIRS= \
63 /boot \
64 /boot/solaris \
65 /boot/solaris/bin \
66 $($(MACH)_DIRS) \
67 /dev \
68 /dev/dsk \
69 /dev/fd \
70 /dev/ipnet \
71 /dev/net \
72 /dev/rdsk \
73 /dev/rmt \
74 /dev/pts \
75 /dev/sad \
76 /dev/swap \
77 /dev/term \
78 /dev/vt \
79 /dev/zcons \
80 /devices \
81 /devices/pseudo \
193 /lib/svc/monitor \
194 /lib/svc/seed \
195 /lib/svc/share \
196 /kernel \
197 /mnt \
198 /opt \
199 /platform \
200 /proc \
201 /root \
202 /sbin \
203 /system \
204 /system/boot \
205 /system/contract \
206 /system/object \
207 /tmp \
208 /usr \
209 /usr/4lib \
210 /usr/ast \
211 /usr/ast/bin \
212 /usr/bin \
213 /usr/ccs \
214 /usr/ccs/bin \
215 /usr/ccs/lib \
216 /usr/demo \
217 /usr/demo/SOUND \
218 /usr/games \
219 /usr/has \
220 /usr/has/bin \
221 /usr/has/lib \
222 /usr/has/man \
223 /usr/include \
224 /usr/include/ads \
225 /usr/include/ast \
226 /usr/include/fm \
227 /usr/include/gssapi \
228 /usr/include/hal \
229 /usr/include/kerberosv5 \
230 /usr/include/libmilter \
231 /usr/include/libpolkit \
232 /usr/include/sasl \
248 /usr/lib/class/FSS \
249 /usr/lib/class/FX \
250 /usr/lib/class/IA \
251 /usr/lib/class/RT \
252 /usr/lib/class/SDC \
253 /usr/lib/class/TS \
254 /usr/lib/crypto \
255 /usr/lib/drv \
256 /usr/lib/elfedit \
257 /usr/lib/fm \
258 /usr/lib/font \
259 /usr/lib/fs \
260 /usr/lib/fs/nfs \
261 /usr/lib/fs/proc \
262 /usr/lib/fs/smb \
263 /usr/lib/fs/zfs \
264 /usr/lib/gss \
265 /usr/lib/hal \
266 /usr/lib/inet \
267 /usr/lib/inet/ilb \
268 /usr/lib/inet/wanboot \
269 /usr/lib/krb5 \
270 /usr/lib/link_audit \
271 /usr/lib/lwp \
272 /usr/lib/mdb \
273 /usr/lib/mdb/kvm \
274 /usr/lib/mdb/proc \
275 /usr/lib/nfs \
276 /usr/net \
277 /usr/net/servers \
278 /usr/lib/pool \
279 /usr/lib/python2.6 \
280 /usr/lib/python2.6/vendor-packages \
281 /usr/lib/python2.6/vendor-packages/64 \
282 /usr/lib/python2.6/vendor-packages/solaris \
283 /usr/lib/python2.6/vendor-packages/zfs \
284 /usr/lib/python2.6/vendor-packages/beadm \
285 /usr/lib/rcap \
286 /usr/lib/sa \
287 /usr/lib/saf \
288 /usr/lib/sasl \
289 /usr/lib/scsi \
290 /usr/lib/secure \
291 /usr/lib/security \
292 /usr/lib/smbsrv \
293 /usr/lib/vscan \
294 /usr/lib/zfs \
295 /usr/lib/zones \
296 /usr/old \
297 /usr/platform \
298 /usr/proc \
299 /usr/proc/bin \
300 /usr/sadm \
301 /usr/sadm/install \
302 /usr/sadm/install/bin \
303 /usr/sadm/install/scripts \
304 /usr/sbin \
305 /usr/share \
306 /usr/share/applications \
307 /usr/share/audio \
308 /usr/share/audio/samples \
309 /usr/share/audio/samples/au \
310 /usr/share/gnome \
311 /usr/share/gnome/autostart \
312 /usr/share/hwdata \
313 /usr/share/lib \
314 /usr/share/lib/ccs \
315 /usr/share/lib/tmac \
316 /usr/share/lib/ldif \
317 /usr/share/lib/xml \
318 /usr/share/lib/xml/dtd \
319 /usr/share/man \
320 /usr/share/src \
321 /usr/snadm \
322 /usr/snadm/lib \
323 /usr/ucb \
324 /usr/ucblib \
325 /usr/xpg4 \
326 /usr/xpg4/bin \
327 /usr/xpg4/include \
328 /usr/xpg4/lib \
329 /usr/xpg6 \
330 /usr/xpg6/bin \
331 /var \
332 /var/adm \
333 /var/adm/exacct \
334 /var/adm/log \
335 /var/adm/pool \
336 /var/adm/sa \
337 /var/adm/sm.bin \
338 /var/adm/streams \
339 /var/cores \
340 /var/cron \
341 /var/db \
342 /var/db/ipf \
343 /var/games \
391 /var/svc/manifest/network/nfs \
392 /var/svc/manifest/network/nis \
393 /var/svc/manifest/network/rpc \
394 /var/svc/manifest/network/routing \
395 /var/svc/manifest/network/security \
396 /var/svc/manifest/network/shares \
397 /var/svc/manifest/network/ssl \
398 /var/svc/manifest/application \
399 /var/svc/manifest/application/management \
400 /var/svc/manifest/application/print \
401 /var/svc/manifest/application/security \
402 /var/svc/manifest/platform \
403 /var/svc/manifest/platform/sun4u \
404 /var/svc/manifest/platform/sun4v \
405 /var/svc/manifest/site \
406 /var/svc/profile \
407 /var/uucp \
408 /var/tmp \
409 /var/tsol \
410 /var/tsol/doors
411
412 i386_DIRS32= \
413 /usr/ucb/$(MACH32)
414
415 DIRS32= \
416 $((MACH)_DIRS32) \
417 /usr/bin/$(MACH32) \
418 /usr/lib/inet/$(MACH32) \
419 /usr/lib/rcap/$(MACH32) \
420 /usr/sbin/$(MACH32)
421
422 sparcv9_DIRS64= \
423 /platform/sun4u \
424 /platform/sun4u/lib \
425 /platform/sun4u/lib/$(MACH64) \
426 /usr/platform/sun4u \
427 /usr/platform/sun4u/sbin \
428 /usr/platform/sun4u/lib \
429 /platform/sun4v/lib \
430 /platform/sun4v/lib/$(MACH64) \
431 /usr/platform/sun4v/sbin \
432 /usr/platform/sun4v/lib \
433 /usr/platform/sun4u-us3/lib \
434 /usr/platform/sun4u-opl/lib
435
436 amd64_DIRS64= \
437 /platform/i86pc/amd64
438
439 DIRS64= \
440 $($(MACH64)_DIRS64) \
|