Makefile revision 6716431ba7de213d5c318e58dc24c8a36da9b068
883N/A#
883N/A# This file and its contents are supplied under the terms of the
883N/A# Common Development and Distribution License ("CDDL"), version 1.0.
883N/A# You may only use this file in accordance with the terms of version
883N/A# 1.0 of the CDDL.
883N/A#
883N/A# A full copy of the text of the CDDL should have accompanied this
883N/A# source. A copy of the CDDL is also available via the Internet at
883N/A# http://www.illumos.org/license/CDDL.
883N/A#
883N/A
883N/A#
883N/A# Copyright (c) 2014 Joyent, Inc. All rights reserved.
883N/A#
883N/A
883N/A#
883N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
883N/A#
883N/AUTSBASE = ../..
883N/A
883N/A#
883N/A# Define the module and object file sets.
883N/A#
883N/AMODULE = upf
883N/AOBJECTS = $(UPF_OBJS:%=$(OBJS_DIR)/%)
883N/ALINTS = $(UPF_OBJS:%.o=$(LINTS_DIR)/%.ln)
883N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
883N/A
883N/A#
883N/A# Include common rules.
883N/A#
883N/Ainclude $(UTSBASE)/intel/Makefile.intel
883N/A
883N/ACPPFLAGS += -I$(UTSBASE)/common/io/usbgem
883N/ACPPFLAGS += -DVERSION=\"2.0.1\"
883N/ACPPFLAGS += -DUSBGEM_CONFIG_GLDv3
883N/ALDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
883N/A
883N/ACERRWARN += -_gcc=-Wno-type-limits
883N/ACERRWARN += -_gcc=-Wno-unused-function
883N/ACERRWARN += -_gcc=-Wno-unused-variable
883N/ACERRWARN += -_gcc=-Wno-unused-label
883N/A
883N/ALINTTAGS += -erroff=E_FUNC_VAR_UNUSED
883N/ALINTTAGS += -erroff=E_FUNC_ARG_UNUSED
883N/ALINTTAGS += -erroff=E_STATIC_UNUSED
883N/ALINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
883N/ALINTTAGS += -erroff=E_FUNC_SET_NOT_USED
883N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
883N/A
883N/A#
883N/A# Define targets
883N/A#
883N/AALL_TARGET = $(BINARY)
883N/ALINT_TARGET = $(MODULE).lint
883N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
883N/A
883N/A#
883N/A# Default build targets.
883N/A#
887N/A.KEEP_STATE:
887N/A
887N/Adef: $(DEF_DEPS)
913N/A
913N/Aall: $(ALL_DEPS)
913N/A
913N/Aclean: $(CLEAN_DEPS)
883N/A
883N/Aclobber: $(CLOBBER_DEPS)
883N/A
883N/Alint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ