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).
17 # Define the module and object file sets.
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
32 ALL_TARGET
= $(BINARY
) $(CONFMOD
)
33 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
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
49 LDFLAGS
+= -dy
-N misc
/scsi
52 # Default build targets.
62 clobber: $(CLOBBER_DEPS
)
64 install: $(INSTALL_DEPS
)
67 # Include common targets.
69 include $(UTSBASE
)/intel
/Makefile.targ