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