xref: /illumos-gate/usr/src/uts/intel/mlxcx/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1ebb7c6fdSAlex Wilson#
2ebb7c6fdSAlex Wilson# This file and its contents are supplied under the terms of the
3ebb7c6fdSAlex Wilson# Common Development and Distribution License ("CDDL"), version 1.0.
4ebb7c6fdSAlex Wilson# You may only use this file in accordance with the terms of version
5ebb7c6fdSAlex Wilson# 1.0 of the CDDL.
6ebb7c6fdSAlex Wilson#
7ebb7c6fdSAlex Wilson# A full copy of the text of the CDDL should have accompanied this
8ebb7c6fdSAlex Wilson# source.  A copy of the CDDL is also available via the Internet at
9ebb7c6fdSAlex Wilson# http://www.illumos.org/license/CDDL.
10ebb7c6fdSAlex Wilson#
11ebb7c6fdSAlex Wilson
12ebb7c6fdSAlex Wilson#
13ebb7c6fdSAlex Wilson# Copyright 2018 Joyent, Inc.
14ebb7c6fdSAlex Wilson#
15ebb7c6fdSAlex Wilson
16ebb7c6fdSAlex WilsonUTSBASE = ../..
17ebb7c6fdSAlex Wilson
18ebb7c6fdSAlex WilsonMODULE		= mlxcx
19ebb7c6fdSAlex WilsonOBJECTS		= $(MLXCX_OBJS:%=$(OBJS_DIR)/%)
20ebb7c6fdSAlex WilsonROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
21ebb7c6fdSAlex WilsonCONF_SRCDIR	= $(UTSBASE)/common/io/mlxcx
22ebb7c6fdSAlex Wilson
23ebb7c6fdSAlex Wilsoninclude $(UTSBASE)/intel/Makefile.intel
24ebb7c6fdSAlex Wilson
25ebb7c6fdSAlex WilsonCPPFLAGS	+= -I$(UTSBASE)/common/io/mlxcx
26ebb7c6fdSAlex Wilson
27ebb7c6fdSAlex WilsonALL_TARGET	= $(BINARY) $(CONFMOD)
28ebb7c6fdSAlex WilsonINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
29ebb7c6fdSAlex Wilson
30*82d0151aSRichard LoweLDFLAGS		+= -N misc/mac
31ebb7c6fdSAlex Wilson
32ebb7c6fdSAlex Wilson.KEEP_STATE:
33ebb7c6fdSAlex Wilson
34ebb7c6fdSAlex Wilsondef:		$(DEF_DEPS)
35ebb7c6fdSAlex Wilson
36ebb7c6fdSAlex Wilsonall:		$(ALL_DEPS)
37ebb7c6fdSAlex Wilson
38ebb7c6fdSAlex Wilsonclean:		$(CLEAN_DEPS)
39ebb7c6fdSAlex Wilson
40ebb7c6fdSAlex Wilsonclobber:	$(CLOBBER_DEPS)
41ebb7c6fdSAlex Wilson
42ebb7c6fdSAlex Wilsoninstall:	$(INSTALL_DEPS)
43ebb7c6fdSAlex Wilson
44ebb7c6fdSAlex Wilsoninclude $(UTSBASE)/intel/Makefile.targ
45