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