xref: /illumos-gate/usr/src/uts/intel/imcstub/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
174079a53SRobert Mustacchi#
274079a53SRobert Mustacchi# This file and its contents are supplied under the terms of the
374079a53SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
474079a53SRobert Mustacchi# You may only use this file in accordance with the terms of version
574079a53SRobert Mustacchi# 1.0 of the CDDL.
674079a53SRobert Mustacchi#
774079a53SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
874079a53SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
974079a53SRobert Mustacchi# http://www.illumos.org/license/CDDL.
1074079a53SRobert Mustacchi#
1174079a53SRobert Mustacchi
1274079a53SRobert Mustacchi#
1374079a53SRobert Mustacchi# Copyright 2019 Joyent, Inc.
1474079a53SRobert Mustacchi#
1574079a53SRobert Mustacchi
1674079a53SRobert MustacchiUTSBASE = ../..
1774079a53SRobert Mustacchi
1874079a53SRobert MustacchiMODULE		= imcstub
1974079a53SRobert MustacchiOBJECTS		= $(IMCSTUB_OBJS:%=$(OBJS_DIR)/%)
2074079a53SRobert MustacchiROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
2174079a53SRobert Mustacchi
2274079a53SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel
2374079a53SRobert Mustacchi
2474079a53SRobert MustacchiALL_TARGET	= $(BINARY)
2574079a53SRobert MustacchiINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
2674079a53SRobert Mustacchi
27*82d0151aSRichard LoweLDFLAGS		+= -Ndrv/imc
2874079a53SRobert Mustacchi
2974079a53SRobert Mustacchi.KEEP_STATE:
3074079a53SRobert Mustacchi
3174079a53SRobert Mustacchidef:		$(DEF_DEPS)
3274079a53SRobert Mustacchi
3374079a53SRobert Mustacchiall:		$(ALL_DEPS)
3474079a53SRobert Mustacchi
3574079a53SRobert Mustacchiclean:		$(CLEAN_DEPS)
3674079a53SRobert Mustacchi
3774079a53SRobert Mustacchiclobber:	$(CLOBBER_DEPS)
3874079a53SRobert Mustacchi
3974079a53SRobert Mustacchiinstall:	$(INSTALL_DEPS)
4074079a53SRobert Mustacchi
4174079a53SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ
42