python36: add libressl patch
[unleashed-userland.git] / make-rules / prep.mk
blob7d5a2e141969687ecf6fc57f01bb2a6d6397f400
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
26 include $(WS_MAKE_RULES)/prep-download.mk
27 include $(WS_MAKE_RULES)/prep-unpack.mk
28 include $(WS_MAKE_RULES)/prep-patch.mk
30 download::
32 unpack:: download
34 patch:: unpack
36 $(SOURCE_DIR)/.prep: download unpack patch
37 $(COMPONENT_PREP_ACTION)
38 $(TOUCH) $@
40 prep:: $(SOURCE_DIR)/.prep
42 clean::
43 $(PRE_CLEAN_ACTION)
44 $(RM) -r $(CLEAN_PATHS)
46 clobber:: clean
47 $(RM) -r $(CLOBBER_PATHS)