author | never |
Thu, 16 Apr 2009 15:50:32 -0700 | |
changeset 2566 | 865943584ecc |
parent 715 | f16baef3a20e |
child 4665 | d14dc3d9e1fa |
permissions | -rw-r--r-- |
2 | 1 |
# |
715 | 2 |
# Copyright 2006-2008 Sun Microsystems, Inc. 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 |
|
7 |
# published by the Free Software Foundation. Sun designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
# have any questions. |
|
24 |
# |
|
25 |
||
26 |
BUILDDIR = ../.. |
|
27 |
PRODUCT = sun |
|
28 |
include $(BUILDDIR)/common/Defs.gmk |
|
29 |
||
30 |
ifdef OPENJDK |
|
31 |
SUBDIRS += lcms |
|
32 |
ICCPROFILE_SRC_DIR = $(SHARE_SRC)/lib/cmm/lcms |
|
33 |
else # !OPENJDK |
|
34 |
SUBDIRS += kcms |
|
35 |
ICCPROFILE_SRC_DIR = $(CLOSED_SRC)/share/lib/cmm/kcms |
|
36 |
endif # OPENJDK |
|
37 |
||
38 |
# |
|
39 |
# ICC Profiles used by the CMM. |
|
40 |
# |
|
41 |
ICCPROFILE_DEST_DIR = $(LIBDIR)/cmm |
|
42 |
||
43 |
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
|
44 |
$(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
|
45 |
$(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf |
2 | 46 |
|
47 |
$(ICCPROFILE_DEST_DIR)/sRGB.pf: $(ICCPROFILE_SRC_DIR)/sRGB.pf |
|
48 |
$(RM) $(ICCPROFILE_DEST_DIR)/sRGB.pf |
|
49 |
-$(MKDIR) -p $(ICCPROFILE_DEST_DIR) |
|
50 |
$(CP) $(ICCPROFILE_SRC_DIR)/sRGB.pf $(ICCPROFILE_DEST_DIR) |
|
51 |
$(CHMOD) 444 $(ICCPROFILE_DEST_DIR)/sRGB.pf |
|
52 |
||
53 |
$(ICCPROFILE_DEST_DIR)/GRAY.pf: $(ICCPROFILE_SRC_DIR)/GRAY.pf |
|
54 |
$(RM) $(ICCPROFILE_DEST_DIR)/GRAY.pf |
|
55 |
-$(MKDIR) -p $(ICCPROFILE_DEST_DIR) |
|
56 |
$(CP) $(ICCPROFILE_SRC_DIR)/GRAY.pf $(ICCPROFILE_DEST_DIR) |
|
57 |
$(CHMOD) 444 $(ICCPROFILE_DEST_DIR)/GRAY.pf |
|
58 |
||
59 |
$(ICCPROFILE_DEST_DIR)/CIEXYZ.pf: $(ICCPROFILE_SRC_DIR)/CIEXYZ.pf |
|
60 |
$(RM) $(ICCPROFILE_DEST_DIR)/CIEXYZ.pf |
|
61 |
-$(MKDIR) -p $(ICCPROFILE_DEST_DIR) |
|
62 |
$(CP) $(ICCPROFILE_SRC_DIR)/CIEXYZ.pf $(ICCPROFILE_DEST_DIR) |
|
63 |
$(CHMOD) 444 $(ICCPROFILE_DEST_DIR)/CIEXYZ.pf |
|
64 |
||
65 |
$(ICCPROFILE_DEST_DIR)/PYCC.pf: $(ICCPROFILE_SRC_DIR)/PYCC.pf |
|
66 |
$(RM) $(ICCPROFILE_DEST_DIR)/PYCC.pf |
|
67 |
-$(MKDIR) -p $(ICCPROFILE_DEST_DIR) |
|
68 |
$(CP) $(ICCPROFILE_SRC_DIR)/PYCC.pf $(ICCPROFILE_DEST_DIR) |
|
69 |
$(CHMOD) 444 $(ICCPROFILE_DEST_DIR)/PYCC.pf |
|
70 |
||
71 |
$(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf: $(ICCPROFILE_SRC_DIR)/LINEAR_RGB.pf |
|
72 |
$(RM) $(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf |
|
73 |
-$(MKDIR) -p $(ICCPROFILE_DEST_DIR) |
|
74 |
$(CP) $(ICCPROFILE_SRC_DIR)/LINEAR_RGB.pf $(ICCPROFILE_DEST_DIR) |
|
75 |
$(CHMOD) 444 $(ICCPROFILE_DEST_DIR)/LINEAR_RGB.pf |
|
76 |
||
77 |
iccprofiles.clean: |
|
78 |
$(RM) -r $(ICCPROFILE_DEST_DIR) |
|
79 |
||
80 |
||
81 |
clobber: iccprofiles.clean |
|
82 |
$(SUBDIRS-loop) |
|
83 |
||
84 |
clean: iccprofiles.clean |
|
85 |
$(SUBDIRS-loop) |
|
86 |
||
87 |
all build:: iccprofiles |
|
88 |
$(SUBDIRS-loop) |
|
89 |
||
90 |
openjdk:: |
|
91 |
$(MAKE) OPENJDK=true build |
|
92 |
||
93 |
.PHONY: iccprofiles iccprofiles.clean copy-files openjdk |