Makefile.com revision 3edf445cce90224c4218c6987d6709e8481cae58
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# CDDL HEADER START
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# The contents of this file are subject to the terms of the
e97130129ddee9f8432c6fff2dac3c6765280066tsien# Common Development and Distribution License (the "License").
e97130129ddee9f8432c6fff2dac3c6765280066tsien# You may not use this file except in compliance with the License.
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e97130129ddee9f8432c6fff2dac3c6765280066tsien# or http://www.opensolaris.org/os/licensing.
e97130129ddee9f8432c6fff2dac3c6765280066tsien# See the License for the specific language governing permissions
e97130129ddee9f8432c6fff2dac3c6765280066tsien# and limitations under the License.
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# When distributing Covered Code, include this CDDL HEADER in each
e97130129ddee9f8432c6fff2dac3c6765280066tsien# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e97130129ddee9f8432c6fff2dac3c6765280066tsien# If applicable, add the following below this CDDL HEADER, with the
e97130129ddee9f8432c6fff2dac3c6765280066tsien# fields enclosed by brackets "[]" replaced with your own identifying
e97130129ddee9f8432c6fff2dac3c6765280066tsien# information: Portions Copyright [yyyy] [name of copyright owner]
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# CDDL HEADER END
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien
9f69d791af115871f09fc0bc61acef99da23150btd#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e97130129ddee9f8432c6fff2dac3c6765280066tsien# Use is subject to license terms.
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
e97130129ddee9f8432c6fff2dac3c6765280066tsien# ident "%Z%%M% %I% %E% SMI"
e97130129ddee9f8432c6fff2dac3c6765280066tsien#
13faa91230bde46da937bf33010b9accc5bdeb59sd
e97130129ddee9f8432c6fff2dac3c6765280066tsienLIBRARY = libconv.a
19d61fc7991644175873937566d932d8cf52912atsien
13faa91230bde46da937bf33010b9accc5bdeb59sdCOMOBJS32 = cap32.o dynamic32.o \
13faa91230bde46da937bf33010b9accc5bdeb59sd elf32.o globals32.o \
13faa91230bde46da937bf33010b9accc5bdeb59sd phdr32.o \
70818f5837509317d1f5dac4d82d7b5a2d547c29tsien relocate_i38632.o relocate_amd6432.o \
70818f5837509317d1f5dac4d82d7b5a2d547c29tsien relocate_sparc32.o sections32.o \
70818f5837509317d1f5dac4d82d7b5a2d547c29tsien symbols32.o symbols_sparc32.o \
13faa91230bde46da937bf33010b9accc5bdeb59sd syminfo32.o
3f1e69bef33050bee99ea1e9992af13fc467281fCheng Sean Ye
e97130129ddee9f8432c6fff2dac3c6765280066tsienCOMOBJS64 = cap64.o dynamic64.o \
e97130129ddee9f8432c6fff2dac3c6765280066tsien elf64.o globals64.o \
e97130129ddee9f8432c6fff2dac3c6765280066tsien phdr64.o \
e97130129ddee9f8432c6fff2dac3c6765280066tsien relocate_i38664.o relocate_amd6464.o \
9f69d791af115871f09fc0bc61acef99da23150btd relocate_sparc64.o sections64.o \
e97130129ddee9f8432c6fff2dac3c6765280066tsien symbols64.o symbols_sparc64.o \
e97130129ddee9f8432c6fff2dac3c6765280066tsien syminfo64.o
e97130129ddee9f8432c6fff2dac3c6765280066tsien
9f69d791af115871f09fc0bc61acef99da23150btdCOMOBJS= arch.o config.o \
9f69d791af115871f09fc0bc61acef99da23150btd data.o deftag.o \
9f69d791af115871f09fc0bc61acef99da23150btd demangle.o dl.o \
9f69d791af115871f09fc0bc61acef99da23150btd dwarf_ehe.o group.o \
9f69d791af115871f09fc0bc61acef99da23150btd lddstub.o segments.o \
9f69d791af115871f09fc0bc61acef99da23150btd version.o
9f69d791af115871f09fc0bc61acef99da23150btd
9f69d791af115871f09fc0bc61acef99da23150btdCOMOBJS_NOMSG = tokens.o
9f69d791af115871f09fc0bc61acef99da23150btd
9f69d791af115871f09fc0bc61acef99da23150btdCOMOBJS_NOMSG32 = \
9f69d791af115871f09fc0bc61acef99da23150btd relocate32.o
9f69d791af115871f09fc0bc61acef99da23150btdCOMOBJS_NOMSG64 = \
9f69d791af115871f09fc0bc61acef99da23150btd relocate64.o
9f69d791af115871f09fc0bc61acef99da23150btd
9f69d791af115871f09fc0bc61acef99da23150btdELFCAP_OBJS= elfcap.o
9f69d791af115871f09fc0bc61acef99da23150btd
9f69d791af115871f09fc0bc61acef99da23150btdASOBJS= vernote.o
9f69d791af115871f09fc0bc61acef99da23150btd
e97130129ddee9f8432c6fff2dac3c6765280066tsienOBJECTS = $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(COMOBJS_NOMSG) \
9f69d791af115871f09fc0bc61acef99da23150btd $(COMOBJS_NOMSG32) $(COMOBJS_NOMSG64) $(ELFCAP_OBJS) $(ASOBJS)
e97130129ddee9f8432c6fff2dac3c6765280066tsien
e97130129ddee9f8432c6fff2dac3c6765280066tsienELFCAP= $(SRC)/common/elfcap
fbd1c0dae6f4a2ccc2ce0527c7f19d3dd5ea90b8sd
13faa91230bde46da937bf33010b9accc5bdeb59sd#
13faa91230bde46da937bf33010b9accc5bdeb59sd# This library is unusual since it's a static archive of PIC objects.
13faa91230bde46da937bf33010b9accc5bdeb59sd# Since static archives should never contain CTF data (regardless of
13faa91230bde46da937bf33010b9accc5bdeb59sd# whether the object code is position-independent), we disable CTF.
13faa91230bde46da937bf33010b9accc5bdeb59sd#
13faa91230bde46da937bf33010b9accc5bdeb59sdNOCTFOBJS = $(OBJECTS)
13faa91230bde46da937bf33010b9accc5bdeb59sdCTFMERGE_LIB = :
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdinclude $(SRC)/lib/Makefile.lib
13faa91230bde46da937bf33010b9accc5bdeb59sdinclude $(SRC)/cmd/sgs/Makefile.com
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdCTFCONVERT_O=
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdREADME_REVISION=../../packages/common/readme_revision
13faa91230bde46da937bf33010b9accc5bdeb59sdONLDREADME= ../../packages/common/SUNWonld-README
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdPICS= $(OBJECTS:%=pics/%)
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdCPPFLAGS += -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
13faa91230bde46da937bf33010b9accc5bdeb59sd -I$(SRC)/common/sgsrtcid $(VAR_LIBCONV_CPPFLAGS)
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdARFLAGS= cr
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdAS_CPPFLAGS= -P -D_ASM $(CPPFLAGS)
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdBLTDATA= $(COMOBJS:%.o=%_msg.h) \
13faa91230bde46da937bf33010b9accc5bdeb59sd $(COMOBJS32:%.o=%_msg.h) $(COMOBJS64:%.o=%_msg.h)
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdSRCS= ../common/llib-lconv
13faa91230bde46da937bf33010b9accc5bdeb59sdLINTSRCS= $(COMOBJS:%.o=../common/%.c) \
13faa91230bde46da937bf33010b9accc5bdeb59sd $(COMOBJS_NOMSG:%.o=../common/%.c) \
13faa91230bde46da937bf33010b9accc5bdeb59sd $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
fbd1c0dae6f4a2ccc2ce0527c7f19d3dd5ea90b8sdLINTSRCS32 = $(COMOBJS32:%32.o=../common/%.c)
13faa91230bde46da937bf33010b9accc5bdeb59sdLINTSRCS64 = $(COMOBJS64:%64.o=../common/%.c)
13faa91230bde46da937bf33010b9accc5bdeb59sd
fbd1c0dae6f4a2ccc2ce0527c7f19d3dd5ea90b8sd# INTERNAL_RELEASE_BUILD is defined by standard full builds (nightly),
13faa91230bde46da937bf33010b9accc5bdeb59sd# but not for sgs builds we do for development. The result of these
13faa91230bde46da937bf33010b9accc5bdeb59sd# two lines is that dev builds pass -d to the readme_revision script,
13faa91230bde46da937bf33010b9accc5bdeb59sd# generating a more detailed version string for the linker components
13faa91230bde46da937bf33010b9accc5bdeb59sd# that includes the workspace, user, CR, and date. Official builds get
13faa91230bde46da937bf33010b9accc5bdeb59sd# a simpler uncluttered version string.
13faa91230bde46da937bf33010b9accc5bdeb59sdVERNOTE_DEBUG= -d
13faa91230bde46da937bf33010b9accc5bdeb59sd$(INTERNAL_RELEASE_BUILD)VERNOTE_DEBUG=
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdSGSMSGTARG= $(COMOBJS:%.o=../common/%.msg) \
13faa91230bde46da937bf33010b9accc5bdeb59sd $(COMOBJS32:%32.o=../common/%.msg) \
13faa91230bde46da937bf33010b9accc5bdeb59sd $(COMOBJS64:%64.o=../common/%.msg)
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdLINTFLAGS += -u
13faa91230bde46da937bf33010b9accc5bdeb59sdLINTFLAGS64 += -u
13faa91230bde46da937bf33010b9accc5bdeb59sd
13faa91230bde46da937bf33010b9accc5bdeb59sdCLEANFILES += $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
13faa91230bde46da937bf33010b9accc5bdeb59sdCLOBBERFILES += $(LINTLIBS)
13faa91230bde46da937bf33010b9accc5bdeb59sd