xref: /illumos-gate/usr/src/cmd/sgs/size/Makefile.com (revision 590c4b3e)
11dd08564Sab#
21dd08564Sab# CDDL HEADER START
31dd08564Sab#
41dd08564Sab# The contents of this file are subject to the terms of the
51dd08564Sab# Common Development and Distribution License (the "License").
61dd08564Sab# You may not use this file except in compliance with the License.
71dd08564Sab#
81dd08564Sab# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91dd08564Sab# or http://www.opensolaris.org/os/licensing.
101dd08564Sab# See the License for the specific language governing permissions
111dd08564Sab# and limitations under the License.
121dd08564Sab#
131dd08564Sab# When distributing Covered Code, include this CDDL HEADER in each
141dd08564Sab# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151dd08564Sab# If applicable, add the following below this CDDL HEADER, with the
161dd08564Sab# fields enclosed by brackets "[]" replaced with your own identifying
171dd08564Sab# information: Portions Copyright [yyyy] [name of copyright owner]
181dd08564Sab#
191dd08564Sab# CDDL HEADER END
201dd08564Sab#
211dd08564Sab
221dd08564Sab#
231dd08564Sab# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
241dd08564Sab# Use is subject to license terms.
251dd08564Sab#
26cf9a187cSAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27cf9a187cSAndy Fiddaman#
281dd08564Sab
291dd08564SabPROG=		size
301dd08564Sab
31cf9a187cSAndy Fiddamaninclude		$(SRC)/cmd/Makefile.cmd
32cf9a187cSAndy Fiddamaninclude		$(SRC)/cmd/sgs/Makefile.com
331dd08564Sab
341dd08564SabCOMOBJS=	main.o process.o fcns.o
351dd08564Sab
361dd08564SabSRCS=		$(COMOBJS:%.o=../common/%.c)
371dd08564Sab
387014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
397014882cSRichard Lowe
401dd08564SabOBJS =		$(COMOBJS)
411dd08564Sab.PARALLEL:	$(OBJS)
421dd08564Sab
43*590c4b3eSRichard LoweRPATH =	'-R$$ORIGIN/../../lib/$(MACH64)'
44*590c4b3eSRichard LoweLDFLAGS +=	$(RPATH)
451dd08564Sab
46*590c4b3eSRichard LoweLDLIBS +=	$(CONVLIBDIR64) -lconv $(ELFLIBDIR64) -lelf
471dd08564Sab
48cf9a187cSAndy FiddamanCLEANFILES +=	$(OBJS)
49