2007-12-01 00:00:00 +00:00
|
|
|
#
|
2022-04-08 20:33:24 +00:00
|
|
|
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
2007-12-01 00:00:00 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# This code is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License version 2 only, as
|
2010-05-25 22:58:33 +00:00
|
|
|
# published by the Free Software Foundation. Oracle designates this
|
2007-12-01 00:00:00 +00:00
|
|
|
# particular file as subject to the "Classpath" exception as provided
|
2010-05-25 22:58:33 +00:00
|
|
|
# by Oracle in the LICENSE file that accompanied this code.
|
2007-12-01 00:00:00 +00:00
|
|
|
#
|
|
|
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
# version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
# accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License version
|
|
|
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
2010-05-25 22:58:33 +00:00
|
|
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
# or visit www.oracle.com if you need additional information or have any
|
|
|
|
# questions.
|
2007-12-01 00:00:00 +00:00
|
|
|
#
|
|
|
|
|
2022-04-08 20:33:24 +00:00
|
|
|
include GensrcCommon.gmk
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
# Hook to include the corresponding custom file, if present.
|
2020-04-29 06:55:01 +00:00
|
|
|
$(eval $(call IncludeCustomExtension, modules/java.desktop/Gensrc.gmk))
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2019-02-07 11:35:45 +00:00
|
|
|
ifeq ($(call isTargetOs, windows), false)
|
2020-04-29 06:55:01 +00:00
|
|
|
include gensrc/GensrcIcons.gmk
|
2018-03-05 23:59:49 +00:00
|
|
|
endif
|
2014-08-17 14:54:13 +00:00
|
|
|
|
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-21 00:33:37 +00:00
|
|
|
ifeq ($(call isTargetOs, linux aix), true)
|
2020-04-29 06:55:01 +00:00
|
|
|
include gensrc/GensrcX11Wrappers.gmk
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
|
|
|
|
2020-04-29 06:55:01 +00:00
|
|
|
include gensrc/GensrcSwing.gmk
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2014-10-16 08:37:57 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
include GensrcProperties.gmk
|
|
|
|
|
|
|
|
PROP_SRC_DIRS := \
|
2017-09-12 17:03:56 +00:00
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/sun/awt/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/com/sun/accessibility/internal/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/com/sun/swing/internal/plaf/basic/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/com/sun/swing/internal/plaf/metal/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/com/sun/swing/internal/plaf/synth/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/share/classes/sun/print/resources \
|
2014-10-16 08:37:57 +00:00
|
|
|
#
|
|
|
|
|
2019-02-07 11:35:45 +00:00
|
|
|
ifeq ($(call isTargetOs, macosx), true)
|
2014-10-16 08:37:57 +00:00
|
|
|
PROP_SRC_DIRS += \
|
2017-09-12 17:03:56 +00:00
|
|
|
$(TOPDIR)/src/java.desktop/macosx/classes/com/apple/laf/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/macosx/classes/sun/awt/resources \
|
2014-10-16 08:37:57 +00:00
|
|
|
#
|
|
|
|
endif
|
|
|
|
|
2019-02-07 11:35:45 +00:00
|
|
|
ifeq ($(call isTargetOs, windows), true)
|
2018-01-10 15:21:33 +00:00
|
|
|
PROP_SRC_DIRS += \
|
|
|
|
$(TOPDIR)/src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/resources \
|
|
|
|
$(TOPDIR)/src/java.desktop/windows/classes/sun/awt/windows \
|
|
|
|
#
|
2016-03-04 17:10:52 +00:00
|
|
|
endif
|
|
|
|
|
2019-02-07 11:35:45 +00:00
|
|
|
ifeq ($(call isTargetOs, windows macosx), false)
|
2017-09-12 17:03:56 +00:00
|
|
|
PROP_SRC_DIRS += $(TOPDIR)/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/resources
|
2014-10-16 08:37:57 +00:00
|
|
|
endif
|
|
|
|
|
2015-11-10 14:00:25 +00:00
|
|
|
$(eval $(call SetupCompileProperties, COMPILE_PROPERTIES, \
|
|
|
|
SRC_DIRS := $(PROP_SRC_DIRS), \
|
|
|
|
EXCLUDE := %cursors.properties, \
|
|
|
|
CLASS := ListResourceBundle, \
|
|
|
|
))
|
2014-10-16 08:37:57 +00:00
|
|
|
|
2020-05-19 13:59:51 +00:00
|
|
|
TARGETS += $(COMPILE_PROPERTIES)
|