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 # Copyright 2013 Joyent, Inc. All rights reserved.
17 # Path to the base of the uts directory tree
22 # Define the module and object file sets.
25 OBJECTS
= $(CPQARY3_OBJS
:%=$(OBJS_DIR
)/%)
26 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
27 CONF_SRCDIR
= $(UTSBASE
)/common
/io
/cpqary3
30 # Include common rules.
32 include $(UTSBASE
)/intel
/Makefile.intel
37 ALL_TARGET
= $(BINARY
) $(CONFMOD
)
38 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
40 CPPFLAGS
+= -I
$(UTSBASE
)/common
/io
/cpqary3
43 # Kernel Module Dependencies
45 LDFLAGS
+= -dy
-Nmisc
/scsi
48 # Default build targets.
58 clobber: $(CLOBBER_DEPS
)
60 install: $(INSTALL_DEPS
)
63 # Include common targets.
65 include $(UTSBASE
)/intel
/Makefile.targ