author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Fri, 07 Apr 2017 17:56:36 -0700 | |
changeset 7851 | f82a18f72950 |
parent 6911 | 7b878dfe6f0d |
permissions | -rw-r--r-- |
2 | 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 |
# |
|
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3817
diff
changeset
|
21 |
|
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3817
diff
changeset
|
22 |
# |
6911
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
23 |
# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. |
2 | 24 |
# |
25 |
||
4196
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
26 |
include $(WS_MAKE_RULES)/prep-download.mk |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
27 |
include $(WS_MAKE_RULES)/prep-hg.mk |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
28 |
include $(WS_MAKE_RULES)/prep-git.mk |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
29 |
include $(WS_MAKE_RULES)/prep-svn.mk |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
30 |
include $(WS_MAKE_RULES)/prep-unpack.mk |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
31 |
include $(WS_MAKE_RULES)/prep-patch.mk |
2 | 32 |
|
6911
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
33 |
# Now that the above makefiles have had a chance to assign values to |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
34 |
# COMPONENT_SRC and COMPONENT_ARCHIVE if they choose, we can assign some |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
35 |
# reasonable defaults. |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
36 |
COMPONENT_SRC ?= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
37 |
COMPONENT_ARCHIVE ?= $(COMPONENT_SRC).tar.gz |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
38 |
|
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
39 |
$(eval $(call eval-download-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
40 |
$(eval $(call eval-hg-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
41 |
$(eval $(call eval-git-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
42 |
$(eval $(call eval-svn-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
43 |
$(eval $(call eval-unpack-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
44 |
$(eval $(call eval-patch-rules)) |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5569
diff
changeset
|
45 |
|
4196
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
46 |
download:: |
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
47 |
|
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
48 |
unpack:: download |
142
6f1cb90a0ef3
7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
115
diff
changeset
|
49 |
|
4196
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
50 |
patch:: unpack |
2 | 51 |
|
4196
d697072a92f5
19782029 userland should be able to build from SCM repositories
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3998
diff
changeset
|
52 |
$(SOURCE_DIR)/.prep: download unpack patch |
2 | 53 |
$(COMPONENT_PREP_ACTION) |
54 |
$(TOUCH) $@ |
|
55 |
||
59
7500d63edb42
7012375 userland build and proto areas should be outside of unpacked source dirs
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
42
diff
changeset
|
56 |
prep:: $(SOURCE_DIR)/.prep |
2 | 57 |
|
58 |
clean:: |
|
4805
ad8cc19e4aec
21036504 Move libgamin from Desktop to Userland consolidation
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
4196
diff
changeset
|
59 |
$(PRE_CLEAN_ACTION) |
2 | 60 |
$(RM) -r $(CLEAN_PATHS) |
61 |
||
62 |
clobber:: clean |
|
63 |
$(RM) -r $(CLOBBER_PATHS) |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3533
diff
changeset
|
64 |