xref: /illumos-gate/usr/src/cmd/bhyvectl/Makefile (revision bf21cd93)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2013 Pluribus Networks Inc.
14#
15
16PROG =		bhyvectl
17
18include ../Makefile.cmd
19
20$(BUILD64)SUBDIRS += $(MACH64)
21
22all	:=	TARGET = all
23install	:=	TARGET = install
24clean	:=	TARGET = clean
25clobber	:=	TARGET = clobber
26lint	:=	TARGET = lint
27
28.KEEP_STATE:
29
30all clean clobber lint:	$(SUBDIRS)
31
32install: $(SUBDIRS)
33	-$(RM) $(ROOTUSRSBINPROG)
34	-$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
35
36$(SUBDIRS):	FRC
37	@cd $@; pwd; $(MAKE) CW_NO_SHADOW=true __GNUC= $(TARGET)
38
39FRC:
40
41include ../Makefile.targ
42