Makefile (fcf3ce441efd61da9bb2884968af01cb7c1452cc) Makefile (9b214d32697277d03ed2e5d98c4a7bfef16dcf4d)
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

--- 5 unchanged lines hidden (view full) ---

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#
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

--- 5 unchanged lines hidden (view full) ---

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 2008 Sun Microsystems, Inc. All rights reserved.
22# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25# include global definitions
26include ../Makefile.master
27
28#
29# List of architectures to build as part of the standard build.
30#

--- 51 unchanged lines hidden (view full) ---

82modlist := NO_STATE= -K $$MODSTATE$$$$
83
84.KEEP_STATE:
85
86def all lint: all_h $(PMTMO_FILE) $($(MACH)_ARCHITECTURES)
87
88install: all_h install_dirs $(PMTMO_FILE) $($(MACH)_ARCHITECTURES)
89
23# Use is subject to license terms.
24#
25# include global definitions
26include ../Makefile.master
27
28#
29# List of architectures to build as part of the standard build.
30#

--- 51 unchanged lines hidden (view full) ---

82modlist := NO_STATE= -K $$MODSTATE$$$$
83
84.KEEP_STATE:
85
86def all lint: all_h $(PMTMO_FILE) $($(MACH)_ARCHITECTURES)
87
88install: all_h install_dirs $(PMTMO_FILE) $($(MACH)_ARCHITECTURES)
89
90clean clobber: $($(MACH)_ARCHITECTURES)
91 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
92 echo $(RM) $(PMTMO_FILE) ; \
93 $(RM) $(PMTMO_FILE) ; \
94 fi
95
96EXTRA_CLOBBER_TARGETS= common/avs/ns/rdc
97clobber: $(EXTRA_CLOBBER_TARGETS)
98
99
100clean.lint modlist: $($(MACH)_ARCHITECTURES)
101
102install_dirs:
103 @cd ..; pwd; $(MAKE) rootdirs
104 @pwd
105
106#
107# Rule to build prerequisites. The left part of the pattern will match
108# PREREQ_TARGET.
109#

--- 54 unchanged lines hidden (view full) ---

164 common/sys \
165 common/vm
166
167
168# These aren't the only headers in closed. But the other directories
169# are simple enough that they can be driven from the src tree.
170$(CLOSED_BUILD)COMMON_HDRDIRS += $(CLOSED)/uts/common/sys
171
90install_dirs:
91 @cd ..; pwd; $(MAKE) rootdirs
92 @pwd
93
94#
95# Rule to build prerequisites. The left part of the pattern will match
96# PREREQ_TARGET.
97#

--- 54 unchanged lines hidden (view full) ---

152 common/sys \
153 common/vm
154
155
156# These aren't the only headers in closed. But the other directories
157# are simple enough that they can be driven from the src tree.
158$(CLOSED_BUILD)COMMON_HDRDIRS += $(CLOSED)/uts/common/sys
159
160#
161# Subset of COMMON_HDRDIRS in which at least one header is generated
162# at runtime (e.g., rpcgen). (This is a partial list; there are
163# other directories that should be included and do not yet have the
164# necessary Makefile support. See 6414855.)
165#
166DYNHDRDIRS = common/rpcsvc common/idmap
167
172sparc_HDRDIRS= sun/sys
173i386_HDRDIRS= i86pc/vm i86xpv/vm
174
175HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
176install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
177
178$(HDRDIRS): FRC
179 @cd $@; pwd; $(MAKE) $(TARGET)
180
181# ensures that headers made by rpcgen and others are available in uts source
182# for kernel builds to reference without building install_h
183#
184all_h: FRC
185 @cd common/sys; pwd; $(MAKE) $@
186 @cd common/rpc; pwd; $(MAKE) $@
187 @cd common/rpcsvc; pwd; $(MAKE) $@
188 @cd common/gssapi; pwd; $(MAKE) $@
189 @cd common/idmap; pwd; $(MAKE) $@
190
168sparc_HDRDIRS= sun/sys
169i386_HDRDIRS= i86pc/vm i86xpv/vm
170
171HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
172install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
173
174$(HDRDIRS): FRC
175 @cd $@; pwd; $(MAKE) $(TARGET)
176
177# ensures that headers made by rpcgen and others are available in uts source
178# for kernel builds to reference without building install_h
179#
180all_h: FRC
181 @cd common/sys; pwd; $(MAKE) $@
182 @cd common/rpc; pwd; $(MAKE) $@
183 @cd common/rpcsvc; pwd; $(MAKE) $@
184 @cd common/gssapi; pwd; $(MAKE) $@
185 @cd common/idmap; pwd; $(MAKE) $@
186
187clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
188 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
189 echo $(RM) $(PMTMO_FILE) ; \
190 $(RM) $(PMTMO_FILE) ; \
191 fi
192
193EXTRA_CLOBBER_TARGETS= common/avs/ns/rdc
194clobber: $(EXTRA_CLOBBER_TARGETS)
195
196
197clean.lint modlist: $($(MACH)_ARCHITECTURES)
198
191ONC_FILES= common/io/timod.c \
192 common/os/sig.c \
193 common/os/flock.c \
194 common/os/sysent.c \
195 common/os/swapgeneric.c \
196 common/syscall/fcntl.c
197
198# edit onc plus source files.

--- 26 unchanged lines hidden ---
199ONC_FILES= common/io/timod.c \
200 common/os/sig.c \
201 common/os/flock.c \
202 common/os/sysent.c \
203 common/os/swapgeneric.c \
204 common/syscall/fcntl.c
205
206# edit onc plus source files.

--- 26 unchanged lines hidden ---