author | ohair |
Tue, 28 Dec 2010 15:53:50 -0800 | |
changeset 7668 | d4a77089c587 |
parent 5506 | 202f599c92aa |
child 8583 | 15dea0fdc2ea |
permissions | -rw-r--r-- |
2 | 1 |
# |
7668 | 2 |
# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. |
2 | 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 |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 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 |
# |
|
5506 | 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. |
|
2 | 24 |
# |
25 |
||
26 |
BUILDDIR = ../.. |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
27 |
MODULE = awt |
2 | 28 |
PACKAGE = java.awt |
29 |
PRODUCT = sun |
|
30 |
include $(BUILDDIR)/common/Defs.gmk |
|
31 |
||
32 |
||
33 |
# |
|
34 |
# Files |
|
35 |
# |
|
36 |
AUTO_FILES_JAVA_DIRS = java/awt sun/awt/geom |
|
37 |
||
38 |
build: properties cursors |
|
39 |
||
40 |
# |
|
41 |
# Resources |
|
42 |
# |
|
43 |
RESOURCE_BUNDLES_COMPILED_PROPERTIES = sun/awt/resources/awt.properties |
|
44 |
LOCALE_SET_DEFINITION = jre |
|
45 |
||
46 |
# |
|
47 |
# Rules |
|
48 |
# |
|
49 |
include $(BUILDDIR)/common/Classes.gmk |
|
50 |
||
51 |
||
52 |
clean:: properties.clean sun.geom.clean cursors.clean |
|
53 |
||
54 |
_LIBPROPS = \ |
|
55 |
flavormap.properties |
|
56 |
||
57 |
LIBPROPS = $(_LIBPROPS:%=$(LIBDIR)/%) |
|
58 |
||
59 |
properties: $(LIBDIR) $(LIBPROPS) |
|
60 |
||
61 |
$(LIBDIR)/%.properties: $(PLATFORM_SRC)/lib/%.properties |
|
62 |
$(install-file) |
|
63 |
||
64 |
properties.clean : |
|
65 |
$(RM) $(LIBPROPS) |
|
66 |
||
67 |
.SUFFIXES : $(SUFFIXES) .gif .properties |
|
68 |
||
69 |
CURSORSRC = $(TOPDIR)/src/share/lib/images/cursors |
|
70 |
CURSORDIR = $(LIBDIR)/images/cursors |
|
71 |
||
72 |
ifeq ($(PLATFORM), windows) |
|
73 |
CURSORPROPSRC = $(TOPDIR)/src/windows/lib/images/cursors |
|
74 |
CURSORS = $(CURSORDIR)/win32_CopyDrop32x32.gif \ |
|
75 |
$(CURSORDIR)/win32_MoveDrop32x32.gif \ |
|
76 |
$(CURSORDIR)/win32_LinkDrop32x32.gif \ |
|
77 |
$(CURSORDIR)/win32_CopyNoDrop32x32.gif \ |
|
78 |
$(CURSORDIR)/win32_MoveNoDrop32x32.gif \ |
|
79 |
$(CURSORDIR)/win32_LinkNoDrop32x32.gif \ |
|
80 |
$(CURSORDIR)/invalid32x32.gif |
|
81 |
else # PLATFORM |
|
82 |
CURSORPROPSRC = $(TOPDIR)/src/solaris/lib/images/cursors |
|
83 |
CURSORS = $(CURSORDIR)/motif_CopyDrop32x32.gif \ |
|
84 |
$(CURSORDIR)/motif_MoveDrop32x32.gif \ |
|
85 |
$(CURSORDIR)/motif_LinkDrop32x32.gif \ |
|
86 |
$(CURSORDIR)/motif_CopyNoDrop32x32.gif \ |
|
87 |
$(CURSORDIR)/motif_MoveNoDrop32x32.gif \ |
|
88 |
$(CURSORDIR)/motif_LinkNoDrop32x32.gif \ |
|
89 |
$(CURSORDIR)/invalid32x32.gif |
|
90 |
endif # PLATFORM |
|
91 |
||
92 |
$(CURSORDIR)/cursors.properties : $(CURSORPROPSRC)/cursors.properties |
|
93 |
$(install-file) |
|
94 |
||
95 |
$(CURSORDIR)/%.gif : $(CURSORSRC)/%.gif |
|
96 |
$(install-file) |
|
97 |
||
98 |
cursors : $(CURSORDIR)/cursors.properties $(CURSORS) |
|
99 |
||
100 |
sun.geom.clean : |
|
101 |
$(RM) -r $(CLASSBINDIR)/sun/awt/geom |
|
102 |
||
103 |
cursors.clean : |
|
104 |
$(RM) -r $(CURSORDIR) |
|
105 |
||
106 |
.PHONY: properties properties.clean \ |
|
107 |
cursors sun.geom.clean cursors.clean |
|
108 |