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