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