10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 51618Srie# Common Development and Distribution License (the "License"). 61618Srie# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 21*11827SRod.Evans@Sun.COM 220Sstevel@tonic-gate# 2311734SAli.Bahrami@Sun.COM# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 240Sstevel@tonic-gate# Use is subject to license terms. 250Sstevel@tonic-gate# 260Sstevel@tonic-gate 270Sstevel@tonic-gateLIBRARY= libldstab.a 280Sstevel@tonic-gateVERS= .1 290Sstevel@tonic-gate 300Sstevel@tonic-gateCOMOBJS= stab.o 310Sstevel@tonic-gateDUPOBJS+= 320Sstevel@tonic-gate 338324SAli.Bahrami@Sun.COMOBJECTS= $(COMOBJS) $(DUPOBJS) 340Sstevel@tonic-gate 350Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 360Sstevel@tonic-gateinclude $(SRC)/cmd/sgs/Makefile.com 370Sstevel@tonic-gate 382522SrafSRCDIR = ../common 390Sstevel@tonic-gateSRCBASE= ../../../.. 400Sstevel@tonic-gate 4111734SAli.Bahrami@Sun.COMCPPFLAGS += -I$(ELFCAP) 4211734SAli.Bahrami@Sun.COM 431618SrieLDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf -lc 44*11827SRod.Evans@Sun.COMDYNFLAGS += $(VERSREF) $(CC_USE_PROTO) 450Sstevel@tonic-gate 460Sstevel@tonic-gateLINTFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2 \ 470Sstevel@tonic-gate -erroff=E_NAME_DEF_NOT_USED2 \ 480Sstevel@tonic-gate -erroff=E_NAME_USED_NOT_DEF2 490Sstevel@tonic-gateLINTFLAGS64 += -erroff=E_NAME_DECL_NOT_USED_DEF2 \ 500Sstevel@tonic-gate -erroff=E_NAME_DEF_NOT_USED2 \ 510Sstevel@tonic-gate -erroff=E_NAME_USED_NOT_DEF2 520Sstevel@tonic-gate 538324SAli.Bahrami@Sun.COMSRCS= $(COMOBJS:%.o=../common/%.c) 540Sstevel@tonic-gateLINTSRCS= $(SRCS) 550Sstevel@tonic-gate 568324SAli.Bahrami@Sun.COMCLEANFILES += $(LINTOUTS) 570Sstevel@tonic-gateCLOBBERFILES += $(DYNLIB) 580Sstevel@tonic-gate 590Sstevel@tonic-gateROOTDYNLIB= $(DYNLIB:%=$(ROOTLIBDIR)/%) 60