Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / uts / intel / amr / Makefile
blobd663138d884ed17e402a38a023aef0606a4eca1f
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 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
22 CONF_SRCDIR = $(UTSBASE)/intel/io/amr
25 # Include common rules.
27 include $(UTSBASE)/intel/Makefile.intel
30 # Define targets
32 ALL_TARGET = $(BINARY) $(CONFMOD)
33 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
36 # Overrides
39 # For now, disable these compiler warnings; maintainers should endeavor to
40 # investigate and remove these for maximum coverage. Please do not carry
41 # these forward to new Makefiles.
44 CERRWARN += -Wno-parentheses
47 # Depends on scsi
49 LDFLAGS += -dy -N misc/scsi
52 # Default build targets.
54 .KEEP_STATE:
56 def: $(DEF_DEPS)
58 all: $(ALL_DEPS)
60 clean: $(CLEAN_DEPS)
62 clobber: $(CLOBBER_DEPS)
64 install: $(INSTALL_DEPS)
67 # Include common targets.
69 include $(UTSBASE)/intel/Makefile.targ