1 # |
|
2 # Copyright (c) 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 MODULE = awt |
|
28 PACKAGE = sun.lwawt |
|
29 LIBRARY = awt_lwawt |
|
30 PRODUCT = sun |
|
31 |
|
32 LIB_LOCATION = $(LIBDIR) |
|
33 |
|
34 include $(BUILDDIR)/common/Defs.gmk |
|
35 |
|
36 # |
|
37 # Files |
|
38 # |
|
39 include FILES_c_macosx.gmk |
|
40 include FILES_export_macosx.gmk |
|
41 AUTO_FILES_JAVA_DIRS = sun/awt sun/font sun/lwawt sun/lwawt/macosx sun/java2d sun/java2d/opengl com/apple/eawt |
|
42 |
|
43 # |
|
44 # Rules. |
|
45 # |
|
46 # include $(BUILDDIR)/common/Mapfile-vers.gmk |
|
47 include $(BUILDDIR)/common/Library.gmk |
|
48 |
|
49 # |
|
50 # Add to the ambient vpath to pick up files in subdirectories |
|
51 # |
|
52 vpath %.c $(SHARE_SRC)/native/sun/awt/debug |
|
53 vpath %.c $(SHARE_SRC)/native/sun/awt/image |
|
54 vpath %.c $(SHARE_SRC)/native/sun/awt/image/gif |
|
55 vpath %.c $(SHARE_SRC)/native/sun/awt/image/cvutils |
|
56 vpath %.c $(SHARE_SRC)/native/sun/awt/shell |
|
57 vpath %.c $(SHARE_SRC)/native/sun/java2d |
|
58 vpath %.c $(SHARE_SRC)/native/sun/java2d/loops |
|
59 vpath %.c $(SHARE_SRC)/native/sun/java2d/pipe |
|
60 vpath %.c $(SHARE_SRC)/native/sun/java2d/opengl |
|
61 vpath %.c $(SHARE_SRC)/native/sun/awt/medialib |
|
62 vpath %.c $(SHARE_SRC)/native/sun/awt/utility |
|
63 vpath %.c $(SHARE_SRC)/native/sun/font |
|
64 vpath %.c $(call NativeSrcDirList,,native/sun/awt) |
|
65 |
|
66 vpath %.cpp $(SHARE_SRC)/native/sun/image |
|
67 |
|
68 vpath %.m $(call NativeSrcDirList,,native/sun/awt) |
|
69 vpath %.m $(call NativeSrcDirList,,native/sun/font) |
|
70 vpath %.m $(call NativeSrcDirList,,native/sun/java2d) |
|
71 vpath %.m $(call NativeSrcDirList,,native/sun/java2d/opengl) |
|
72 |
|
73 OTHER_LDLIBS += \ |
|
74 -lawt -lmlib_image -losxapp $(JVMLIB) $(LIBM) \ |
|
75 -framework Accelerate \ |
|
76 -framework ApplicationServices \ |
|
77 -framework AudioToolbox \ |
|
78 -framework Carbon \ |
|
79 -framework Cocoa \ |
|
80 -framework Security \ |
|
81 -framework ExceptionHandling \ |
|
82 -framework JavaNativeFoundation \ |
|
83 -framework JavaRuntimeSupport \ |
|
84 -framework OpenGL \ |
|
85 -framework QuartzCore |
|
86 CPPFLAGS += \ |
|
87 -I$(CLASSHDRDIR) \ |
|
88 -I$(SHARE_SRC)/native/sun/awt/debug \ |
|
89 -I$(SHARE_SRC)/native/sun/awt/image/cvutils \ |
|
90 -I$(SHARE_SRC)/native/sun/java2d \ |
|
91 -I$(SHARE_SRC)/native/sun/java2d/loops \ |
|
92 -I$(SHARE_SRC)/native/sun/awt/image/cvutils \ |
|
93 -I$(SHARE_SRC)/native/sun/awt/image \ |
|
94 -I$(SHARE_SRC)/native/sun/font \ |
|
95 -I$(SHARE_SRC)/native/sun/java2d/pipe \ |
|
96 -I$(SHARE_SRC)/native/sun/java2d/opengl \ |
|
97 -I$(SHARE_SRC)/native/sun/dc/path \ |
|
98 -I$(SHARE_SRC)/native/sun/dc/doe \ |
|
99 -I$(SHARE_SRC)/native/sun/awt/alphacomposite \ |
|
100 -I$(SHARE_SRC)/native/sun/awt/medialib \ |
|
101 -I$(SHARE_SRC)/native/sun/awt \ |
|
102 $(call NativeSrcDirList,-I,/native/sun/awt) \ |
|
103 $(call NativeSrcDirList,-I,/native/sun/osxapp) \ |
|
104 $(call NativeSrcDirList,-I,/native/sun/font) \ |
|
105 $(call NativeSrcDirList,-I,/native/sun/java2d) \ |
|
106 $(call NativeSrcDirList,-I,/native/sun/java2d/opengl) |
|
107 |
|
108 ifeq ($(MILESTONE), internal) |
|
109 CPPFLAGS += -DINTERNAL_BUILD |
|
110 endif |
|
111 |
|
112 clean clobber:: |
|
113 |
|
114 .PHONY: |
|