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