author | never |
Mon, 12 Jul 2010 22:27:18 -0700 | |
changeset 5926 | a36f90d986b6 |
parent 5506 | 202f599c92aa |
child 7668 | d4a77089c587 |
permissions | -rw-r--r-- |
2 | 1 |
# |
5506 | 2 |
# Copyright (c) 2006, 2008, 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 = java2d |
2 | 28 |
PRODUCT = sun |
29 |
include $(BUILDDIR)/common/Defs.gmk |
|
30 |
||
31 |
ifdef OPENJDK |
|
32 |
SUBDIRS += lcms |
|
33 |
ICCPROFILE_SRC_DIR = $(SHARE_SRC)/lib/cmm/lcms |
|
34 |
else # !OPENJDK |
|
35 |
SUBDIRS += kcms |
|
36 |
ICCPROFILE_SRC_DIR = $(CLOSED_SRC)/share/lib/cmm/kcms |
|
37 |
endif # OPENJDK |
|
38 |
||
4917
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
39 |
include $(BUILDDIR)/common/Subdirs.gmk |
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
40 |
|
2 | 41 |
# |
42 |
# ICC Profiles used by the CMM. |
|
43 |
# |
|
44 |
ICCPROFILE_DEST_DIR = $(LIBDIR)/cmm |
|
45 |
||
46 |
iccprofiles: $(ICCPROFILE_DEST_DIR)/sRGB.pf $(ICCPROFILE_DEST_DIR)/GRAY.pf \ |
|
544
9e8d4d0c3d77
6523403: Need to provide lcms library with PYCC and LINEAR_RGB OS ICC profiles
prr
parents:
2
diff
changeset
|
47 |
$(ICCPROFILE_DEST_DIR)/CIEXYZ.pf $(ICCPROFILE_DEST_DIR)/PYCC.pf \ |
9e8d4d0c3d77
6523403: Need to provide lcms library with PYCC and LINEAR_RGB OS ICC profiles
prr
parents:
2
diff
changeset
|
48 |
$(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf |
2 | 49 |
|
50 |
$(ICCPROFILE_DEST_DIR)/sRGB.pf: $(ICCPROFILE_SRC_DIR)/sRGB.pf |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
51 |
$(install-file) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
52 |
$(call chmod-file, 444) |
2 | 53 |
|
54 |
$(ICCPROFILE_DEST_DIR)/GRAY.pf: $(ICCPROFILE_SRC_DIR)/GRAY.pf |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
55 |
$(install-file) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
56 |
$(call chmod-file, 444) |
2 | 57 |
|
58 |
$(ICCPROFILE_DEST_DIR)/CIEXYZ.pf: $(ICCPROFILE_SRC_DIR)/CIEXYZ.pf |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
59 |
$(install-file) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
60 |
$(call chmod-file, 444) |
2 | 61 |
|
62 |
$(ICCPROFILE_DEST_DIR)/PYCC.pf: $(ICCPROFILE_SRC_DIR)/PYCC.pf |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
63 |
$(install-file) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
64 |
$(call chmod-file, 444) |
2 | 65 |
|
66 |
$(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf: $(ICCPROFILE_SRC_DIR)/LINEAR_RGB.pf |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
67 |
$(install-file) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
715
diff
changeset
|
68 |
$(call chmod-file, 444) |
2 | 69 |
|
70 |
iccprofiles.clean: |
|
71 |
$(RM) -r $(ICCPROFILE_DEST_DIR) |
|
72 |
||
73 |
||
74 |
clobber: iccprofiles.clean |
|
75 |
$(SUBDIRS-loop) |
|
76 |
||
77 |
clean: iccprofiles.clean |
|
78 |
$(SUBDIRS-loop) |
|
79 |
||
80 |
all build:: iccprofiles |
|
81 |
$(SUBDIRS-loop) |
|
82 |
||
83 |
openjdk:: |
|
84 |
$(MAKE) OPENJDK=true build |
|
85 |
||
86 |
.PHONY: iccprofiles iccprofiles.clean copy-files openjdk |