source: trunk/openjdk/hotspot/make/os2/makefiles/generated.make

Last change on this file was 340, checked in by dmik, 13 years ago

hotspot: Make objfiles.make depend on JvmtiGeneratedFiles.

This in particular fixes the parallel build. Otherwise the generated
files could not get into the list and hence not get compiled and
linked.

File size: 2.2 KB
Line 
1#
2# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
7# published by the Free Software Foundation.
8#
9# This code is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12# version 2 for more details (a copy is included in the LICENSE file that
13# accompanied this code).
14#
15# You should have received a copy of the GNU General Public License version
16# 2 along with this work; if not, write to the Free Software Foundation,
17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18#
19# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20# CA 95054 USA or visit www.sun.com if you need additional information or
21# have any questions.
22#
23#
24
25include ../local.make
26include $(WorkSpace)/make/os2/makefiles/projectcreator.make
27include local.make
28
29# Pick up rules for building JVMTI (JSR-163)
30JvmtiOutDir=jvmtifiles
31include $(WorkSpace)/make/os2/makefiles/jvmti.make
32
33# Pick up rules for building SA
34include $(WorkSpace)/make/os2/makefiles/sa.make
35
36AdlcOutDir=adfiles
37
38ifeq ($(filter-out compiler2 tiered,$(Variant)),)
39default:: $(AdlcOutDir)/ad_$(Platform_arch_model).cpp $(AdlcOutDir)/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles) objfiles.make
40else
41default:: $(JvmtiGeneratedFiles) objfiles.make
42endif
43
44objfiles.make: $(JvmtiGeneratedFiles)
45 @ sh $(WorkSpace)/make/windows/create_obj_files.sh $(Variant) $(Platform_arch) $(Platform_arch_model) $(WorkSpace) . > $@
46
47classes/ProjectCreator.class: $(ProjectCreatorSources)
48 if [ -d classes ]; then rm -rf classes; fi
49 mkdir -p classes
50 $(COMPILE_JAVAC) -classpath $(WorkSpace)/src/share/tools/ProjectCreator -d classes $(ProjectCreatorSources)
51
52ifeq ($(filter-out compiler2 tiered,$(Variant)),)
53
54include $(WorkSpace)/make/os2/makefiles/compile.make
55include $(WorkSpace)/make/os2/makefiles/adlc.make
56
57endif
58
59include $(WorkSpace)/make/os2/makefiles/shared.make
Note: See TracBrowser for help on using the repository browser.