1 # 2 # Copyright (c) 1995, 2011, Oracle and/or its affiliates. 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. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 BUILDDIR = ../.. 27 PACKAGE = java.awt 28 PRODUCT = sun 29 include $(BUILDDIR)/common/Defs.gmk 30 31 32 # 33 # Files 34 # 35 AUTO_FILES_JAVA_DIRS = java/awt sun/awt/geom 36 37 build: properties cursors 38 39 # 40 # Resources 41 # 42 RESOURCE_BUNDLES_COMPILED_PROPERTIES = sun/awt/resources/awt.properties 43 LOCALE_SET_DEFINITION = jre 44 45 # 46 # Rules 47 # 48 include $(BUILDDIR)/common/Classes.gmk 49 50 51 clean:: properties.clean sun.geom.clean cursors.clean 52 53 _LIBPROPS = \ 54 flavormap.properties 55 56 LIBPROPS = $(_LIBPROPS:%=$(LIBDIR)/%) 57 58 properties: $(LIBDIR) $(LIBPROPS) 59 60 $(LIBDIR)/%.properties: $(PLATFORM_SRC)/lib/%.properties 61 $(install-file) 62 63 properties.clean : 64 $(RM) $(LIBPROPS) 65 66 .SUFFIXES : $(SUFFIXES) .gif .properties 67 68 CURSORSRC = $(TOPDIR)/src/share/lib/images/cursors 69 CURSORDIR = $(LIBDIR)/images/cursors 70 71 ifeq ($(PLATFORM), windows) 72 CURSORPROPSRC = $(TOPDIR)/src/windows/lib/images/cursors 73 CURSORS = $(CURSORDIR)/win32_CopyDrop32x32.gif \ 74 $(CURSORDIR)/win32_MoveDrop32x32.gif \ 75 $(CURSORDIR)/win32_LinkDrop32x32.gif \ 76 $(CURSORDIR)/win32_CopyNoDrop32x32.gif \ 77 $(CURSORDIR)/win32_MoveNoDrop32x32.gif \ 78 $(CURSORDIR)/win32_LinkNoDrop32x32.gif \ 79 $(CURSORDIR)/invalid32x32.gif 80 else # PLATFORM 81 CURSORPROPSRC = $(TOPDIR)/src/solaris/lib/images/cursors 82 CURSORS = $(CURSORDIR)/motif_CopyDrop32x32.gif \ 83 $(CURSORDIR)/motif_MoveDrop32x32.gif \ 84 $(CURSORDIR)/motif_LinkDrop32x32.gif \ 85 $(CURSORDIR)/motif_CopyNoDrop32x32.gif \ 86 $(CURSORDIR)/motif_MoveNoDrop32x32.gif \ 87 $(CURSORDIR)/motif_LinkNoDrop32x32.gif \ 88 $(CURSORDIR)/invalid32x32.gif 89 endif # PLATFORM 90 91 $(CURSORDIR)/cursors.properties : $(CURSORPROPSRC)/cursors.properties 92 $(install-file) 93 94 $(CURSORDIR)/%.gif : $(CURSORSRC)/%.gif 95 $(install-file) 96 97 cursors : $(CURSORDIR)/cursors.properties $(CURSORS) 98 99 sun.geom.clean : 100 $(RM) -r $(CLASSBINDIR)/sun/awt/geom 101 102 cursors.clean : 103 $(RM) -r $(CURSORDIR) 104 105 .PHONY: properties properties.clean \ 106 cursors sun.geom.clean cursors.clean 107