Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / uts / intel / urf / Makefile
blobdd430456f41361d74dafe263755c47210d1e55dc
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
5 # 1.0 of the CDDL.
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).
19 UTSBASE = ../..
22 # Define the module and object file sets.
24 MODULE = urf
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
44 # Define targets
46 ALL_TARGET = $(BINARY)
47 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
50 # Default build targets.
52 .KEEP_STATE:
54 def: $(DEF_DEPS)
56 all: $(ALL_DEPS)
58 clean: $(CLEAN_DEPS)
60 clobber: $(CLOBBER_DEPS)
62 install: $(INSTALL_DEPS)
64 # Include common targets.
66 include $(UTSBASE)/intel/Makefile.targ