16668 Add field setter macros for AMD DF::MmioPciCfg{Base,Limit}Addr{,Ext}
[illumos-gate.git] / usr / src / uts / intel / usbgem / Makefile
blobfc855dad50f5b86593089829d68db7fbf68e0b5c
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) 2018, Joyent, Inc.
14 # Copyright 2022 Garrett D'Amore
18 # Path to the base of the uts directory tree (usually /usr/src/uts).
20 UTSBASE = ../..
23 # Define the module and object file sets.
25 MODULE = usbgem
26 OBJECTS = $(USBGEM_OBJS:%=$(OBJS_DIR)/%)
27 ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
30 # Include common rules.
32 include $(UTSBASE)/intel/Makefile.intel
35 # The USBGEM has support for various different features. We use
36 # these pre-processor macros to define the set we care about.
38 CPPFLAGS += \
39 -DMODULE \
40 -DVERSION=\"1.6\"
42 CERRWARN += $(CNOWARN_UNINIT)
43 CERRWARN += -_gcc=-Wno-parentheses
44 CERRWARN += -_gcc=-Wno-switch
45 CERRWARN += -_gcc=-Wno-unused-variable
46 CERRWARN += -_gcc=-Wno-unused-label
47 CERRWARN += -_gcc=-Wno-unused-function
49 # needs work
50 SMOFF += all_func_returns
53 LDFLAGS += -N misc/mac -N drv/ip -N misc/usba
56 # Define targets
58 ALL_TARGET = $(BINARY)
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
62 # Default build targets.
64 .KEEP_STATE:
66 def: $(DEF_DEPS)
68 all: $(ALL_DEPS)
70 clean: $(CLEAN_DEPS)
72 clobber: $(CLOBBER_DEPS)
74 install: $(INSTALL_DEPS)
76 # Include common targets.
78 include $(UTSBASE)/intel/Makefile.targ