build/windows/makefiles/product.make

Sat, 01 Dec 2007 00:00:00 +0000

author
duke
date
Sat, 01 Dec 2007 00:00:00 +0000
changeset 435
a61af66fc99e
permissions
-rw-r--r--

Initial load

     1 #
     2 # Copyright 2005-2006 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 #
    25 HS_INTERNAL_NAME=jvm
    26 HS_FNAME=$(HS_INTERNAL_NAME).dll
    27 AOUT=$(HS_FNAME)
    28 GENERATED=../generated
    30 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA
    32 !include ../local.make
    33 !include compile.make
    35 CPP_FLAGS=$(CPP_FLAGS) $(PRODUCT_OPT_OPTION)
    37 RELEASE=
    39 RC_FLAGS=$(RC_FLAGS) /D "NDEBUG"
    41 !include $(WorkSpace)/build/windows/makefiles/vm.make
    42 !include local.make
    44 !include $(GENERATED)/Dependencies
    46 HS_BUILD_ID=$(HS_BUILD_VER)
    48 # Force resources to be rebuilt every time
    49 $(Res_Files): FORCE
    51 # Kernel doesn't need exported vtbl symbols.
    52 !if "$(Variant)" == "kernel"
    53 $(AOUT): $(Res_Files) $(Obj_Files)
    54 	$(LINK) @<<
    55   $(LINK_FLAGS) /out:$@ /implib:$*.lib $(Obj_Files) $(Res_Files)
    56 <<
    57 !else
    58 $(AOUT): $(Res_Files) $(Obj_Files)
    59 	sh $(WorkSpace)/build/windows/build_vm_def.sh
    60 	$(LINK) @<<
    61   $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
    62 <<
    63 !endif
    65 !include $(WorkSpace)/build/windows/makefiles/shared.make
    66 !include $(WorkSpace)/build/windows/makefiles/sa.make

mercurial