xref: /illumos-gate/usr/src/lib/libvmmapi/Makefile (revision cab7c30c9587a8c7b5dd94af5f688dc5b8e8add7)
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
16include		../Makefile.lib
17
18HDRS =		vmmapi.h
19
20HDRDIR =	common
21
22CHECKHDRS =
23
24$(BUILD64)SUBDIRS += $(MACH64)
25
26all:=		TARGET= all
27install:=	TARGET= install
28clean:=	TARGET= clean
29clobber:=	TARGET= clobber
30lint:=		TARGET= lint
31_msg:=		TARGET= _msg
32
33.KEEP_STATE:
34
35all install clean clobber lint: $(SUBDIRS)
36
37# install rule for install_h target
38
39install_h: $(ROOTHDRS)
40
41check: $(CHECKHDRS)
42
43_msg: $(MSGSUBDIRS)
44
45$(SUBDIRS): FRC
46	cd $@; pwd; $(MAKE) CW_NO_SHADOW=true __GNUC= $(TARGET)
47
48FRC:
49
50include ../Makefile.targ
51include ../../Makefile.msg.targ
52