Makefile.com revision d29b2c4438482eb00488be49a1f5d6835f455546
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# CDDL HEADER START
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# The contents of this file are subject to the terms of the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Common Development and Distribution License (the "License").
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# You may not use this file except in compliance with the License.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# or http://www.opensolaris.org/os/licensing.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# See the License for the specific language governing permissions
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# and limitations under the License.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# When distributing Covered Code, include this CDDL HEADER in each
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# If applicable, add the following below this CDDL HEADER, with the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# CDDL HEADER END
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Use is subject to license terms.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# ident "%Z%%M% %I% %E% SMI"
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLIBRARY = libconv.a
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS32 = cap32.o dynamic32.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync elf32.o globals32.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync phdr32.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate_i38632.o relocate_amd6432.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate_sparc32.o sections32.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync symbols32.o symbols_sparc32.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync syminfo32.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS64 = cap64.o dynamic64.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync elf64.o globals64.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync phdr64.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate_i38664.o relocate_amd6464.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate_sparc64.o sections64.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync symbols64.o symbols_sparc64.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync syminfo64.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS= arch.o config.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync data.o deftag.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync demangle.o dl.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync dwarf_ehe.o group.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync lddstub.o segments.o \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync version.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS_NOMSG = tokens.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS_NOMSG32 = \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate32.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMOBJS_NOMSG64 = \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync relocate64.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncELFCAP_OBJS= elfcap.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncASOBJS= vernote.o
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncOBJECTS = $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(COMOBJS_NOMSG) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(COMOBJS_NOMSG32) $(COMOBJS_NOMSG64) $(ELFCAP_OBJS) $(ASOBJS)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncELFCAP= $(SRC)/common/elfcap
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# This library is unusual since it's a static archive of PIC objects.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Since static archives should never contain CTF data (regardless of
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# whether the object code is position-independent), we disable CTF.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncNOCTFOBJS = $(OBJECTS)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCTFMERGE_LIB = :
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncinclude $(SRC)/lib/Makefile.lib
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncinclude $(SRC)/cmd/sgs/Makefile.com
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCTFCONVERT_O=
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncONLDREADME= ../../packages/common/SUNWonld-README
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncPICS= $(OBJECTS:%=pics/%)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCPPFLAGS += -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync -I$(SRC)/common/sgsrtcid $(VAR_LIBCONV_CPPFLAGS)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncARFLAGS= cr
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncAS_CPPFLAGS= -P -D_ASM $(CPPFLAGS)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncBLTDATA= $(COMOBJS:%.o=%_msg.h) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(COMOBJS32:%.o=%_msg.h) $(COMOBJS64:%.o=%_msg.h)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncSRCS= ../common/llib-lconv
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLINTSRCS= $(COMOBJS:%.o=../common/%.c) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(COMOBJS_NOMSG:%.o=../common/%.c) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLINTSRCS32 = $(COMOBJS32:%32.o=../common/%.c)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLINTSRCS64 = $(COMOBJS64:%64.o=../common/%.c)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncVERNOTE_DEBUG= -D
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync$(INTERNAL_RELEASE_BUILD)VERNOTE_DEBUG=
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncSGSMSGTARG= $(COMOBJS:%.o=../common/%.msg) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(COMOBJS32:%32.o=../common/%.msg) \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync $(COMOBJS64:%64.o=../common/%.msg)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLINTFLAGS += -u
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncLINTFLAGS64 += -u
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCLEANFILES += $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCLOBBERFILES += $(LINTLIBS)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync