|
1 # |
|
2 # Copyright (c) 1997, 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 = com.apple.osxui |
|
28 LIBRARY = osxui |
|
29 PRODUCT = sun |
|
30 include $(BUILDDIR)/common/Defs.gmk |
|
31 |
|
32 |
|
33 # |
|
34 # Files |
|
35 # |
|
36 AUTO_FILES_JAVA_DIRS = apple/laf com/apple/laf com/apple/eawt |
|
37 |
|
38 FILES_objc = \ |
|
39 $(TARGDIR)AquaFileView.m \ |
|
40 $(TARGDIR)AquaLookAndFeel.m \ |
|
41 $(TARGDIR)AquaNativeResources.m \ |
|
42 $(TARGDIR)JRSUIConstantSync.m \ |
|
43 $(TARGDIR)JRSUIController.m \ |
|
44 $(TARGDIR)JRSUIFocus.m \ |
|
45 $(TARGDIR)ScreenPopupFactory.m \ |
|
46 $(TARGDIR)ScreenMenu.m |
|
47 |
|
48 FILES_export = \ |
|
49 apple/laf/AquaLookAndFeel.java \ |
|
50 apple/laf/JRSUIConstants.java \ |
|
51 apple/laf/JRSUIControl.java \ |
|
52 apple/laf/JRSUIFocus.java \ |
|
53 apple/laf/JRSUIState.java \ |
|
54 apple/laf/JRSUIStateFactory.java \ |
|
55 apple/laf/JRSUIUtils.java \ |
|
56 com/apple/laf/AquaFileView.java \ |
|
57 com/apple/laf/AquaNativeResources.java \ |
|
58 com/apple/laf/ScreenPopupFactory.java \ |
|
59 com/apple/laf/ScreenMenu.java \ |
|
60 com/apple/laf/ScreenMenuBar.java \ |
|
61 com/apple/laf/ScreenMenuBarProvider.java \ |
|
62 com/apple/laf/ScreenMenuItem.java \ |
|
63 com/apple/laf/ScreenMenuItemCheckbox.java \ |
|
64 com/apple/laf/ScreenMenuItemUI.java \ |
|
65 com/apple/laf/ScreenMenuPropertyHandler.java \ |
|
66 com/apple/laf/ScreenMenuPropertyListener.java |
|
67 |
|
68 #RESOURCE_BUNDLES_COMPILED_PROPERTIES += \ |
|
69 # com/apple/laf/resources/aqua.properties \ |
|
70 # com/apple/laf/resources/aqua_de.properties \ |
|
71 # com/apple/laf/resources/aqua_fr.properties \ |
|
72 # com/apple/laf/resources/aqua_ja.properties |
|
73 |
|
74 |
|
75 # |
|
76 # Rules |
|
77 # |
|
78 include $(BUILDDIR)/common/Mapfile-vers.gmk |
|
79 include $(BUILDDIR)/common/Library.gmk |
|
80 |
|
81 |
|
82 # |
|
83 # Extra rules |
|
84 # |
|
85 |
|
86 # |
|
87 # Add to ambient vpath to get files in a subdirectory |
|
88 # |
|
89 vpath %.m $(call NativeSrcDirList,,native/com/apple/laf) |
|
90 vpath %.m $(call NativeSrcDirList,,native/com/apple/eawt) |
|
91 |
|
92 CPPFLAGS += \ |
|
93 $(call NativeSrcDirList,-I,native/com/apple/laf) \ |
|
94 $(call NativeSrcDirList,-I,native/apple/awt) \ |
|
95 $(call NativeSrcDirList,-I,native/sun/awt) \ |
|
96 $(call NativeSrcDirList,-I,native/sun/osxapp) \ |
|
97 -I$(TEMPDIR)/../../sun.awt/awt/CClassHeaders |
|
98 |
|
99 OTHER_LDLIBS = \ |
|
100 -lawt -losxapp \ |
|
101 -lawt_lwawt -L$(LIBDIR) -Xlinker -rpath -Xlinker @loader_path \ |
|
102 -framework Cocoa \ |
|
103 -framework Carbon \ |
|
104 -framework ApplicationServices \ |
|
105 -framework JavaNativeFoundation \ |
|
106 -framework JavaRuntimeSupport |