author | Jiri Sasek <Jiri.Sasek@Oracle.COM> |
Mon, 02 Jun 2014 02:30:35 -0700 | |
changeset 1927 | 7ffd58da1715 |
parent 1721 | e6db95cc6647 |
child 2225 | f064d3d3190d |
child 3935 | 177c89f1f2cf |
permissions | -rw-r--r-- |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
1 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
2 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
3 |
# CDDL HEADER START |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
4 |
# |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
6 |
# Common Development and Distribution License (the "License"). |
111c46cade93
7018146 move hplip 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. |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
8 |
# |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
10 |
# or http://www.opensolaris.org/os/licensing. |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
12 |
# and limitations under the License. |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
13 |
# |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip 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. |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip 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 |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
19 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
20 |
# CDDL HEADER END |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
21 |
# |
1721
e6db95cc6647
17406738 problem in UTILITY/HPLIP
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1276
diff
changeset
|
22 |
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
23 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
24 |
include ../../make-rules/shared-macros.mk |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
25 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
26 |
COMPONENT_NAME= hplip |
1276
dc3977b83042
15795105 SUNBT7173056 Update hplip from 3.10.9 to 3.12.4
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1058
diff
changeset
|
27 |
COMPONENT_VERSION= 3.12.4 |
1927
7ffd58da1715
18885082 Package print/filter/hplip needs TPNO in pkg manifest.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents:
1721
diff
changeset
|
28 |
TPNO= 17920 |
1721
e6db95cc6647
17406738 problem in UTILITY/HPLIP
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1276
diff
changeset
|
29 |
COMPONENT_PROJECT_URL= http://hplipopensource.com/hplip-web/index.html |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
1276
dc3977b83042
15795105 SUNBT7173056 Update hplip from 3.10.9 to 3.12.4
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1058
diff
changeset
|
33 |
sha256:350375c78d79adf635a59a448b27b3fe9ab7ac622637c47125fe5f7d8a537fff |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/hplip/files/hplip/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/hplip |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
36 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
37 |
include ../../make-rules/prep.mk |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
38 |
include ../../make-rules/configure.mk |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
39 |
include ../../make-rules/ips.mk |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
40 |
|
1721
e6db95cc6647
17406738 problem in UTILITY/HPLIP
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1276
diff
changeset
|
41 |
# Enable ASLR for this component |
e6db95cc6647
17406738 problem in UTILITY/HPLIP
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1276
diff
changeset
|
42 |
ASLR_MODE = $(ASLR_ENABLE) |
e6db95cc6647
17406738 problem in UTILITY/HPLIP
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1276
diff
changeset
|
43 |
|
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
44 |
# We need to be able to return from void functions |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
45 |
CC += $(studio_FEATURES_EXTENSIONS) |
1276
dc3977b83042
15795105 SUNBT7173056 Update hplip from 3.10.9 to 3.12.4
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents:
1058
diff
changeset
|
46 |
CXX += $(studio_FEATURES_EXTENSIONS) $(studio_NORUNPATH) $(studio_CXXLIB_CSTD) |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
47 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
48 |
ROOTPPDCACHE = $(PROTO_DIR)/usr/lib/lp/caches/SUNWhpijs.cache |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
49 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
50 |
# configure(1) options to use |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --disable-pp-build |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --disable-gui-build |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
54 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_ENV += LDFLAGS=" -lnsl" |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
56 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
57 |
HPLIP_VARIANT = $(BUILD_DIR)/$(MACH32)-hplip |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
58 |
HPIJS_VARIANT = $(BUILD_DIR)/$(MACH32)-hpijs |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
59 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
60 |
VARIANTS = $(HPLIP_VARIANT) $(HPIJS_VARIANT) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
61 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
62 |
# We build two variants: for the CUPS/SANE support |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
63 |
# and for the HPIJS only support |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
64 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
65 |
# use these options for the CUPS/SANE support |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
66 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --with-hpppddir=/usr/share/cups/model/SUNWhplip |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
67 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-fax-build |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
68 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-udev-acl-rules |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
69 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-hpcups-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
70 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-new-hpcups |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
71 |
$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-cups-drv-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
72 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
73 |
# use these options for the HPIJS only support |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
74 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-foomatic-ppd-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
75 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --with-hpppddir=/usr/share/ppd/SUNWhpijs/HP |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
76 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-cups-drv-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
77 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-hpcups-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
78 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-doc-build |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
79 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-hpijs-only-build |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
80 |
$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-hpijs-install |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
81 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
82 |
install: COMPONENT_INSTALL_ENV += halpredir=/etc/hal/fdi/preprobe/10osvendor |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
83 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
84 |
COMPONENT_INSTALL_ARGS += -e |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
85 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
86 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
87 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
88 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
89 |
# Generate configuration scripts |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
90 |
$(HPLIP_VARIANT)/.built: COMPONENT_PREP_ACTION = \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
91 |
(cd $(@D) ; autoconf ) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
92 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
93 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
94 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
95 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
96 |
# Since it looks like you can't build HPLIP with both HPIJS and CUPS support |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
97 |
# and seperate the HPIJS and CUPS PPD data, we need to replicate the code and |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
98 |
# build it twice. Once for the HPIJS support used by LP and once for the rest |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
99 |
# of the support used for CUPS and SANE. |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
100 |
# |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
101 |
build: $(VARIANTS:%=%/.built) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
102 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
103 |
install: $(VARIANTS:%=%/.installed) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
104 |
$(RM) $(ROOTPPDCACHE) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
105 |
$(MKDIR) $(PROTO_DIR)/usr/lib/lp/caches |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
106 |
($(ENV) VER="$(BUILD_DIR)/$(MACH32)-hpijs" \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
107 |
PPDSRC="$(PROTO_DIR)/usr/share/ppd/SUNWhpijs" \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
108 |
DONOTINSTALL="/dev/null" \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
109 |
CACHE="$(ROOTPPDCACHE)" \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
110 |
IPATH="/usr/share/ppd/$(BUILD_DIR)/" \ |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
111 |
$(KSH93) cache.ksh) |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
112 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
113 |
# empty test target |
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
165
diff
changeset
|
114 |
test: $(NO_TESTS) |
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
115 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
116 |
include ../../make-rules/depend.mk |