xref: /titanic_41/usr/src/cmd/sgs/size/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
11dd08564Sab196087#
21dd08564Sab196087# CDDL HEADER START
31dd08564Sab196087#
41dd08564Sab196087# The contents of this file are subject to the terms of the
51dd08564Sab196087# Common Development and Distribution License (the "License").
61dd08564Sab196087# You may not use this file except in compliance with the License.
71dd08564Sab196087#
81dd08564Sab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91dd08564Sab196087# or http://www.opensolaris.org/os/licensing.
101dd08564Sab196087# See the License for the specific language governing permissions
111dd08564Sab196087# and limitations under the License.
121dd08564Sab196087#
131dd08564Sab196087# When distributing Covered Code, include this CDDL HEADER in each
141dd08564Sab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151dd08564Sab196087# If applicable, add the following below this CDDL HEADER, with the
161dd08564Sab196087# fields enclosed by brackets "[]" replaced with your own identifying
171dd08564Sab196087# information: Portions Copyright [yyyy] [name of copyright owner]
181dd08564Sab196087#
191dd08564Sab196087# CDDL HEADER END
201dd08564Sab196087#
211dd08564Sab196087
221dd08564Sab196087#
231dd08564Sab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
241dd08564Sab196087# Use is subject to license terms.
251dd08564Sab196087#
261dd08564Sab196087
271dd08564Sab196087PROG=		size
281dd08564Sab196087
291dd08564Sab196087include 	$(SRC)/cmd/Makefile.cmd
301dd08564Sab196087include 	$(SRC)/cmd/sgs/Makefile.com
311dd08564Sab196087
321dd08564Sab196087COMOBJS=	main.o process.o fcns.o
331dd08564Sab196087
341dd08564Sab196087SRCS=		$(COMOBJS:%.o=../common/%.c)
351dd08564Sab196087
36*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
37*7014882cSRichard Lowe
381dd08564Sab196087OBJS =		$(COMOBJS)
391dd08564Sab196087.PARALLEL:	$(OBJS)
401dd08564Sab196087
411dd08564Sab196087LLDFLAGS =	'$(LDPASS)-R$$ORIGIN/../../lib'
421dd08564Sab196087LLDFLAGS64 =	'$(LDPASS)-R$$ORIGIN/../../../lib/$(MACH64)'
431dd08564Sab196087LDFLAGS +=	$(LLDFLAGS)
441dd08564Sab196087
451dd08564Sab196087LDLIBS +=	$(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
461dd08564Sab196087
471dd08564Sab196087LINTSRCS =	$(SRCS)
481dd08564Sab196087
491dd08564Sab196087CLEANFILES +=	$(OBJS) $(LINTOUTS)
50