author | Jesse Butler <jesse.butler@oracle.com> |
Fri, 29 Jul 2016 11:50:34 -0700 | |
changeset 6527 | 106e3067f7cc |
parent 5682 | 94c0ca64c022 |
child 6658 | 06a8b969738e |
permissions | -rw-r--r-- |
5234 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
21 |
|
5234 | 22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
5234 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME = lcms2 |
|
29 |
COMPONENT_VERSION= 2.7 |
|
30 |
COMPONENT_PROJECT_URL= http://www.littlecms.com/ |
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
|
32 |
sha256:4524234ae7de185e6b6da5d31d6875085b2198bc63b1211f7dde6e2d197d6a53 |
|
33 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
|
34 |
COMPONENT_BUGDB= utility/lcms |
|
35 |
||
36 |
TPNO= 25712 |
|
37 |
||
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
5234 | 39 |
|
40 |
# In order to run the tests, we need to use cloney |
|
41 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
42 |
||
43 |
# Seems that we have no other way to designate that we want large file support. |
|
44 |
CFLAGS += $(CPP_LARGEFILES) |
|
45 |
||
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5234
diff
changeset
|
46 |
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/lcms |
5234 | 47 |
CONFIGURE_OPTIONS += --enable-shared |
48 |
CONFIGURE_OPTIONS += --disable-static |
|
49 |
CONFIGURE_OPTIONS += --with-jpeg |
|
50 |
CONFIGURE_OPTIONS += --with-tiff |
|
51 |
CONFIGURE_OPTIONS += --with-zlib |
|
52 |
CONFIGURE_OPTIONS += --with-pic |
|
53 |
||
54 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
55 |
$(CP) $(SOURCE_DIR)/utils/linkicc/linkicc.1 $(PROTOUSRSHAREMAN1DIR) ; |
|
56 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
57 |
$(CP) $(SOURCE_DIR)/utils/psicc/psicc.1 $(PROTOUSRSHAREMAN1DIR) ; |
|
58 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
59 |
$(CP) $(SOURCE_DIR)/utils/transicc/transicc.1 $(PROTOUSRSHAREMAN1DIR) ; |
|
60 |
||
61 |
# Needed to get past trying to copy identical files because the top_srcdir |
|
62 |
# is not the same as the top_builddir. |
|
63 |
COMPONENT_TEST_ARGS = -k -i |
|
64 |
COMPONENT_TEST_DIR = $(@D)/testbed |
|
65 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
66 |
||
67 |
COMPONENT_TEST_TRANSFORMS += \ |
|
68 |
'-e "s|^.*test bed.*$$|XXX_REMOVE_XXX|g" ' \ |
|
69 |
'-e "s|^.*MPixel.*$$|XXX_REMOVE_XXX|g" ' \ |
|
70 |
'-e "s|^.*Single block hit.*$$|XXX_REMOVE_XXX|g" ' \ |
|
71 |
'-e "s|^.*$(CC).*$$|XXX_REMOVE_XXX|g" ' \ |
|
72 |
'-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \ |
|
73 |
'-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \ |
|
74 |
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \ |
|
75 |
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \ |
|
76 |
'-e "/^XXX_REMOVE_XXX$$/d" ' |
|
77 |
||
78 |
REQUIRED_PACKAGES += image/library/libjpeg |
|
79 |
REQUIRED_PACKAGES += image/library/libtiff |
|
80 |
REQUIRED_PACKAGES += system/library/math |