xref: /illumos-gate/usr/src/uts/intel/vmm_drv_test/Makefile (revision aa39f6d0fd4e491afca04b12f49a18ce955efc79)
1*aa39f6d0SPatrick Mooney#
2*aa39f6d0SPatrick Mooney# This file and its contents are supplied under the terms of the
3*aa39f6d0SPatrick Mooney# Common Development and Distribution License ("CDDL"), version 1.0.
4*aa39f6d0SPatrick Mooney# You may only use this file in accordance with the terms of version
5*aa39f6d0SPatrick Mooney# 1.0 of the CDDL.
6*aa39f6d0SPatrick Mooney#
7*aa39f6d0SPatrick Mooney# A full copy of the text of the CDDL should have accompanied this
8*aa39f6d0SPatrick Mooney# source.  A copy of the CDDL is also available via the Internet at
9*aa39f6d0SPatrick Mooney# http://www.illumos.org/license/CDDL.
10*aa39f6d0SPatrick Mooney#
11*aa39f6d0SPatrick Mooney
12*aa39f6d0SPatrick Mooney#
13*aa39f6d0SPatrick Mooney# Copyright 2022 Oxide Computer Company
14*aa39f6d0SPatrick Mooney#
15*aa39f6d0SPatrick Mooney
16*aa39f6d0SPatrick MooneyUTSBASE	= ../..
17*aa39f6d0SPatrick Mooney
18*aa39f6d0SPatrick MooneyMODULE		= vmm_drv_test
19*aa39f6d0SPatrick MooneyOBJECTS		= $(VMM_DRV_TEST_OBJS:%=$(OBJS_DIR)/%)
20*aa39f6d0SPatrick MooneyROOTMODULE	= $(USR_DRV_DIR)/$(MODULE)
21*aa39f6d0SPatrick MooneyCONF_SRCDIR	= $(UTSBASE)/intel/io/vmm
22*aa39f6d0SPatrick Mooney
23*aa39f6d0SPatrick Mooneyinclude $(UTSBASE)/intel/Makefile.intel
24*aa39f6d0SPatrick Mooney
25*aa39f6d0SPatrick MooneyALL_TARGET	= $(BINARY) $(SRC_CONFILE)
26*aa39f6d0SPatrick MooneyINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
27*aa39f6d0SPatrick Mooney
28*aa39f6d0SPatrick MooneyALL_BUILDS	= $(ALL_BUILDSONLY64)
29*aa39f6d0SPatrick MooneyDEF_BUILDS	= $(DEF_BUILDSONLY64)
30*aa39f6d0SPatrick Mooney
31*aa39f6d0SPatrick MooneyCFLAGS		+= $(CCVERBOSE)
32*aa39f6d0SPatrick MooneyLDFLAGS		+= -Ndrv/vmm
33*aa39f6d0SPatrick Mooney
34*aa39f6d0SPatrick Mooney.KEEP_STATE:
35*aa39f6d0SPatrick Mooney
36*aa39f6d0SPatrick Mooneydef:		$(DEF_DEPS)
37*aa39f6d0SPatrick Mooney
38*aa39f6d0SPatrick Mooneyall:		$(ALL_DEPS)
39*aa39f6d0SPatrick Mooney
40*aa39f6d0SPatrick Mooneyclean:		$(CLEAN_DEPS)
41*aa39f6d0SPatrick Mooney
42*aa39f6d0SPatrick Mooneyclobber:	$(CLOBBER_DEPS)
43*aa39f6d0SPatrick Mooney
44*aa39f6d0SPatrick Mooneyinstall:	$(INSTALL_DEPS)
45*aa39f6d0SPatrick Mooney
46*aa39f6d0SPatrick Mooneyinclude $(UTSBASE)/intel/Makefile.targ
47