Makefile revision 89b43686db1fe9681d80a7cf5662730cb9378cae
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
1068N/A# Common Development and Distribution License, Version 1.0 only
486N/A# (the "License"). You may not use this file except in compliance
486N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/sparc/aoutexec/Makefile
919N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
486N/A# Use is subject to license terms.
486N/A# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
486N/A#
486N/A# This makefile drives the production of the aoutexec exec kernel
493N/A# module (binary compatibility).
486N/A#
970N/A# sparc architecture dependent
970N/A#
970N/A
970N/A#
486N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1068N/A#
486N/AUTSBASE = ../..
911N/A
1068N/A#
1068N/A# Define the module and object file sets.
911N/A#
486N/AMODULE = aoutexec
486N/AOBJECTS = $(AOUTEXEC_OBJS:%=$(OBJS_DIR)/%)
486N/ALINTS = $(AOUTEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
486N/AROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
486N/A
493N/A#
486N/A# Include common rules.
970N/A#
970N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
970N/A
486N/A#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Define dependency on elfexec
#
LDFLAGS += -dy -N exec/elfexec
#
# 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)/sparc/Makefile.targ