xref: /illumos-gate/usr/src/uts/intel/ktest/Makefile (revision 08855964b9970604433f7b19dcd71cf5af5e5f14)
1*08855964SRyan Zezeski#
2*08855964SRyan Zezeski# This file and its contents are supplied under the terms of the
3*08855964SRyan Zezeski# Common Development and Distribution License ("CDDL"), version 1.0.
4*08855964SRyan Zezeski# You may only use this file in accordance with the terms of version
5*08855964SRyan Zezeski# 1.0 of the CDDL.
6*08855964SRyan Zezeski#
7*08855964SRyan Zezeski# A full copy of the text of the CDDL should have accompanied this
8*08855964SRyan Zezeski# source.  A copy of the CDDL is also available via the Internet at
9*08855964SRyan Zezeski# http://www.illumos.org/license/CDDL.
10*08855964SRyan Zezeski#
11*08855964SRyan Zezeski
12*08855964SRyan Zezeski#
13*08855964SRyan Zezeski# Copyright 2023 Oxide Computer Company
14*08855964SRyan Zezeski#
15*08855964SRyan Zezeski
16*08855964SRyan ZezeskiUTSBASE = ../..
17*08855964SRyan Zezeski
18*08855964SRyan ZezeskiMODULE		= ktest
19*08855964SRyan ZezeskiOBJECTS		= $(KTEST_OBJS:%=$(OBJS_DIR)/%)
20*08855964SRyan ZezeskiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
21*08855964SRyan ZezeskiCONF_SRCDIR	= $(UTSBASE)/common/io/ktest
22*08855964SRyan Zezeski
23*08855964SRyan Zezeskiinclude $(UTSBASE)/intel/Makefile.intel
24*08855964SRyan Zezeski
25*08855964SRyan ZezeskiALL_TARGET	= $(BINARY) $(CONFMOD)
26*08855964SRyan ZezeskiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
27*08855964SRyan Zezeski
28*08855964SRyan Zezeski# TODO mapfiles
29*08855964SRyan Zezeski
30*08855964SRyan Zezeski.KEEP_STATE:
31*08855964SRyan Zezeski
32*08855964SRyan Zezeskidef:		$(DEF_DEPS)
33*08855964SRyan Zezeski
34*08855964SRyan Zezeskiall:		$(ALL_DEPS)
35*08855964SRyan Zezeski
36*08855964SRyan Zezeskiclean:		$(CLEAN_DEPS)
37*08855964SRyan Zezeski
38*08855964SRyan Zezeskiclobber:	$(CLOBBER_DEPS)
39*08855964SRyan Zezeski
40*08855964SRyan Zezeskiinstall:	$(INSTALL_DEPS)
41*08855964SRyan Zezeski
42*08855964SRyan Zezeskiinclude $(UTSBASE)/intel/Makefile.targ
43