Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
252N/A#
252N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
252N/A# Use is subject to license terms.
252N/A#
252N/A#
252N/A# This makefile drives the production of the ACPI CA services
252N/A# kernel module.
252N/A#
252N/A# intel architecture dependent
252N/A#
252N/A
252N/A#
252N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
252N/A#
252N/AUTSBASE = ../..
252N/A
252N/A#
252N/A# Define the module and object file sets.
252N/A#
252N/AMODULE = acpica
252N/AOBJECTS = $(ACPICA_OBJS:%=$(OBJS_DIR)/%)
252N/ALINTS = $(ACPICA_OBJS:%.o=$(LINTS_DIR)/%.ln)
252N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
252N/AINC_PATH += -I$(UTSBASE)/intel/sys/acpi
252N/AINC_PATH += -I$(UTSBASE)/i86pc
252N/AINC_PATH += -I$(SRC)/common
252N/A
252N/A#
252N/A# Include common rules.
252N/A#
252N/Ainclude $(UTSBASE)/intel/Makefile.intel
252N/A
252N/A#
252N/A# Define targets
252N/A#
252N/AALL_TARGET = $(BINARY) $(CONFMOD)
252N/ALINT_TARGET = $(MODULE).lint
252N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
252N/A
252N/A#
252N/A# Overrides.
252N/A#
252N/ADEBUG_DEFS += $(DEBUG_FLGS)
252N/A
252N/A#
252N/A# lint pass one non-enforcement
252N/A#
252N/ACFLAGS += $(CCVERBOSE) -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT
252N/A
252N/A#
252N/A# 3rd party code is not lint clean
252N/A#
252N/ACERRWARN += -erroff=E_STATEMENT_NOT_REACHED
252N/A
252N/ALINTFLAGS += -errchk=%none
252N/ALINTFLAGS += -errhdr=%none
252N/ALINTFLAGS += -erroff=%all
252N/ALINTFLAGS += -errwarn=%none
252N/A
252N/ACERRWARN += -_gcc=-Wno-unused-variable
252N/ACERRWARN += -_gcc=-Wno-parentheses
252N/ACERRWARN += -_gcc=-Wno-uninitialized
252N/A
#
# Default build targets.
#
.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