8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / amr / Makefile
blobeecc02183bf4d6cfa64a1a51c9b0e157c89edde5
2 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
6 # This makefile drives the production of the amr driver kernel module.
8 # intel implementation architecture dependent
12 # Path to the base of the uts directory tree (usually /usr/src/uts).
14 UTSBASE = ../..
17 # Define the module and object file sets.
19 MODULE = amr
20 OBJECTS = $(AMR_OBJS:%=$(OBJS_DIR)/%)
21 LINTS = $(AMR_OBJS:%.o=$(LINTS_DIR)/%.ln)
22 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
23 CONF_SRCDIR = $(UTSBASE)/intel/io/amr
26 # Include common rules.
28 include $(UTSBASE)/intel/Makefile.intel
31 # Define targets
33 ALL_TARGET = $(BINARY) $(CONFMOD)
34 LINT_TARGET = $(MODULE).lint
35 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
38 # Overrides
41 # For now, disable these lint checks; maintainers should endeavor
42 # to investigate and remove these for maximum lint coverage.
43 # Please do not carry these forward to new Makefiles.
45 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
46 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
48 CERRWARN += -_gcc=-Wno-parentheses
51 # Depends on scsi
53 LDFLAGS += -dy -N misc/scsi
56 # Default build targets.
58 .KEEP_STATE:
60 def: $(DEF_DEPS)
62 all: $(ALL_DEPS)
64 clean: $(CLEAN_DEPS)
66 clobber: $(CLOBBER_DEPS)
68 lint: $(LINT_DEPS)
70 modlintlib: $(MODLINTLIB_DEPS)
72 clean.lint: $(CLEAN_LINT_DEPS)
74 install: $(INSTALL_DEPS)
77 # Include common targets.
79 include $(UTSBASE)/intel/Makefile.targ