xref: /illumos-gate/usr/src/uts/intel/efe/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1b3697b90SSteven Stallion#
2b3697b90SSteven Stallion# This file and its contents are supplied under the terms of the
3b3697b90SSteven Stallion# Common Development and Distribution License ("CDDL"), version 1.0.
4b3697b90SSteven Stallion# You may only use this file in accordance with the terms of version
5b3697b90SSteven Stallion# 1.0 of the CDDL.
6b3697b90SSteven Stallion#
7b3697b90SSteven Stallion# A full copy of the text of the CDDL should have accompanied this
8b3697b90SSteven Stallion# source.  A copy of the CDDL is also available via the Internet at
9b3697b90SSteven Stallion# http://www.illumos.org/license/CDDL.
10b3697b90SSteven Stallion#
11b3697b90SSteven Stallion
12b3697b90SSteven Stallion#
13b3697b90SSteven Stallion#	Path to the base of the uts directory tree (usually /usr/src/uts).
14b3697b90SSteven Stallion#
15b3697b90SSteven StallionUTSBASE		= ../..
16b3697b90SSteven Stallion
17b3697b90SSteven Stallion#
18b3697b90SSteven Stallion#	Define the module and object file sets.
19b3697b90SSteven Stallion#
20b3697b90SSteven StallionMODULE		= efe
21b3697b90SSteven StallionOBJECTS		= $(EFE_OBJS:%=$(OBJS_DIR)/%)
22b3697b90SSteven StallionROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
23b3697b90SSteven Stallion
24b3697b90SSteven Stallion#
25b3697b90SSteven Stallion#	Include common rules.
26b3697b90SSteven Stallion#
27b3697b90SSteven Stallioninclude $(UTSBASE)/intel/Makefile.intel
28b3697b90SSteven Stallion
29b3697b90SSteven Stallion#
30b3697b90SSteven Stallion#	Define targets.
31b3697b90SSteven Stallion#
32b3697b90SSteven StallionALL_TARGET	= $(BINARY)
33b3697b90SSteven StallionINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
34b3697b90SSteven Stallion
35b3697b90SSteven Stallion#
36b3697b90SSteven Stallion#	Driver flags.
37b3697b90SSteven Stallion#
38b3697b90SSteven StallionCFLAGS		+= $(CCVERBOSE)
39*82d0151aSRichard LoweLDFLAGS		+= -N misc/mac -N misc/mii
40b3697b90SSteven Stallion
41d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
427014882cSRichard Lowe
43b3697b90SSteven Stallion#
44b3697b90SSteven Stallion#	Default build targets.
45b3697b90SSteven Stallion#
46b3697b90SSteven Stallion.KEEP_STATE:
47b3697b90SSteven Stallion
48b3697b90SSteven Stalliondef:		$(DEF_DEPS)
49b3697b90SSteven Stallion
50b3697b90SSteven Stallionall:		$(ALL_DEPS)
51b3697b90SSteven Stallion
52b3697b90SSteven Stallionclean:		$(CLEAN_DEPS)
53b3697b90SSteven Stallion
54b3697b90SSteven Stallionclobber:	$(CLOBBER_DEPS)
55b3697b90SSteven Stallion
56b3697b90SSteven Stallioninstall:	$(INSTALL_DEPS)
57b3697b90SSteven Stallion
58b3697b90SSteven Stallion#
59b3697b90SSteven Stallion#	Include common targets.
60b3697b90SSteven Stallion#
61b3697b90SSteven Stallioninclude $(UTSBASE)/intel/Makefile.targ
62