Add whatever Python project
[oi-userland.git] / make-rules / prep.mk
blob618e466b1f9e62eb046cf0a9a210ac43851cd4ef
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.
25 .NOTPARALLEL:
27 include $(WS_MAKE_RULES)/prep-download.mk
29 include $(WS_MAKE_RULES)/prep-hg.mk
30 include $(WS_MAKE_RULES)/prep-git.mk
31 include $(WS_MAKE_RULES)/prep-svn.mk
32 include $(WS_MAKE_RULES)/prep-unpack.mk
33 include $(WS_MAKE_RULES)/prep-patch.mk
35 download::
37 unpack:: download
39 patch:: unpack
41 $(SOURCE_DIR)/.prep: component-environment-prep download unpack patch
42 $(COMPONENT_PREP_ACTION)
43 $(TOUCH) $@
45 prep:: $(SOURCE_DIR)/.prep
47 clean::
48 $(PRE_CLEAN_ACTION)
49 $(RM) -r $(CLEAN_PATHS)
51 clobber:: clean
52 $(RM) -r $(CLOBBER_PATHS)