1 | #
|
---|
2 | # Copyright 1997-2009 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 |
|
---|
25 | HS_INTERNAL_NAME = jvm
|
---|
26 | HS_FNAME = $(HS_INTERNAL_NAME).dll
|
---|
27 | AOUT = $(HS_FNAME)
|
---|
28 | SAWINDBG = sawindbg.dll
|
---|
29 | GENERATED = ../generated
|
---|
30 |
|
---|
31 | # Allow the user to turn off precompiled headers from the command line.
|
---|
32 | ifneq ($(USE_PRECOMPILED_HEADER),0)
|
---|
33 | BUILD_PCH_FILE=_build_pch_file.obj
|
---|
34 | endif
|
---|
35 |
|
---|
36 | default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
|
---|
37 |
|
---|
38 | include ../local.make
|
---|
39 | include $(WorkSpace)/make/os2/makefiles/compile.make
|
---|
40 |
|
---|
41 | C_FLAGS += $(DEBUG_OPT_OPTION)
|
---|
42 | LINK_FLAGS += $(DEBUG_LINK_FLAGS)
|
---|
43 |
|
---|
44 | include $(WorkSpace)/make/os2/makefiles/vm.make
|
---|
45 | include local.make
|
---|
46 |
|
---|
47 | # _Copy functions, assembled from .s file
|
---|
48 | # Not included in includeDB because it has no dependencies
|
---|
49 | Obj_Files += os2_x86_32.obj
|
---|
50 |
|
---|
51 | # Various OS/2 specific sources
|
---|
52 | # Not included in includeDB because they don't match the logic of that file
|
---|
53 | # (it expects only one platform at a time which is windows for now)
|
---|
54 | Obj_Files += os_os2_init.obj os_os2.obj
|
---|
55 |
|
---|
56 | HS_BUILD_ID = $(HS_BUILD_VER)-debug
|
---|
57 |
|
---|
58 | $(AOUT): $(Res_Files) $(Obj_Files) $(Def_File)
|
---|
59 | $(LINK) $(LINK_FLAGS) -o $@ $(Def_File) $(Obj_Files) $(Res_Files)
|
---|
60 | $(IMPLIB) -o $(basename $@).lib $@
|
---|
61 |
|
---|
62 | include $(WorkSpace)/make/os2/makefiles/shared.make
|
---|
63 | include $(WorkSpace)/make/os2/makefiles/sa.make
|
---|
64 |
|
---|
65 | # Disable gamma launcher for the time being (see #157)
|
---|
66 | #include $(WorkSpace)/make/os2/makefiles/launcher.make
|
---|
67 | launcher:
|
---|