annotate make/lib/Lib-jdk.internal.le.gmk @ 17467:f8e75da258cd

8205124: aarch32: make build work again with jvm-variant=core Reviewed-by: duke
author enevill
date Fri, 15 Jun 2018 21:24:39 +0100
parents a0eb148fa9d5
children
rev   line source
jlahoda@12310 1 #
jlahoda@12310 2 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
jlahoda@12310 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jlahoda@12310 4 #
jlahoda@12310 5 # This code is free software; you can redistribute it and/or modify it
jlahoda@12310 6 # under the terms of the GNU General Public License version 2 only, as
jlahoda@12310 7 # published by the Free Software Foundation. Oracle designates this
jlahoda@12310 8 # particular file as subject to the "Classpath" exception as provided
jlahoda@12310 9 # by Oracle in the LICENSE file that accompanied this code.
jlahoda@12310 10 #
jlahoda@12310 11 # This code is distributed in the hope that it will be useful, but WITHOUT
jlahoda@12310 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jlahoda@12310 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jlahoda@12310 14 # version 2 for more details (a copy is included in the LICENSE file that
jlahoda@12310 15 # accompanied this code).
jlahoda@12310 16 #
jlahoda@12310 17 # You should have received a copy of the GNU General Public License version
jlahoda@12310 18 # 2 along with this work; if not, write to the Free Software Foundation,
jlahoda@12310 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jlahoda@12310 20 #
jlahoda@12310 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jlahoda@12310 22 # or visit www.oracle.com if you need additional information or have any
jlahoda@12310 23 # questions.
jlahoda@12310 24 #
jlahoda@12310 25
jlahoda@12310 26 include LibCommon.gmk
jlahoda@12310 27
jlahoda@12310 28 ################################################################################
jlahoda@12310 29
jlahoda@12310 30 ifeq ($(OPENJDK_TARGET_OS), windows)
jlahoda@12310 31
jlahoda@12310 32 LIBLE_SRC := $(JDK_TOPDIR)/src/jdk.internal.le/$(OPENJDK_TARGET_OS_TYPE)/native/lible \
jlahoda@12310 33 #
jlahoda@12310 34 LIBLE_CPPFLAGS := \
jlahoda@12310 35 $(addprefix -I, $(LIBLE_SRC)) \
jlahoda@12310 36 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.internal.le \
jlahoda@12310 37 #
jlahoda@12310 38
jlahoda@12310 39 $(eval $(call SetupNativeCompilation,BUILD_LIBLE, \
jlahoda@12310 40 LIBRARY := le, \
jlahoda@12310 41 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
jlahoda@12310 42 SRC := $(LIBLE_SRC), \
jlahoda@12310 43 OPTIMIZATION := LOW, \
jlahoda@12310 44 CFLAGS := $(CFLAGS_JDKLIB) $(LIBJAVA_HEADER_FLAGS)\
jlahoda@12310 45 $(LIBLE_CPPFLAGS), \
jlahoda@12310 46 LDFLAGS := $(LDFLAGS_JDKLIB), \
ihse@12977 47 LIBS := $(JDKLIB_LIBS) user32.lib, \
jlahoda@12310 48 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
jlahoda@12310 49 RC_FLAGS := $(RC_FLAGS) \
jlahoda@12310 50 -D "JDK_FNAME=le.dll" \
jlahoda@12310 51 -D "JDK_INTERNAL_NAME=le" \
jlahoda@12310 52 -D "JDK_FTYPE=0x2L", \
jlahoda@12310 53 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/lible, \
ihse@13506 54 ))
jlahoda@12310 55
jlahoda@12310 56 TARGETS += $(BUILD_LIBLE)
jlahoda@12310 57
jlahoda@12310 58 endif # OPENJDK_TARGET_OS
jlahoda@12310 59
jlahoda@12310 60 ################################################################################