2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Path to the base of the uts directory tree (usually /usr/src/uts).
18 # Define the module and object file sets.
21 OBJECTS
= $(EFE_OBJS
:%=$(OBJS_DIR
)/%)
22 LINTS
= $(EFE_OBJS
:%.o
=$(LINTS_DIR
)/%.ln
)
23 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
26 # Include common rules.
28 include $(UTSBASE
)/intel
/Makefile.intel
33 ALL_TARGET
= $(BINARY
)
34 LINT_TARGET
= $(MODULE
).lint
35 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
40 CFLAGS
+= $(CCVERBOSE
)
41 LDFLAGS
+= -dy
-N misc
/mac
-N misc
/mii
43 CERRWARN
+= -_gcc
=-Wno-uninitialized
46 # Default build targets.
56 clobber: $(CLOBBER_DEPS
)
60 modlintlib
: $(MODLINTLIB_DEPS
)
62 clean.lint
: $(CLEAN_LINT_DEPS
)
64 install: $(INSTALL_DEPS
)
67 # Include common targets.
69 include $(UTSBASE
)/intel
/Makefile.targ