xref: /illumos-gate/usr/src/uts/intel/zen_udf/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1549e0fd3SRobert Mustacchi#
2549e0fd3SRobert Mustacchi# This file and its contents are supplied under the terms of the
3549e0fd3SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4549e0fd3SRobert Mustacchi# You may only use this file in accordance with the terms of version
5549e0fd3SRobert Mustacchi# 1.0 of the CDDL.
6549e0fd3SRobert Mustacchi#
7549e0fd3SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8549e0fd3SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9549e0fd3SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10549e0fd3SRobert Mustacchi#
11549e0fd3SRobert Mustacchi
12549e0fd3SRobert Mustacchi#
13549e0fd3SRobert Mustacchi# Copyright 2020 Oxide Computer Company
14549e0fd3SRobert Mustacchi#
15549e0fd3SRobert Mustacchi
16549e0fd3SRobert MustacchiUTSBASE = ../..
17549e0fd3SRobert Mustacchi
18549e0fd3SRobert MustacchiMODULE		= zen_udf
19549e0fd3SRobert MustacchiOBJECTS		= $(ZEN_UDF_OBJS:%=$(OBJS_DIR)/%)
20549e0fd3SRobert MustacchiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
21549e0fd3SRobert Mustacchi
22549e0fd3SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel
23549e0fd3SRobert Mustacchi
24549e0fd3SRobert MustacchiALL_TARGET	= $(BINARY)
25549e0fd3SRobert MustacchiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
26549e0fd3SRobert MustacchiCPPFLAGS	+= -I$(UTSBASE)/intel/io/amdzen
27*82d0151aSRichard LoweLDFLAGS		+= -Ndrv/amdzen
28549e0fd3SRobert Mustacchi
29549e0fd3SRobert Mustacchi.KEEP_STATE:
30549e0fd3SRobert Mustacchi
31549e0fd3SRobert Mustacchidef:		$(DEF_DEPS)
32549e0fd3SRobert Mustacchi
33549e0fd3SRobert Mustacchiall:		$(ALL_DEPS)
34549e0fd3SRobert Mustacchi
35549e0fd3SRobert Mustacchiclean:		$(CLEAN_DEPS)
36549e0fd3SRobert Mustacchi
37549e0fd3SRobert Mustacchiclobber:	$(CLOBBER_DEPS)
38549e0fd3SRobert Mustacchi
39549e0fd3SRobert Mustacchiinstall:	$(INSTALL_DEPS)
40549e0fd3SRobert Mustacchi
41549e0fd3SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ
42