1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24# Copyright 2019 Peter Tribble.
25#
26
27TOPDIR =	../../../../..
28
29include $(TOPDIR)/uts/Makefile.uts
30
31MODULE	= fs
32
33PLATLINKS	= SUNW,Ultra-2
34PLATLINKS	+= SUNW,Ultra-250
35PLATLINKS	+= SUNW,Ultra-4
36PLATLINKS	+= SUNW,Ultra-Enterprise
37PLATLINKS	+= SUNW,Sun-Blade-100
38PLATLINKS	+= SUNW,Sun-Blade-1000
39PLATLINKS	+= SUNW,Sun-Blade-1500
40PLATLINKS	+= SUNW,Sun-Blade-2500
41PLATLINKS	+= SUNW,A70
42PLATLINKS	+= SUNW,Sun-Fire-V445
43PLATLINKS	+= SUNW,Sun-Fire-V215
44PLATLINKS	+= SUNW,Sun-Fire
45PLATLINKS	+= SUNW,Sun-Fire-V240
46PLATLINKS	+= SUNW,Sun-Fire-V250
47PLATLINKS	+= SUNW,Sun-Fire-V440
48PLATLINKS	+= SUNW,Sun-Fire-280R
49PLATLINKS	+= SUNW,Sun-Fire-880
50PLATLINKS	+= SUNW,Sun-Fire-480R
51PLATLINKS	+= SUNW,Sun-Fire-V890
52PLATLINKS	+= SUNW,Sun-Fire-V490
53PLATLINKS	+= SUNW,Netra-T12
54PLATLINKS	+= SUNW,Netra-T4
55PLATLINKS	+= SUNW,Netra-CP3010
56PLATLINKS	+= SUNW,SPARC-Enterprise
57
58LINKED_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%)
59LINKED_LIB_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib)
60LINKED_LIB_FS_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib/fs)
61
62all	:=	TARGET = all
63install	:=	TARGET = install
64clean	:=	TARGET = clean
65
66TARG_MACH =	sparcv9
67TARG_MACH_DIR =	sparcv9
68ARCHVERS =	v9
69PLATFORM =	sun4u
70ARCHMMU  =	sfmmu
71PROMVERS =	ieee1275
72ASFLAGS +=	$(sparcv9_XARCH)
73
74include ../Makefile.com
75
76include $(TOPDIR)/psm/Makefile.psm.64
77include $(BOOTSRCDIR)/Makefile.rules
78
79FRC:
80
81.KEEP_STATE:
82
83all:
84
85install: all $(LINKED_DIRS) $(LINKED_LIB_DIRS) $(LINKED_LIB_FS_DIRS)
86
87clean:
88
89clobber: clean
90
91lint:
92
93FRC:
94