8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / uts / intel / efe / Makefile
blob687ffc28a016e7b42416780509eadf0e0e825709
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
5 # 1.0 of the CDDL.
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).
15 UTSBASE = ../..
18 # Define the module and object file sets.
20 MODULE = efe
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
31 # Define targets.
33 ALL_TARGET = $(BINARY)
34 LINT_TARGET = $(MODULE).lint
35 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
38 # Driver flags.
40 CFLAGS += $(CCVERBOSE)
41 LDFLAGS += -dy -N misc/mac -N misc/mii
43 CERRWARN += -_gcc=-Wno-uninitialized
46 # Default build targets.
48 .KEEP_STATE:
50 def: $(DEF_DEPS)
52 all: $(ALL_DEPS)
54 clean: $(CLEAN_DEPS)
56 clobber: $(CLOBBER_DEPS)
58 lint: $(LINT_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