Makefile.com revision 6830:296b2ea3c777
19517SBill.Taylor@Sun.COM# 29517SBill.Taylor@Sun.COM# CDDL HEADER START 39517SBill.Taylor@Sun.COM# 49517SBill.Taylor@Sun.COM# The contents of this file are subject to the terms of the 59517SBill.Taylor@Sun.COM# Common Development and Distribution License (the "License"). 69517SBill.Taylor@Sun.COM# You may not use this file except in compliance with the License. 79517SBill.Taylor@Sun.COM# 89517SBill.Taylor@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 99517SBill.Taylor@Sun.COM# or http://www.opensolaris.org/os/licensing. 109517SBill.Taylor@Sun.COM# See the License for the specific language governing permissions 119517SBill.Taylor@Sun.COM# and limitations under the License. 129517SBill.Taylor@Sun.COM# 139517SBill.Taylor@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 149517SBill.Taylor@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159517SBill.Taylor@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 169517SBill.Taylor@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 179517SBill.Taylor@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 189517SBill.Taylor@Sun.COM# 199517SBill.Taylor@Sun.COM# CDDL HEADER END 209517SBill.Taylor@Sun.COM# 219517SBill.Taylor@Sun.COM# 229517SBill.Taylor@Sun.COM# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2312965SWilliam.Taylor@Oracle.COM# Use is subject to license terms. 249517SBill.Taylor@Sun.COM# 259517SBill.Taylor@Sun.COM# ident "%Z%%M% %I% %E% SMI" 269517SBill.Taylor@Sun.COM# 279517SBill.Taylor@Sun.COM 289517SBill.Taylor@Sun.COMLIBRARY= librtld_db.a 299517SBill.Taylor@Sun.COMVERS= .1 309517SBill.Taylor@Sun.COM 319517SBill.Taylor@Sun.COMCOMOBJS= rtld_db.o rd_elf.o 329517SBill.Taylor@Sun.COMBLTOBJ= msg.o 339517SBill.Taylor@Sun.COM 349517SBill.Taylor@Sun.COMOBJECTS = $(BLTOBJ) $(COMOBJS) $(COMOBJS64) $(PLTOBJS) 359517SBill.Taylor@Sun.COM 369517SBill.Taylor@Sun.COMinclude $(SRC)/lib/Makefile.lib 379517SBill.Taylor@Sun.COMinclude $(SRC)/cmd/sgs/Makefile.com 389517SBill.Taylor@Sun.COM 399517SBill.Taylor@Sun.COMSRCDIR = ../common 409517SBill.Taylor@Sun.COM 419517SBill.Taylor@Sun.COMCPPFLAGS += -I$(SRCBASE)/lib/libc/inc 429517SBill.Taylor@Sun.COMDYNFLAGS += $(VERSREF) 439517SBill.Taylor@Sun.COMLDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lc 449517SBill.Taylor@Sun.COM 459517SBill.Taylor@Sun.COMLINTFLAGS += -u -erroff=E_NAME_DECL_NOT_USED_DEF2 469517SBill.Taylor@Sun.COMLINTFLAGS64 += -u -erroff=E_NAME_DECL_NOT_USED_DEF2 479517SBill.Taylor@Sun.COM 489517SBill.Taylor@Sun.COMBLTDEFS= msg.h 4911972SBill.Taylor@Sun.COMBLTDATA= msg.c 509517SBill.Taylor@Sun.COM 519517SBill.Taylor@Sun.COMBLTFILES= $(BLTDEFS) $(BLTDATA) 529517SBill.Taylor@Sun.COM 539517SBill.Taylor@Sun.COMSGSMSGCOM= ../common/librtld_db.msg 549517SBill.Taylor@Sun.COMSGSMSGINTEL= ../common/librtld_db.intel.msg 559517SBill.Taylor@Sun.COMSGSMSGSPARCV9= ../common/librtld_db.sparcv9.msg 5611972SBill.Taylor@Sun.COMSGSMSGTARG= $(SGSMSGCOM) 5711972SBill.Taylor@Sun.COMSGSMSGALL= $(SGSMSGCOM) 5811972SBill.Taylor@Sun.COMSGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) 5911972SBill.Taylor@Sun.COM 6011972SBill.Taylor@Sun.COMSRCS= ../common/llib-lrtld_db 619517SBill.Taylor@Sun.COMLINTSRCS= $(COMOBJS:%.o=../common/%.c) $(PLTSRCS) $(BLTDATA) 629517SBill.Taylor@Sun.COM 639517SBill.Taylor@Sun.COMCLEANFILES += $(BLTFILES) $(LINTOUTS) 649517SBill.Taylor@Sun.COMCLOBBERFILES += $(DYNLIB) $(LINTLIB) 659517SBill.Taylor@Sun.COM 669517SBill.Taylor@Sun.COMROOTFS_DYNLIB= $(DYNLIB:%=$(ROOTFS_LIBDIR)/%) 679517SBill.Taylor@Sun.COMROOTFS_LINTLIB= $(LINTLIB:%=$(ROOTFS_LIBDIR)/%) 689517SBill.Taylor@Sun.COMROOTFS_LINKS= $(ROOTFS_LIBDIR)/$(LIBLINKS) 699517SBill.Taylor@Sun.COM 709517SBill.Taylor@Sun.COMROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%) 719517SBill.Taylor@Sun.COMROOTFS_LINTLIB64= $(LINTLIB:%=$(ROOTFS_LIBDIR64)/%) 729517SBill.Taylor@Sun.COMROOTFS_LINKS64= $(ROOTFS_LIBDIR64)/$(LIBLINKS) 739517SBill.Taylor@Sun.COM 749517SBill.Taylor@Sun.COM$(ROOTFS_DYNLIB) := FILEMODE= 755 759517SBill.Taylor@Sun.COM$(ROOTFS_DYNLIB64) := FILEMODE= 755 769517SBill.Taylor@Sun.COM 779517SBill.Taylor@Sun.COMpics/rd_elf.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED 789517SBill.Taylor@Sun.COMpics/rd_elf64.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED 7911972SBill.Taylor@Sun.COM 8011972SBill.Taylor@Sun.COM$(VAR_POUND_1)$(ROOTFS_LIBDIR)/$(LINTLIBSRC): ../common/$(LINTLIBSRC) 819517SBill.Taylor@Sun.COM $(VAR_POUND_1)$(INS.file) ../common/$(LINTLIBSRC) 829517SBill.Taylor@Sun.COM