annotate make/solaris/makefiles/buildtree.make @ 23286:dd9cc155639c

Merge with jdk8u66-b17
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Thu, 07 Jan 2016 17:28:46 +0100
parents b8f0a82b27cb 8e9c73f18f7e
children
rev   line source
duke@0 1 #
kvn@8879 2 # Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
duke@0 7 # published by the Free Software Foundation.
duke@0 8 #
duke@0 9 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 # accompanied this code).
duke@0 14 #
duke@0 15 # You should have received a copy of the GNU General Public License version
duke@0 16 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 #
trims@1552 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1552 20 # or visit www.oracle.com if you need additional information or have any
trims@1552 21 # questions.
drchase@9152 22 #
duke@0 23 #
duke@0 24
duke@0 25 # Usage:
duke@0 26 #
duke@0 27 # $(MAKE) -f buildtree.make ARCH=arch BUILDARCH=buildarch LIBARCH=libarch
duke@0 28 # GAMMADIR=dir OS_FAMILY=os VARIANT=variant
duke@0 29 #
duke@0 30 # The macros ARCH, GAMMADIR, OS_FAMILY and VARIANT must be defined in the
duke@0 31 # environment or on the command-line:
duke@0 32 #
duke@0 33 # ARCH - sparc, i486, ... HotSpot cpu and os_cpu source directory
duke@0 34 # BUILDARCH - build directory
duke@0 35 # LIBARCH - the corresponding directory in JDK/JRE
duke@0 36 # GAMMADIR - top of workspace
duke@0 37 # OS_FAMILY - operating system
duke@0 38 # VARIANT - core, compiler1, compiler2, or tiered
duke@0 39 # HOTSPOT_RELEASE_VERSION - <major>.<minor>-b<nn> (11.0-b07)
ohair@1977 40 # HOTSPOT_BUILD_VERSION - internal, internal-$(USER_RELEASE_SUFFIX) or empty
duke@0 41 # JRE_RELEASE_VERSION - <major>.<minor>.<micro> (1.7.0)
duke@0 42 #
duke@0 43 # Builds the directory trees with makefiles plus some convenience files in
duke@0 44 # each directory:
duke@0 45 #
duke@0 46 # Makefile - for "make foo"
duke@0 47 # flags.make - with macro settings
duke@0 48 # vm.make - to support making "$(MAKE) -v vm.make" in makefiles
drchase@9152 49 # adlc.make -
sla@10405 50 # trace.make - generate tracing event and type definitions
duke@0 51 # jvmti.make - generate JVMTI bindings from the spec (JSR-163)
duke@0 52 # sa.make - generate SA jar file and natives
drchase@9152 53 #
duke@0 54 # The makefiles are split this way so that "make foo" will run faster by not
duke@0 55 # having to read the dependency files for the vm.
duke@0 56
erikj@5897 57 -include $(SPEC)
duke@0 58 include $(GAMMADIR)/make/scm.make
twisti@8780 59 include $(GAMMADIR)/make/defs.make
thomas@2184 60 include $(GAMMADIR)/make/altsrc.make
duke@0 61
twisti@8780 62
duke@0 63 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
duke@0 64 QUIETLY$(MAKE_VERBOSE) = @
duke@0 65
duke@0 66 ### maye ARCH_XXX instead?
duke@0 67 ifdef USE_GCC
kamg@91 68 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).gcc
duke@0 69 GCC_LIB = /usr/local/lib
duke@0 70 else
kamg@91 71 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
drchase@9152 72 GCC_LIB =
duke@0 73 endif
duke@0 74
duke@0 75 ifdef FORCE_TIERED
duke@0 76 ifeq ($(VARIANT),tiered)
duke@0 77 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_compiler2
duke@0 78 else
duke@0 79 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT)
duke@0 80 endif
duke@0 81 else
duke@0 82 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT)
duke@0 83 endif
duke@0 84
duke@0 85 #
duke@0 86 # We do two levels of exclusion in the shared directory.
duke@0 87 # TOPLEVEL excludes are pruned, they are not recursively searched,
duke@0 88 # but lower level directories can be named without fear of collision.
duke@0 89 # ALWAYS excludes are excluded at any level in the directory tree.
duke@0 90 #
duke@0 91
duke@0 92 ALWAYS_EXCLUDE_DIRS = $(SCM_DIRS)
duke@0 93
duke@0 94 ifeq ($(VARIANT),tiered)
duke@0 95 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name agent
duke@0 96 else
duke@0 97 ifeq ($(VARIANT),compiler2)
duke@0 98 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name c1 -o -name agent
duke@0 99 else
duke@0 100 # compiler1 and core use the same exclude list
duke@0 101 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name opto -o -name libadt -o -name agent
duke@0 102 endif
duke@0 103 endif
duke@0 104
duke@0 105 # Get things from the platform file.
duke@0 106 COMPILER = $(shell sed -n 's/^compiler[ ]*=[ ]*//p' $(PLATFORM_FILE))
duke@0 107
duke@0 108 SIMPLE_DIRS = \
stefank@1972 109 $(PLATFORM_DIR)/generated/dependencies \
duke@0 110 $(PLATFORM_DIR)/generated/adfiles \
sla@10405 111 $(PLATFORM_DIR)/generated/jvmtifiles \
sla@10405 112 $(PLATFORM_DIR)/generated/tracefiles
duke@0 113
drchase@9152 114 TARGETS = debug fastdebug optimized product
duke@0 115 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS))
duke@0 116
duke@0 117 # For dependencies and recursive makes.
kamg@91 118 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make
duke@0 119
sla@10405 120 BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make trace.make sa.make
duke@0 121
duke@0 122 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OS_FAMILY) \
duke@0 123 ARCH=$(ARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) VARIANT=$(VARIANT)
duke@0 124
duke@0 125 # Define variables to be set in flags.make.
duke@0 126 # Default values are set in make/defs.make.
duke@0 127 ifeq ($(HOTSPOT_BUILD_VERSION),)
duke@0 128 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)
duke@0 129 else
duke@0 130 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
duke@0 131 endif
duke@0 132 # Set BUILD_USER from system-dependent hints: $LOGNAME, $(whoami)
duke@0 133 ifndef HOTSPOT_BUILD_USER
duke@0 134 HOTSPOT_BUILD_USER := $(shell echo $$LOGNAME)
duke@0 135 endif
duke@0 136 ifndef HOTSPOT_BUILD_USER
duke@0 137 HOTSPOT_BUILD_USER := $(shell whoami)
duke@0 138 endif
kamg@91 139 # Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro
kamg@91 140 # or make/hotspot_distro.
duke@0 141 ifndef HOTSPOT_VM_DISTRO
thomas@2184 142 ifeq ($(call if-has-altsrc,$(HS_COMMON_SRC)/,true,false),true)
kamg@91 143 include $(GAMMADIR)/make/hotspot_distro
duke@0 144 else
kamg@91 145 include $(GAMMADIR)/make/openjdk_distro
duke@0 146 endif
duke@0 147 endif
duke@0 148
coleenp@6837 149 # if hotspot-only build and/or OPENJDK isn't passed down, need to set OPENJDK
coleenp@6837 150 ifndef OPENJDK
coleenp@6837 151 ifneq ($(call if-has-altsrc,$(HS_COMMON_SRC)/,true,false),true)
coleenp@6837 152 OPENJDK=true
coleenp@6837 153 endif
coleenp@6837 154 endif
coleenp@6837 155
drchase@9152 156 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HS_BUILD_VER) HOTSPOT_BUILD_VERSION= JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION)
duke@0 157
duke@0 158 BUILDTREE = \
duke@0 159 $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_TARGETS) $(BUILDTREE_VARS)
duke@0 160
duke@0 161 BUILDTREE_COMMENT = echo "\# Generated by $(BUILDTREE_MAKE)"
duke@0 162
duke@0 163 all: $(SUBMAKE_DIRS)
duke@0 164
duke@0 165 # Run make in each subdirectory recursively.
duke@0 166 $(SUBMAKE_DIRS): $(SIMPLE_DIRS) FORCE
duke@0 167 $(QUIETLY) [ -d $@ ] || { mkdir -p $@; }
duke@0 168 $(QUIETLY) cd $@ && $(BUILDTREE) TARGET=$(@F)
duke@0 169 $(QUIETLY) touch $@
duke@0 170
duke@0 171 $(SIMPLE_DIRS):
duke@0 172 $(QUIETLY) mkdir -p $@
duke@0 173
thomas@2184 174 # Convenience macro which takes a source relative path, applies $(1) to the
drchase@9152 175 # absolute path, and then replaces $(GAMMADIR) in the result with a
drchase@9152 176 # literal "$(GAMMADIR)/" suitable for inclusion in a Makefile.
thomas@2184 177 gamma-path=$(subst $(GAMMADIR),\$$(GAMMADIR),$(call $(1),$(HS_COMMON_SRC)/$(2)))
thomas@2184 178
kvn@8879 179 # This bit is needed to enable local rebuilds.
kvn@8879 180 # Unless the makefile itself sets LP64, any environmental
kvn@8879 181 # setting of LP64 will interfere with the build.
kvn@8879 182 LP64_SETTING/32 = LP64 = \#empty
kvn@8879 183 LP64_SETTING/64 = LP64 = 1
kvn@8879 184
kvn@8879 185 DATA_MODE/i486 = 32
kvn@8879 186 DATA_MODE/sparc = 32
kvn@8879 187 DATA_MODE/sparcv9 = 64
kvn@8879 188 DATA_MODE/amd64 = 64
kvn@8879 189
kvn@8879 190 DATA_MODE = $(DATA_MODE/$(BUILDARCH))
kvn@8879 191
duke@0 192 flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst
duke@0 193 @echo Creating $@ ...
duke@0 194 $(QUIETLY) ( \
duke@0 195 $(BUILDTREE_COMMENT); \
duke@0 196 echo; \
duke@0 197 echo "Platform_file = $(PLATFORM_FILE)" | sed 's|$(GAMMADIR)|$$(GAMMADIR)|'; \
duke@0 198 sed -n '/=/s/^ */Platform_/p' < $(PLATFORM_FILE); \
duke@0 199 echo; \
duke@0 200 echo "GAMMADIR = $(GAMMADIR)"; \
duke@0 201 echo "SYSDEFS = \$$(Platform_sysdefs)"; \
duke@0 202 echo "SRCARCH = $(ARCH)"; \
duke@0 203 echo "BUILDARCH = $(BUILDARCH)"; \
duke@0 204 echo "LIBARCH = $(LIBARCH)"; \
duke@0 205 echo "TARGET = $(TARGET)"; \
duke@0 206 echo "HS_BUILD_VER = $(HS_BUILD_VER)"; \
duke@0 207 echo "JRE_RELEASE_VER = $(JRE_RELEASE_VERSION)"; \
duke@0 208 echo "SA_BUILD_VERSION = $(HS_BUILD_VER)"; \
duke@0 209 echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \
duke@0 210 echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \
coleenp@6837 211 echo "OPENJDK = $(OPENJDK)"; \
duke@0 212 echo "$(LP64_SETTING/$(DATA_MODE))"; \
duke@0 213 echo; \
stefank@1972 214 echo "# Used for platform dispatching"; \
stefank@1972 215 echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \
stefank@1972 216 echo "TARGET_DEFINES += -DTARGET_ARCH_\$$(Platform_arch)"; \
stefank@1972 217 echo "TARGET_DEFINES += -DTARGET_ARCH_MODEL_\$$(Platform_arch_model)"; \
stefank@1972 218 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_\$$(Platform_os_arch)"; \
stefank@1972 219 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_MODEL_\$$(Platform_os_arch_model)"; \
stefank@1972 220 echo "TARGET_DEFINES += -DTARGET_COMPILER_\$$(Platform_compiler)"; \
stefank@1972 221 echo "CFLAGS += \$$(TARGET_DEFINES)"; \
stefank@1972 222 echo; \
stefank@1972 223 echo "Src_Dirs_V = \\"; \
duke@0 224 sed 's/$$/ \\/;s|$(GAMMADIR)|$$(GAMMADIR)|' ../shared_dirs.lst; \
thomas@2184 225 echo "$(call gamma-path,altsrc,cpu/$(ARCH)/vm) \\"; \
thomas@2184 226 echo "$(call gamma-path,commonsrc,cpu/$(ARCH)/vm) \\"; \
thomas@2184 227 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \
thomas@2184 228 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \
thomas@2184 229 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \
thomas@2184 230 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \
thomas@2184 231 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \
morris@9934 232 echo "$(call gamma-path,commonsrc,os/posix/vm) \\"; \
stefank@1972 233 echo; \
stefank@1972 234 echo "Src_Dirs_I = \\"; \
thomas@2184 235 echo "$(call gamma-path,altsrc,share/vm/prims) \\"; \
thomas@2184 236 echo "$(call gamma-path,commonsrc,share/vm/prims) \\"; \
thomas@2184 237 echo "$(call gamma-path,altsrc,share/vm) \\"; \
thomas@2184 238 echo "$(call gamma-path,commonsrc,share/vm) \\"; \
brutisso@4033 239 echo "$(call gamma-path,altsrc,share/vm/precompiled) \\"; \
brutisso@4033 240 echo "$(call gamma-path,commonsrc,share/vm/precompiled) \\"; \
thomas@2184 241 echo "$(call gamma-path,altsrc,cpu/$(ARCH)/vm) \\"; \
thomas@2184 242 echo "$(call gamma-path,commonsrc,cpu/$(ARCH)/vm) \\"; \
thomas@2184 243 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \
thomas@2184 244 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \
thomas@2184 245 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \
thomas@2184 246 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \
morris@9934 247 echo "$(call gamma-path,commonsrc,os/posix/vm) \\"; \
duke@0 248 [ -n "$(CFLAGS_BROWSE)" ] && \
duke@0 249 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \
dcubed@6020 250 [ -n "$(ENABLE_FULL_DEBUG_SYMBOLS)" ] && \
dcubed@6020 251 echo && echo "ENABLE_FULL_DEBUG_SYMBOLS = $(ENABLE_FULL_DEBUG_SYMBOLS)"; \
dcubed@3954 252 [ -n "$(OBJCOPY)" ] && \
dcubed@3954 253 echo && echo "OBJCOPY = $(OBJCOPY)"; \
dcubed@3954 254 [ -n "$(STRIP_POLICY)" ] && \
dcubed@3954 255 echo && echo "STRIP_POLICY = $(STRIP_POLICY)"; \
dcubed@6020 256 [ -n "$(ZIP_DEBUGINFO_FILES)" ] && \
dcubed@6020 257 echo && echo "ZIP_DEBUGINFO_FILES = $(ZIP_DEBUGINFO_FILES)"; \
dcubed@6020 258 [ -n "$(ZIPEXE)" ] && \
dcubed@6020 259 echo && echo "ZIPEXE = $(ZIPEXE)"; \
jwilhelm@20346 260 [ -n "$(HS_ALT_MAKE)" ] && \
jwilhelm@20346 261 echo && echo "HS_ALT_MAKE = $(HS_ALT_MAKE)"; \
duke@0 262 [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \
duke@0 263 echo && \
duke@0 264 echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \
duke@0 265 echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \
duke@0 266 echo; \
erikj@23283 267 [ -n "$(INCLUDE_TRACE)" ] && \
erikj@23283 268 echo && echo "INCLUDE_TRACE = $(INCLUDE_TRACE)"; \
erikj@5897 269 [ -n "$(SPEC)" ] && \
erikj@5897 270 echo "include $(SPEC)"; \
kamg@91 271 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \
erikj@23283 272 echo "include \$$(GAMMADIR)/make/excludeSrc.make"; \
kamg@91 273 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \
duke@0 274 ) > $@
duke@0 275
duke@0 276 flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst
duke@0 277 @echo Creating $@ ...
duke@0 278 $(QUIETLY) ( \
duke@0 279 $(BUILDTREE_COMMENT); \
duke@0 280 echo; \
kamg@91 281 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(TARGET).make"; \
duke@0 282 ) > $@
duke@0 283
duke@0 284 ../shared_dirs.lst: $(BUILDTREE_MAKE) $(GAMMADIR)/src/share/vm
duke@0 285 @echo Creating directory list $@
thomas@2184 286 $(QUIETLY) if [ -d $(HS_ALT_SRC)/share/vm ]; then \
thomas@2184 287 find $(HS_ALT_SRC)/share/vm/* -prune \
thomas@2184 288 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \
thomas@2184 289 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; > $@; \
thomas@2184 290 fi;
thomas@2184 291 $(QUIETLY) find $(HS_COMMON_SRC)/share/vm/* -prune \
duke@0 292 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \
thomas@2184 293 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; >> $@
duke@0 294
duke@0 295 Makefile: $(BUILDTREE_MAKE)
duke@0 296 @echo Creating $@ ...
duke@0 297 $(QUIETLY) ( \
duke@0 298 $(BUILDTREE_COMMENT); \
duke@0 299 echo; \
duke@0 300 echo include flags.make; \
duke@0 301 echo; \
kamg@91 302 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/top.make"; \
duke@0 303 ) > $@
duke@0 304
duke@0 305 vm.make: $(BUILDTREE_MAKE)
duke@0 306 @echo Creating $@ ...
duke@0 307 $(QUIETLY) ( \
duke@0 308 $(BUILDTREE_COMMENT); \
duke@0 309 echo; \
duke@0 310 echo include flags.make; \
duke@0 311 echo include flags_vm.make; \
duke@0 312 echo; \
kamg@91 313 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \
duke@0 314 ) > $@
duke@0 315
duke@0 316 adlc.make: $(BUILDTREE_MAKE)
duke@0 317 @echo Creating $@ ...
duke@0 318 $(QUIETLY) ( \
duke@0 319 $(BUILDTREE_COMMENT); \
duke@0 320 echo; \
duke@0 321 echo include flags.make; \
duke@0 322 echo; \
kamg@91 323 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \
duke@0 324 ) > $@
duke@0 325
duke@0 326 jvmti.make: $(BUILDTREE_MAKE)
duke@0 327 @echo Creating $@ ...
duke@0 328 $(QUIETLY) ( \
duke@0 329 $(BUILDTREE_COMMENT); \
duke@0 330 echo; \
duke@0 331 echo include flags.make; \
duke@0 332 echo; \
kamg@91 333 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \
duke@0 334 ) > $@
duke@0 335
sla@10405 336 trace.make: $(BUILDTREE_MAKE)
sla@10405 337 @echo Creating $@ ...
sla@10405 338 $(QUIETLY) ( \
sla@10405 339 $(BUILDTREE_COMMENT); \
sla@10405 340 echo; \
sla@10405 341 echo include flags.make; \
sla@10405 342 echo; \
sla@10405 343 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \
sla@10405 344 ) > $@
sla@10405 345
duke@0 346 sa.make: $(BUILDTREE_MAKE)
duke@0 347 @echo Creating $@ ...
duke@0 348 $(QUIETLY) ( \
duke@0 349 $(BUILDTREE_COMMENT); \
duke@0 350 echo; \
duke@0 351 echo include flags.make; \
duke@0 352 echo; \
kamg@91 353 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \
duke@0 354 ) > $@
duke@0 355
duke@0 356 FORCE:
duke@0 357
duke@0 358 .PHONY: all FORCE