Makefile.com revision f808c858fa61e7769218966759510a8b1190dfcf
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
3fb517f786391b507780c78aabb8d98bfea9efe9James Moore# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
e4dcf6b386220918d8a355e951a2d7e8a73e5a6dTony Nguyen# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# ident "%Z%%M% %I% %E% SMI"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBRARY= ldprof.a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteVERS= .1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMOBJS= profile.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBLTOBJ= msg.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOBJECTS= $(COMOBJS) $(BLTOBJ)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../../../lib/Makefile.lib
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../Makefile.com
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteZIGNORE=
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTLIBDIR= $(ROOT)/usr/lib/link_audit
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSGSPROTO= ../../proto/$(MACH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteMAPFILES = mapfile-vers
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Building SUNWonld results in a call to the `package' target. Requirements
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# needed to run this application on older releases are established:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# dlopen/dlclose requires libdl.so.1 prior to 5.10
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDLLIB = $(VAR_DL_LIB)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortepackage := DLLIB = $(VAR_PKG_DL_LIB)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDYNFLAGS += $(USE_PROTO)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCPPFLAGS= -I. -I../common -I../../include \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -I../../rtld/common \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -I../../include/$(MACH) \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -I$(SRCBASE)/lib/libc/inc \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -I$(SRCBASE)/uts/common/krtld \
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer -I$(SRC)/common/sgsrtcid \
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer -I$(SRCBASE)/uts/$(ARCH)/sys \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(CPPFLAGS.master)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCFLAGS += $(C_PICFLAGS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLDLIBS += -lmapmalloc -lc $(DLLIB)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLINTFLAGS += -u -erroff=E_NAME_DECL_NOT_USED_DEF2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLINTFLAGS64 += -u -erroff=E_NAME_DECL_NOT_USED_DEF2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBLTDEFS= msg.h
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBLTDATA= msg.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBLTMESG= $(SGSMSGDIR)/ldprof
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBLTFILES= $(BLTDEFS) $(BLTDATA) $(BLTMESG)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSGSMSGCOM= ../common/ldprof.msg
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSGSMSGTARG= $(SGSMSGCOM)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSGSMSGALL= $(SGSMSGCOM)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n ldprof_msg
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSRCS= $(COMOBJS:%.o=../common/%.c) $(BLTDATA)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLINTSRCS= $(SRCS) ../common/lintsup.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLEANFILES += $(LINTOUTS) $(BLTFILES)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLOBBERFILES += $(DYNLIB) $(LINTLIB)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTDYNLIB= $(DYNLIB:%=$(ROOTLIBDIR)/%)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte