xref: /illumos-gate/usr/src/uts/intel/ena/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
16f443ebcSRyan Zezeski#
26f443ebcSRyan Zezeski# This file and its contents are supplied under the terms of the
36f443ebcSRyan Zezeski# Common Development and Distribution License ("CDDL"), version 1.0.
46f443ebcSRyan Zezeski# You may only use this file in accordance with the terms of version
56f443ebcSRyan Zezeski# 1.0 of the CDDL.
66f443ebcSRyan Zezeski#
76f443ebcSRyan Zezeski# A full copy of the text of the CDDL should have accompanied this
86f443ebcSRyan Zezeski# source.  A copy of the CDDL is also available via the Internet at
96f443ebcSRyan Zezeski# http://www.illumos.org/license/CDDL.
106f443ebcSRyan Zezeski#
116f443ebcSRyan Zezeski
126f443ebcSRyan Zezeski#
136f443ebcSRyan Zezeski# Copyright 2021 Oxide Computer Company
146f443ebcSRyan Zezeski#
156f443ebcSRyan Zezeski
166f443ebcSRyan ZezeskiUTSBASE = ../..
176f443ebcSRyan Zezeski
186f443ebcSRyan ZezeskiMODULE		= ena
196f443ebcSRyan ZezeskiOBJECTS		= $(ENA_OBJS:%=$(OBJS_DIR)/%)
206f443ebcSRyan ZezeskiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
216f443ebcSRyan ZezeskiCONF_SRCDIR	= $(UTSBASE)/common/io/ena
226f443ebcSRyan Zezeski
236f443ebcSRyan Zezeskiinclude $(UTSBASE)/intel/Makefile.intel
246f443ebcSRyan Zezeski
256f443ebcSRyan ZezeskiCPPFLAGS	+= -I$(UTSBASE)/common/io/ena
266f443ebcSRyan Zezeski
276f443ebcSRyan ZezeskiALL_TARGET	= $(BINARY) $(CONFMOD)
286f443ebcSRyan ZezeskiINSTALL_TARGET	= $(BINBAR) $(ROOTMODULE) $(ROOT_CONFFILE)
296f443ebcSRyan Zezeski
30*82d0151aSRichard LoweLDFLAGS		+= -N misc/mac
316f443ebcSRyan Zezeski
326f443ebcSRyan ZezeskiMAPFILES	+= ddi mac kernel
336f443ebcSRyan Zezeski
346f443ebcSRyan Zezeski.KEEP_STATE:
356f443ebcSRyan Zezeski
366f443ebcSRyan Zezeskidef:		$(DEF_DEPS)
376f443ebcSRyan Zezeski
386f443ebcSRyan Zezeskiall:		$(ALL_DEPS)
396f443ebcSRyan Zezeski
406f443ebcSRyan Zezeskiclean:		$(CLEAN_DEPS)
416f443ebcSRyan Zezeski
426f443ebcSRyan Zezeskiclobber:	$(CLOBBER_DEPS)
436f443ebcSRyan Zezeski
446f443ebcSRyan Zezeskiinstall:	$(INSTALL_DEPS)
456f443ebcSRyan Zezeski
466f443ebcSRyan Zezeskiinclude $(UTSBASE)/Makefile.mapfile
476f443ebcSRyan Zezeskiinclude $(UTSBASE)/intel/Makefile.targ
48