author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Fri, 07 Oct 2016 22:43:37 -0700 | |
changeset 7203 | c08b4f974065 |
parent 7104 | 8f45af4c27d7 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
1 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
2 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
3 |
# CDDL HEADER START |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
4 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
5 |
# The contents of this file are subject to the terms of the |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
6 |
# Common Development and Distribution License (the "License"). |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
7 |
# You may not use this file except in compliance with the License. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
8 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
10 |
# or http://www.opensolaris.org/os/licensing. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
11 |
# See the License for the specific language governing permissions |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
12 |
# and limitations under the License. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
13 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
19 |
# |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
20 |
# CDDL HEADER END |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
21 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
22 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
23 |
# |
5674
a5c5f8ac5f4b
23018794 userland should move to parfait 1.8
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5125
diff
changeset
|
24 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
25 |
# |
7104
8f45af4c27d7
24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5797
diff
changeset
|
26 |
# parfait seems to spin when looking at the .bc files (13704877), so |
8f45af4c27d7
24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5797
diff
changeset
|
27 |
# for now disable it. |
8f45af4c27d7
24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5797
diff
changeset
|
28 |
export PARFAIT_BUILD=no |
8f45af4c27d7
24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5797
diff
changeset
|
29 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
30 |
# Prefer 32-bit due to ghostcript's hybrid build system. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
31 |
BUILD_BITS= 32_and_64 |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
32 |
include ../../make-rules/shared-macros.mk |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
33 |
|
1836
ad7c12f49476
18615984 userland should move to parfait 1.4
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1352
diff
changeset
|
34 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
35 |
COMPONENT_NAME= ghostscript |
345
61b29cf8b717
6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
181
diff
changeset
|
36 |
COMPONENT_VERSION= 9.00 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
519
diff
changeset
|
37 |
COMPONENT_PROJECT_URL= http://ghostscript.com/ |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
774
diff
changeset
|
38 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
774
diff
changeset
|
39 |
sha256:9e754c315d68d91a65ef208b9a8bda1fb57e45a7be18aa9397acfcc5ff59de16 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
519
diff
changeset
|
40 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)releases/$(COMPONENT_ARCHIVE) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
41 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1836
diff
changeset
|
42 |
TPNO= 3796 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1836
diff
changeset
|
43 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
44 |
COMMON_TARGETS= no |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/common.mk |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
46 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
47 |
PATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN) |
519
64d5e70ee0eb
7086596 userland problems on 173
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
441
diff
changeset
|
48 |
|
5125
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
49 |
# ghostscript uses a non-standard hybrid-build to build both 32 and 64-bit; |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
50 |
# override these to prevent build failure. |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
51 |
CC_FOR_BUILD= |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
52 |
CONFIGURE_CPPFLAGS= |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
53 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
54 |
# configure(1) options to use |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --with-drivers=ALL |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --with-ijs |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --without-omni |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --with-jbig2dec |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --with-jasper |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --enable-cups |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --enable-dynamic |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --disable-compile-inits |
441
8a584a286658
7068706 Ghostscript: Error: Font Renderer Plugin ( FreeType )
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
345
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --disable-freetype |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --with-fontpath=/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource:/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource/Font:/usr/share/ghostscript/fonts:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/openwin/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Type1:/usr/X11/lib/fonts/TrueType:/usr/X11/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Resource:/usr/X11/lib/X11/Resource/Font |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
65 |
|
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
66 |
# configure options to generate 64 bit binaries |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
67 |
$(BUILD_DIR)/$(MACH64)/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64" |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
68 |
$(BUILD_DIR)/$(MACH64)/ijs/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64" |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
69 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
70 |
# config env |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
71 |
CONFIGURE_ENV += LDFLAGS_SO="-G" |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
72 |
CONFIGURE_ENV += CUPSCONFIG=$(USRBINDIR)/cups-config |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
73 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
74 |
GS_VARIANT = $(BUILD_DIR)/$(MACH32) |
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
75 |
GS_VARIANT_64 = $(BUILD_DIR)/$(MACH64) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
76 |
IJS_VARIANT = $(BUILD_DIR)/$(MACH32)/ijs |
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
77 |
IJS_VARIANT_64 = $(BUILD_DIR)/$(MACH64)/ijs |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
78 |
|
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
79 |
VARIANTS = $(GS_VARIANT) $(IJS_VARIANT) $(GS_VARIANT_64) $(IJS_VARIANT_64) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
80 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
81 |
# autoconf - Generate configuration scripts |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
82 |
COMPONENT_PREP_ACTION = \ |
441
8a584a286658
7068706 Ghostscript: Error: Font Renderer Plugin ( FreeType )
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
345
diff
changeset
|
83 |
(cd $(@D); $(RM) -r libpng zlib jpeg ; autoconf) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
84 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
85 |
$(GS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
86 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
87 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
88 |
$(GS_VARIANT)/.installed: COMPONENT_INSTALL_TARGETS += \ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
89 |
install-exec install-so install-scripts install-data \ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
90 |
install-contrib-extras |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
91 |
|
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
92 |
$(GS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \ |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
93 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
94 |
|
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
95 |
$(GS_VARIANT_64)/.installed: COMPONENT_INSTALL_TARGETS += \ |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
96 |
install-exec install-so install-scripts install-data \ |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
97 |
install-contrib-extras |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
98 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
99 |
$(IJS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
100 |
($(CLONEY) $(SOURCE_DIR)/ijs $(@D); \ |
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
178
diff
changeset
|
101 |
cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh ) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
102 |
|
1135
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
103 |
$(IJS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \ |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
104 |
($(CLONEY) $(SOURCE_DIR)/ijs $(@D); \ |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
105 |
cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh ) |
7f8ef38770aa
15592427 SUNBT6885855 ghostscript needs to be 64-bit enabled
Sonam Gupta <sonam.x.gupta@oracle.com>
parents:
1058
diff
changeset
|
106 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
107 |
CONFIGURE_SCRIPT = ./configure |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
108 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
109 |
# Adjust '#!/usr/bin/perl' |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
110 |
PERL_SCRIPTS= $(PROTOUSRBINDIR)/fixmswrd.pl |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
111 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
112 |
# ASLR disabled until sufficient testing can be performed. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
113 |
ASLR_MODE= $(ASLR_DISABLE) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5674
diff
changeset
|
114 |
|
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2204
diff
changeset
|
115 |
# configure gs and ijs |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2204
diff
changeset
|
116 |
configure: $(VARIANTS:%=%/.configured) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2204
diff
changeset
|
117 |
|
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
118 |
# build gs and ijs |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
119 |
build: $(VARIANTS:%=%/.built) |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
120 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
121 |
# install gs and ijs |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
122 |
install: $(VARIANTS:%=%/.installed) |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
123 |
|
2164
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
124 |
test: $(NO_TESTS) |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
125 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
126 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
127 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
128 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
129 |
REQUIRED_PACKAGES += image/library/libjpeg |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
130 |
REQUIRED_PACKAGES += image/library/libpng |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
131 |
REQUIRED_PACKAGES += library/desktop/gtk2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
132 |
REQUIRED_PACKAGES += library/glib2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
133 |
REQUIRED_PACKAGES += library/print/cups-libs |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
134 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
135 |
REQUIRED_PACKAGES += print/cups |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
136 |
REQUIRED_PACKAGES += $(PERL_PKG) |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
137 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
138 |
REQUIRED_PACKAGES += system/library/fontconfig |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
139 |
REQUIRED_PACKAGES += system/library/math |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
140 |
REQUIRED_PACKAGES += x11/library/libx11 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
141 |
REQUIRED_PACKAGES += x11/library/libxcursor |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
142 |
REQUIRED_PACKAGES += x11/library/toolkit/libxt |