Makefile revision e127a3e717f822eb855235fa3bd08235b2cf533d
0N/A#
1668N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A
0N/A#
0N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
1879N/A#
1879N/A# ident "%Z%%M% %I% %E% SMI"
1879N/A#
1879N/A
1879N/A# Object lists are organized into primary (most frequently used code) and
1879N/A# secondary lists (less frequently used code, ie. a.out support).
0N/A
0N/AP_COMOBJS= debugdata.o \
0N/A analyze.o elf.o external.o globals.o \
0N/A malloc.o paths.o setup.o util.o \
0N/A dlfcns.o config_elf.o locale.o tsort.o \
0N/A getcwd.o remove.o move.o tls.o \
0N/A cap.o
0N/A
0N/AS_COMOBJS= debug.o audit.o object.o
0N/A
0N/AG_MACHOBJS= doreloc.o
0N/A
0N/AP_MACHOBJS= sparc_elf.o _setup.o
0N/A
0N/ACP_MACHOBJS= common_sparc.o
0N/A
0N/AS_MACHOBJS=
0N/A
0N/AP_ASOBJS= boot.o boot_elf.o caller.o zero.o
0N/A
0N/AS_ASOBJS=
0N/A
0N/ACRTSRCS= ../../../../lib/common/sparcv9
0N/ACRTI= pics/crti.o
0N/ACRTN= pics/crtn.o
0N/ACRTS= $(CRTI) $(CRTN)
0N/A
0N/ACHKSRCS= $(SRCBASE)/uts/common/krtld/reloc.h
0N/A
0N/ABASEPLAT = sparc
0N/A
0N/Ainclude $(SRC)/Makefile.master
0N/A
0N/A# We build sparc objects with cc by default
0N/AMAPFILE-ORDER = ../common/mapfile-order-devpro
0N/A$(__GNUC64)MAPFILE-ORDER = ../common/mapfile-order-gcc
0N/A
0N/Ainclude $(SRC)/cmd/sgs/rtld/Makefile.com
1410N/Ainclude $(SRC)/lib/Makefile.lib.64
1410N/A
1410N/A# Add any machine specific flags.
0N/A
1668N/ACPPFLAGS += -I../../../../uts/sparc/krtld
1668N/ACFLAGS += -xregs=no%appl
1668N/AASFLAGS += -s -K pic -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)
0N/AADBGENFLAGS += -mlp64
0N/AADBGENCFLAGS += -erroff=%all
0N/AADBSUB= $(ADBSUB64)
0N/ACPPFLAGS += -D_ELF64
0N/ALINTFLAGS64 += $(VAR_LINTFLAGS64)
0N/ASONAME= $(VAR_RTLD_V9_SONAME)
0N/A
0N/AMAPFILES += ../common/mapfile-64-vers
0N/A
0N/ASGSMSGTARG += $(SGSMSGSPARC) $(SGSMSGSPARC64) $(SGSMSG64)
0N/A
0N/ALDLIB = -L ../../libld/$(MACH64)
0N/ARTLDLIB = -L ../../librtld/$(MACH64)
0N/A
0N/ACPICLIB = $(CPICLIB64)
0N/ALDDBGLIBDIR = $(LDDBGLIBDIR64)
0N/ACONVLIBDIR = $(CONVLIBDIR64)
0N/A
0N/A
0N/A.KEEP_STATE:
0N/A
0N/Aall: $(RTLD)
0N/A
0N/Ainstall: all $(ROOTDYNLIB64)
0N/A
0N/Alint: $(LINTOUT64)
0N/A
0N/Aadbmacros: adb .WAIT $(ADBSCRIPTS)
4332N/A
4332N/Aadbinstall: adbmacros .WAIT $(ROOTADB64)
0N/A
0N/Apics/%.o: ../sparc/%.c
0N/A $(COMPILE.c) -o $@ $< $(WARNFLAGS)
0N/A $(POST_PROCESS_O)
0N/A
0N/Ainclude $(SRC)/cmd/sgs/rtld/Makefile.targ
0N/Ainclude ../../Makefile.sub.64
0N/A