#
# GNUmakefile is a wrapper for the real Makefile that includes
# rules for installing the source.  GNU make will use GNUmakefile
# preferentially over Makefile if both exist.
#

include Makefile

SRCDIR = $(ROOT)/usr/src/tools/mdshell

.PHONY: install_src
install_src:
	-mkdir -p $(SRCDIR)
	$(INSTALL) $(ASFILES) $(CFILES) $(HEADERS) $(SRCDIR)
	$(INSTALL) Makefile $(SRCDIR)

install: $(TARGETS) install_src
	$(INSTALL) $(TARGETS) $(ROOT)/usr/bin/x86
