component(developer/golang-123): Add Component
[oi-userland.git] / Makefile
blobe6beebbbb734bb3d2b3198c0b40c31f3f9835fe1
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
21 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
24 include make-rules/shared-macros.mk
26 SUBDIRS += components
28 download: TARGET = download
29 prep: TARGET = prep
30 build: TARGET = build
31 install: TARGET = install
32 publish: TARGET = publish
33 pre-publish: TARGET = pre-publish
34 validate: TARGET = validate
35 clean: TARGET = clean
36 clobber: TARGET = clobber
37 setup: TARGET = setup
38 test: TARGET = test
39 component-hook: TARGET = component-hook
41 .DEFAULT: publish
43 download setup prep build install pre-publish publish validate clean clobber \
44 test component-hook unpack patch: $(SUBDIRS)
46 $(SUBDIRS): FORCE
47 @+echo "$(TARGET) $@" ; $(GMAKE) -s -C $@ $(TARGET)
49 FORCE: