summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2013-08-23 18:31:03 -0400
committerGordon Ross <gwr@nexenta.com>2013-08-30 14:41:32 -0400
commitb6805bf78d2bbbeeaea8909a05623587b42d58b3 (patch)
tree1ed4f5376932228adba6378d95bbea467bdea834 /usr/src/Makefile
parenta9478106a12424322498e53cf7cd75bd8a4d6004 (diff)
downloadillumos-joyent-b6805bf78d2bbbeeaea8909a05623587b42d58b3.tar.gz
4072 make clobber leaves trash
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 2f091e3883..9f817ea2db 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -118,7 +118,7 @@ install1: mapfiles closedbins sgs
install2: install1 $(SUBDIRS)
-_msg: _msgdirs rootdirs install2 FRC
+_msg: _msgdirs rootdirs FRC
@for m in $(MSGSUBDIRS); do \
cd $$m; pwd; $(MAKE) _msg; cd ..; \
done
@@ -126,7 +126,12 @@ _msg: _msgdirs rootdirs install2 FRC
mapfiles: bldtools
@cd common/mapfiles; pwd; $(MAKE) install
-clean clobber: $(SUBDIRS) head pkg
+clean: $(SUBDIRS) head pkg
+clobber: $(SUBDIRS) head pkg clobber_local
+clobber_local:
+ @cd tools; pwd; $(MAKE) clobber
+ @cd common/mapfiles; pwd; $(MAKE) clobber
+ @cd msg; pwd; $(MAKE) clobber
closedbins: bldtools $(ROOTDIRS) FRC
@CLOSED_ROOT="$$ON_CLOSED_BINS/root_$(MACH)$${RELEASE_BUILD+-nd}"; \