xref: /illumos-gate/usr/src/uts/intel/amdzen/Makefile (revision dd23d762c65e503874085a3893fbd3df9688da30)
1047043c2SRobert Mustacchi#
2047043c2SRobert Mustacchi# This file and its contents are supplied under the terms of the
3047043c2SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4047043c2SRobert Mustacchi# You may only use this file in accordance with the terms of version
5047043c2SRobert Mustacchi# 1.0 of the CDDL.
6047043c2SRobert Mustacchi#
7047043c2SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8047043c2SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9047043c2SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10047043c2SRobert Mustacchi#
11047043c2SRobert Mustacchi
12047043c2SRobert Mustacchi#
13*dd23d762SRobert Mustacchi# Copyright 2023 Oxide Computer Company
14047043c2SRobert Mustacchi#
15047043c2SRobert Mustacchi
16047043c2SRobert MustacchiUTSBASE = ../..
17047043c2SRobert Mustacchi
18047043c2SRobert MustacchiMODULE		= amdzen
19047043c2SRobert MustacchiOBJECTS		= $(AMDZEN_OBJS:%=$(OBJS_DIR)/%)
20047043c2SRobert MustacchiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
21047043c2SRobert MustacchiCONF_SRCDIR	= $(UTSBASE)/intel/io/amdzen
22047043c2SRobert Mustacchi
23047043c2SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel
24047043c2SRobert Mustacchi
25047043c2SRobert MustacchiALL_TARGET	= $(BINARY) $(CONFMOD)
26047043c2SRobert MustacchiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
27*dd23d762SRobert MustacchiCPPFLAGS	+= -I$(CONF_SRCDIR)
28047043c2SRobert Mustacchi
29047043c2SRobert Mustacchi.KEEP_STATE:
30047043c2SRobert Mustacchi
31047043c2SRobert Mustacchidef:		$(DEF_DEPS)
32047043c2SRobert Mustacchi
33047043c2SRobert Mustacchiall:		$(ALL_DEPS)
34047043c2SRobert Mustacchi
35047043c2SRobert Mustacchiclean:		$(CLEAN_DEPS)
36047043c2SRobert Mustacchi
37047043c2SRobert Mustacchiclobber:	$(CLOBBER_DEPS)
38047043c2SRobert Mustacchi
39047043c2SRobert Mustacchiinstall:	$(INSTALL_DEPS)
40047043c2SRobert Mustacchi
41047043c2SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ
42