xref: /illumos-gate/usr/src/uts/intel/ksensor_test/Makefile (revision 3ce5372277f4657ad0e52d36c979527c4ca22de2)
1*3ce53722SRobert Mustacchi#
2*3ce53722SRobert Mustacchi# This file and its contents are supplied under the terms of the
3*3ce53722SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4*3ce53722SRobert Mustacchi# You may only use this file in accordance with the terms of version
5*3ce53722SRobert Mustacchi# 1.0 of the CDDL.
6*3ce53722SRobert Mustacchi#
7*3ce53722SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8*3ce53722SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9*3ce53722SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10*3ce53722SRobert Mustacchi#
11*3ce53722SRobert Mustacchi
12*3ce53722SRobert Mustacchi#
13*3ce53722SRobert Mustacchi# Copyright 2020 Oxide Computer Company
14*3ce53722SRobert Mustacchi#
15*3ce53722SRobert Mustacchi
16*3ce53722SRobert MustacchiUTSBASE = ../..
17*3ce53722SRobert Mustacchi
18*3ce53722SRobert MustacchiMODULE		= ksensor_test
19*3ce53722SRobert MustacchiOBJECTS		= $(KSENSOR_TEST_OBJS:%=$(OBJS_DIR)/%)
20*3ce53722SRobert MustacchiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
21*3ce53722SRobert MustacchiCONF_SRCDIR	= $(UTSBASE)/common/io/ksensor
22*3ce53722SRobert Mustacchi
23*3ce53722SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel
24*3ce53722SRobert Mustacchi
25*3ce53722SRobert MustacchiALL_TARGET	= $(BINARY) $(CONFMOD)
26*3ce53722SRobert MustacchiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
27*3ce53722SRobert Mustacchi
28*3ce53722SRobert Mustacchi.KEEP_STATE:
29*3ce53722SRobert Mustacchi
30*3ce53722SRobert Mustacchidef:		$(DEF_DEPS)
31*3ce53722SRobert Mustacchi
32*3ce53722SRobert Mustacchiall:		$(ALL_DEPS)
33*3ce53722SRobert Mustacchi
34*3ce53722SRobert Mustacchiclean:		$(CLEAN_DEPS)
35*3ce53722SRobert Mustacchi
36*3ce53722SRobert Mustacchiclobber:	$(CLOBBER_DEPS)
37*3ce53722SRobert Mustacchi
38*3ce53722SRobert Mustacchiinstall:	$(INSTALL_DEPS)
39*3ce53722SRobert Mustacchi
40*3ce53722SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ
41