Makefile revision 56deab0745753336570f5c63c3b5fa565eaab8f1
2230N/A#
2230N/A# CDDL HEADER START
2230N/A#
2230N/A# The contents of this file are subject to the terms of the
2230N/A# Common Development and Distribution License (the "License").
2230N/A# You may not use this file except in compliance with the License.
2230N/A#
2230N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2230N/A# or http://www.opensolaris.org/os/licensing.
2230N/A# See the License for the specific language governing permissions
2230N/A# and limitations under the License.
2230N/A#
2230N/A# When distributing Covered Code, include this CDDL HEADER in each
2230N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2230N/A# If applicable, add the following below this CDDL HEADER, with the
2230N/A# fields enclosed by brackets "[]" replaced with your own identifying
2230N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2230N/A#
2230N/A# CDDL HEADER END
2230N/A#
2230N/A
2230N/A#
2230N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2230N/A# Use is subject to license terms.
3215N/A#
6238N/A
2230N/ABASEPLAT = amd64
2230N/A
2230N/A# Object lists are organized into primary (most frequently used code) and
2230N/A# secondary lists (less frequently used code, ie. a.out support).
2230N/A
2230N/AP_COMOBJS= debugdata.o \
2230N/A analyze.o elf.o external.o globals.o \
2230N/A malloc.o paths.o setup.o util.o \
2230N/A dlfcns.o config_elf.o locale.o tsort.o \
2230N/A remove.o move.o tls.o cap.o
2230N/A
2230N/AS_COMOBJS= debug.o audit.o object.o
2230N/A
2230N/AG_MACHOBJS= doreloc.o
2230N/A
2230N/AP_MACHOBJS= amd64_elf.o _setup.o dlamd64getunwind.o
2650N/A
2230N/ACP_MACHOBJS=
2230N/A
2230N/AS_MACHOBJS=
2230N/A
2230N/AP_ASOBJS= boot.o boot_elf.o caller.o
2230N/A
2230N/AS_ASOBJS=
2230N/A
5282N/ACRTSRCS= ../../../../lib/common/amd64
2230N/ACRTI= pics/crti.o
2230N/ACRTN= pics/crtn.o
2230N/ACRTS= $(CRTI) $(CRTN)
2230N/A
2230N/Ainclude $(SRC)/cmd/sgs/rtld/Makefile.com
2230N/Ainclude $(SRC)/lib/Makefile.lib.64
2230N/A
2230N/A# We build 64-bit objects with gcc by default
2230N/AMAPFILE-ORDER = ../common/mapfile-order-devpro
2230N/A$(__GNUC64)MAPFILE-ORDER = ../common/mapfile-order-gcc
2230N/A
2230N/AMAPFILE-PLAT = mapfile-amd64-vers
2230N/A
2230N/A# Add any machine specific flags.
2230N/A
2230N/ACFLAGS += -xregs=no%appl
2230N/AASFLAGS += -D__amd64 -D_ELF64 $(amd64_ASFLAGS)
2230N/AADBGENFLAGS += -mlp64
2230N/AADBGENCFLAGS += -erroff=%all
2230N/AADBSUB= $(ADBSUB64)
2230N/ACPPFLAGS += -D_ELF64
2230N/ALINTFLAGS64 += $(VAR_LINTFLAGS64)
2230N/ASONAME= /lib/amd64/ld.so.1
2230N/A
2230N/ASGSMSGTARG += $(SGSMSGINTEL) $(SGSMSGINTEL64) $(SGSMSG64)
2230N/A
2230N/ALDLIB = -L ../../libld/$(MACH64)
2230N/ARTLDLIB = -L ../../librtld/$(MACH64)
2230N/A
2230N/ACPICLIB = $(CPICLIB64)
2230N/ALDDBGLIBDIR = $(LDDBGLIBDIR64)
2230N/ACONVLIBDIR = $(CONVLIBDIR64)
2230N/A
2230N/AMAPFILES += ../common/mapfile-64-vers
2230N/A
2230N/A.KEEP_STATE:
2230N/A
2230N/Aall: $(RTLD)
2230N/A
2230N/Ainstall: all $(ROOTDYNLIB64)
2230N/A
2230N/Alint: $(LINTOUT64)
2230N/A
2230N/Aadbmacros: adb .WAIT $(ADBSCRIPTS)
2230N/A
2230N/Aadbinstall: adbmacros .WAIT $(ROOTADB64)
2230N/A
2230N/Ainclude $(SRC)/cmd/sgs/rtld/Makefile.targ
2230N/Ainclude ../../Makefile.sub.64
2230N/A