Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This file and its contents are supplied under the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License ("CDDL"), version 1.0.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You may only use this file in accordance with the terms of version
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# 1.0 of the CDDL.
0662ed52e814f8f08ef0e09956413a792584eddffuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# A full copy of the text of the CDDL should have accompanied this
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# source. A copy of the CDDL is also available via the Internet at
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# http://www.illumos.org/license/CDDL.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Path to the base of the uts directory tree (usually /usr/src/uts).
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholesUTSBASE = ../..
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# Define the module and object file sets.
4032033aadf5283be53fd9b240e335f7e69ba739bnicholes#
ead6a6e1c000b755e663234c889e8dd542a598a5bnicholesMODULE = efe
8495845a800cf09321436aed996188c9a92cd647bnicholesOBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%)
084aee5bd4093a1b5e9b51d1ccfafc3948fa4109bnicholesLINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
8bc962eeb9780236100c09234bbed6bba903ddf3fuankg#
8bc962eeb9780236100c09234bbed6bba903ddf3fuankg# Include common rules.
8bc962eeb9780236100c09234bbed6bba903ddf3fuankg#
8bc962eeb9780236100c09234bbed6bba903ddf3fuankginclude $(UTSBASE)/intel/Makefile.intel
8bc962eeb9780236100c09234bbed6bba903ddf3fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Define targets.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesALL_TARGET = $(BINARY)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLINT_TARGET = $(MODULE).lint
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Driver flags.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgCFLAGS += $(CCVERBOSE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLDFLAGS += -dy -N misc/mac -N misc/mii
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
00d1c0c914426a97022d8205a875c48b211001c2fuankgCERRWARN += -_gcc=-Wno-uninitialized
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Default build targets.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes.KEEP_STATE:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesdef: $(DEF_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesall: $(ALL_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankgclean: $(CLEAN_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ