Makefile revision d58fda4376e4bf67072ce2e69f6f47036f9dbb68
1332N/A#
1332N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1332N/A# Use is subject to license terms.
1332N/A#
1332N/A# ident "%Z%%M% %I% %E% SMI"
1332N/A#
1332N/A# uts/sun4u/seattle/platmod/Makefile
1332N/A#
1332N/A# This makefile drives the production of the sun4u seattle platform module.
1332N/A#
1332N/A# sun4u implementation architecture dependent
1332N/A#
1332N/A
1332N/A#
1332N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1332N/A#
1332N/AUTSBASE = ../../..
1332N/A
1332N/A#
1332N/A# Define the module and object file sets.
1332N/A#
1332N/AMODULE = platmod
2367N/AOBJECTS = $(SEATTLE_OBJS:%=$(OBJS_DIR)/%)
1332N/ALINTS = $(SEATTLE_OBJS:%.o=$(LINTS_DIR)/%.ln)
1332N/AROOTMODULE = $(ROOT_SEATTLE_MISC_DIR)/$(MODULE)
1332N/A
1332N/APLAT_DIR = .
1332N/AHERE = ../seattle/platmod
1332N/A
1332N/A#
1332N/A# Include common rules.
1332N/A#
1332N/Ainclude $(UTSBASE)/sun4u/seattle/Makefile.seattle
1332N/A
1332N/A#
1332N/A# Override defaults
1332N/A#
2899N/ACLEANFILES += $(PLATLIB) $(SYM_MOD)
2899N/A
2818N/A#
2899N/A# Define targets
2818N/A#
1332N/AALL_TARGET = $(SYM_MOD)
1332N/ALINT_TARGET = $(MODULE).lint
1332N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1332N/A
3497N/A#
3497N/A# lint pass one enforcement
3497N/A#
3497N/ACFLAGS += $(CCVERBOSE)
3497N/A
2367N/A#
2367N/A# Default build targets.
2367N/A#
2367N/A.KEEP_STATE:
1938N/A
1938N/Adef: $(DEF_DEPS)
1332N/A
2367N/Aall: $(ALL_DEPS)
1332N/A
2367N/Aclean: $(CLEAN_DEPS)
1332N/A
1332N/Aclobber: $(CLOBBER_DEPS)
1332N/A
1332N/Alint: $(LINT_DEPS)
1332N/A
1332N/Amodlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
check:
LINT_LIB_DIR = $(SEATTLE_LINT_LIB_DIR)
$(PLATLIB): $(BINARY)
${LD} -o $(PLATLIB) -G $(BINARY)
$(SYM_MOD): $(UNIX_O) $(PLATLIB)
@echo "resolving symbols against unix.o"
@(cd $(UNIX_DIR); pwd; \
PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/seattle/Makefile.targ