Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
253N/A#
253N/A# CDDL HEADER START
253N/A#
253N/A# The contents of this file are subject to the terms of the
253N/A# Common Development and Distribution License, Version 1.0 only
253N/A# (the "License"). You may not use this file except in compliance
253N/A# with the License.
253N/A#
253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
253N/A# or http://www.opensolaris.org/os/licensing.
253N/A# See the License for the specific language governing permissions
253N/A# and limitations under the License.
253N/A#
253N/A# When distributing Covered Code, include this CDDL HEADER in each
253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
253N/A# If applicable, add the following below this CDDL HEADER, with the
253N/A# fields enclosed by brackets "[]" replaced with your own identifying
253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
253N/A#
253N/A# CDDL HEADER END
3967N/A#
253N/A#
253N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
253N/A# Use is subject to license terms.
253N/A#
253N/A# ident "%Z%%M% %I% %E% SMI"
253N/A#
4485N/A
253N/APROG= size
253N/A
253N/Ainclude ../../../Makefile.cmd
844N/Ainclude ../../Makefile.com
4485N/A
618N/AOBJS= main.o process.o fcns.o
253N/A
1273N/ASRCS= $(OBJS:%.o=../common/%.c)
1273N/A
3967N/ALDFLAGS += '-R$$ORIGIN/../../../lib/$(MACH64)'
3967N/AINCLIST= -I../common -I../../include -I../../include/i386 \
3996N/A -I$(SRCBASE)/uts/$(ARCH)/sys
3996N/ADEFLIST= -DSPARC -DELF
3996N/ACPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
253N/ALDLIBS += -L../../libconv/amd64 -lconv -lelf
253N/ALINTFLAGS64= -mx -D__amd64 -errchk=longptr64 $(LDLIBS)
253N/A
253N/ACLEANFILES += $(LINTOUT)
253N/A
253N/A%.o: ../common/%.c
253N/A $(COMPILE.c) $<
253N/A
253N/A$(ROOTCCSBIN64)/%: %
253N/A $(INS.file)
253N/A
253N/A.KEEP_STATE:
253N/A
253N/Aall: $(PROG)
253N/A
253N/A$(PROG): $(OBJS)
253N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
253N/A $(POST_PROCESS)
253N/A
253N/Apackage \
253N/Ainstall: all $(ROOTCCSBINPROG64)
253N/A
253N/Aclean:
253N/A $(RM) $(OBJS) $(CLEANFILES)
253N/A
253N/Alint: $(LINTOUT)
253N/A
253N/A$(LINTOUT): $(SRCS)
253N/A $(LINT.c) $(SRCS) > $(LINTOUT) 2>&1
253N/A
253N/Ainclude ../../../Makefile.targ
253N/Ainclude ../../Makefile.sub.64
253N/A