diff options
author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2018-11-01 10:45:01 +0000 |
---|---|---|
committer | Alexander Pyhalov <apyhalov@gmail.com> | 2018-11-08 12:01:20 +0300 |
commit | 1496fbab57b574527f6ec818bbb3d2fc68c40260 (patch) | |
tree | e278cca020686b88e57dd8e934160ca8f7840c57 /usr/src/tools/Makefile | |
parent | 249186c6dcae557bd0e0e75c877587f4a8a925ee (diff) | |
download | illumos-gfx-drm-1496fbab57b574527f6ec818bbb3d2fc68c40260.tar.gz |
9945 gfx-drm should use own cw copy
cw taken from illumos-gate:
commit 7ffe8e820e773d6f0f12173b3f476589d34ad1d3
Author: Richard Lowe <richlowe@richlowe.net>
Date: Sat Oct 6 01:57:12 2018 +0000
9899 cw(1onbld) should shadow more compilation
9888 cw shouldn't use __unused
Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/tools/Makefile')
-rw-r--r-- | usr/src/tools/Makefile | 83 |
1 files changed, 64 insertions, 19 deletions
diff --git a/usr/src/tools/Makefile b/usr/src/tools/Makefile index 55a3a8a..d51e02f 100644 --- a/usr/src/tools/Makefile +++ b/usr/src/tools/Makefile @@ -1,33 +1,78 @@ # -# This file and its contents are supplied under the terms of the -# Common Development and Distribution License ("CDDL"), version 1.0. -# You may only use this file in accordance with the terms of version -# 1.0 of the CDDL. +# CDDL HEADER START # -# A full copy of the text of the CDDL should have accompanied this -# source. A copy of the CDDL is also available via the Internet at -# http://www.illumos.org/license/CDDL. +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # - +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] # -# Copyright 2015 Nexenta Systems, Inc. All rights reserved. +# CDDL HEADER END # # -# Don't want to copy the tools into this skeleton, -# so just make a link to /opt/onbld +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright 2014 Garrett D'Amore <garrett@damore.org> +# Copyright 2016 Toomas Soome <tsoome@me.com> +# Copyright (c) 2016, Chris Fraire <cfraire@me.com>. +# Copyright 2018 OmniOS Community Edition (OmniOSce) Association. # include ../Makefile.master -all install: proto/root_$(MACH)-nd/opt +SUBDIRS= cw + +include Makefile.tools + +ROOTDIRS= \ + $(ROOTOPT) \ + $(ROOTONBLD) \ + $(ROOTONBLD)/bin \ + $(ROOTONBLD)/bin/$(MACH) \ + $(ROOTONBLD)/man \ + $(ROOTONBLD)/man/man1onbld + +all := TARGET= install +install := TARGET= install +clean := TARGET= clean +clobber := TARGET= clobber + +.KEEP_STATE: + +# +# Only create directories in the tools proto area when doing an actual +# build, not a clean or clobber. +# +DOROOTDIRS= $(ROOTDIRS) +clobber:= DOROOTDIRS= +clean:= DOROOTDIRS= + +DOROOTONBLDLIBPY= $(ROOTONBLDLIBPY) +clobber:= DOROOTONBLDLIBPY= +clean:= DOROOTONBLDLIBPY= + +all install: $(SUBDIRS) + +clean: $(SUBDIRS) + +clobber: $(SUBDIRS) + $(RM) -rf $(TOOLS_PROTO) + +.PARALLEL: $(SUBDIRS) -proto/root_$(MACH)-nd/opt : - -/usr/bin/mkdir -p proto/root_$(MACH)-nd - /usr/bin/rm -f $@ - /usr/bin/ln -s /opt $@ +$(SUBDIRS): $$(DOROOTDIRS) FRC + @cd $@; pwd; $(MAKE) $(TARGET) -clobber: - /usr/bin/rm -rf proto +$(ROOTDIRS): + $(MKDIR) -p -m $(DIRMODE) $@ -clean: +FRC: |