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 (c) 2014 Joyent, Inc. All rights reserved.
17 # Path to the base of the uts directory tree (usually /usr/src/uts).
22 # Define the module and object file sets.
25 OBJECTS
= $(URF_OBJS
:%=$(OBJS_DIR
)/%)
26 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
29 # Include common rules.
31 include $(UTSBASE
)/intel
/Makefile.intel
33 CPPFLAGS
+= -I
$(UTSBASE
)/common
/io
/usbgem
34 CPPFLAGS
+= -DVERSION
=\"2.0.0\"
35 CPPFLAGS
+= -DUSBGEM_CONFIG_GLDv3
36 LDFLAGS
+= -dy
-N misc
/mac
-N drv
/ip
-N misc
/usba
-N misc
/usbgem
38 CERRWARN
+= -Wno-uninitialized
39 CERRWARN
+= -Wno-unused-function
40 CERRWARN
+= -Wno-unused-variable
41 CERRWARN
+= -Wno-unused-label
46 ALL_TARGET
= $(BINARY
)
47 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
50 # Default build targets.
60 clobber: $(CLOBBER_DEPS
)
62 install: $(INSTALL_DEPS
)
64 # Include common targets.
66 include $(UTSBASE
)/intel
/Makefile.targ