0N/A#
1472N/A# Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
1472N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A# or visit www.oracle.com if you need additional information or have any
1472N/A# questions.
0N/A#
0N/A#
0N/A
0N/ADEFAULTACTIONS=clean post_update create
0N/A
0N/Adefault:: $(SUBDIRS)
0N/A
0N/A!ifndef DIR
0N/ADIR=.
0N/A!endif
0N/A
3178N/A!ifndef CXX
3178N/ACXX=cl.exe
0N/A!endif
0N/A
0N/A
0N/A!ifdef SUBDIRS
3953N/A# \ is used below because $(MAKE) is nmake here, which expects Windows paths
0N/A$(SUBDIRS): FORCE
0N/A @if not exist $@ mkdir $@
3953N/A @if not exist $@/local.make echo # Empty > $@/local.make
3953N/A @echo nmake $(ACTION) in $(DIR)/$@
3953N/A cd $@ && $(MAKE) -NOLOGO -f $(WorkSpace)\make\windows\makefiles\$@.make $(ACTION) DIR=$(DIR)\$@ BUILD_FLAVOR=$(BUILD_FLAVOR)
0N/A!endif
0N/A
0N/A# Creates the needed directory
0N/Acreate::
0N/A!if "$(DIR)" != "."
0N/A @echo mkdir $(DIR)
0N/A!endif
0N/A
0N/A# Epilog to update for generating derived files
0N/Apost_update::
0N/A
0N/A# Removes scrap files
0N/Aclean:: FORCE
0N/A -@rm -f *.OLD *.publish
0N/A
0N/A# Remove all scrap files and all generated files
0N/Apure:: clean
0N/A -@rm -f *.OLD *.publish
0N/A
0N/A$(DEFAULTACTIONS) $(ACTIONS)::
0N/A!ifdef SUBDIRS
0N/A @$(MAKE) -nologo ACTION=$@ DIR=$(DIR)
0N/A!endif
0N/A
0N/AFORCE:
0N/A
0N/A