author | mchung |
Wed, 09 Mar 2011 23:11:07 -0800 | |
changeset 8583 | 15dea0fdc2ea |
parent 7668 | d4a77089c587 |
child 9035 | 1255eb81cc2f |
permissions | -rw-r--r-- |
2 | 1 |
# |
7668 | 2 |
# Copyright (c) 2005, 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 = ../.. |
|
27 |
PACKAGE = sun.awt |
|
28 |
LIBRARY = splashscreen |
|
29 |
PRODUCT = sun |
|
30 |
include $(BUILDDIR)/common/Defs.gmk |
|
31 |
||
32 |
# |
|
33 |
# Files |
|
34 |
# |
|
35 |
include FILES_c.gmk |
|
36 |
||
37 |
FILES_java = \ |
|
38 |
java/awt/SplashScreen.java |
|
39 |
||
40 |
FILES_export = \ |
|
41 |
java/awt/SplashScreen.java |
|
42 |
||
43 |
||
44 |
# |
|
45 |
# Rules |
|
46 |
# |
|
47 |
# FIXME!!!! |
|
48 |
#ifeq ($(PLATFORM), solaris) |
|
49 |
# ifneq ($(ARCH), amd64) |
|
50 |
# FILES_reorder += reorder-$(ARCH) |
|
51 |
# endif |
|
52 |
#endif |
|
53 |
include $(BUILDDIR)/common/Mapfile-vers.gmk |
|
54 |
include $(BUILDDIR)/common/Library.gmk |
|
55 |
||
56 |
JAVALIB= |
|
57 |
||
58 |
# |
|
59 |
# C Flags |
|
60 |
# |
|
61 |
||
62 |
CFLAGS += -DSPLASHSCREEN |
|
63 |
||
64 |
ifneq ($(PLATFORM), windows) |
|
65 |
CFLAGS += -DWITH_X11 |
|
66 |
CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions |
|
67 |
OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread |
|
68 |
else # PLATFORM |
|
69 |
CFLAGS += -DWITH_WIN32 |
|
1954 | 70 |
OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll |
2 | 71 |
#$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib |
72 |
endif # PLATFORM |
|
73 |
||
74 |
# |
|
75 |
# Add to ambient vpath to get files in a subdirectory |
|
76 |
# |
|
77 |
vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/splashscreen |
|
78 |
vpath %.c $(SHARE_SRC)/native/$(PKGDIR) |
|
79 |
vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/giflib |
|
3704
bd98409d8c32
4963968: zlib should be upgraded to current version of zlib
sherman
parents:
1959
diff
changeset
|
80 |
vpath %.c $(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) |
2 | 81 |
vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/libpng |
82 |
vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/image/jpeg |
|
83 |
vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen |
|
84 |
||
85 |
CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen |
|
3704
bd98409d8c32
4963968: zlib should be upgraded to current version of zlib
sherman
parents:
1959
diff
changeset
|
86 |
CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) |
2 | 87 |
|
1959
921c735ddfe1
6744609: Disable MMX support when building libpng library
martin
parents:
1954
diff
changeset
|
88 |
# Shun the less than portable MMX assembly code in pnggccrd.c, |
921c735ddfe1
6744609: Disable MMX support when building libpng library
martin
parents:
1954
diff
changeset
|
89 |
# and use alternative implementations in C. |
921c735ddfe1
6744609: Disable MMX support when building libpng library
martin
parents:
1954
diff
changeset
|
90 |
CPPFLAGS += -DPNG_NO_MMX_CODE |