xref: /illumos-gate/usr/src/lib/libvmmapi/Makefile (revision f4fe62a3c26a7b15283589c57a3c10ed9695b529)
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
30_msg:=		TARGET= _msg
31
32.KEEP_STATE:
33
34all install clean clobber: $(SUBDIRS)
35
36# install rule for install_h target
37
38install_h: $(ROOTHDRS)
39
40check: $(CHECKHDRS)
41
42_msg: $(MSGSUBDIRS)
43
44$(SUBDIRS): FRC
45	cd $@; pwd; $(MAKE) CW_NO_SHADOW=true __GNUC= $(TARGET)
46
47FRC:
48
49include ../Makefile.targ
50include ../../Makefile.msg.targ
51