Makefile.com revision d29b2c4438482eb00488be49a1f5d6835f455546
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A
2N/A#
2N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A# ident "%Z%%M% %I% %E% SMI"
2N/A#
2N/A
2N/APROG= elfedit
2N/A
2N/Ainclude $(SRC)/cmd/Makefile.cmd
2N/Ainclude $(SRC)/cmd/sgs/Makefile.com
2N/A
2N/ACOMOBJ = elfedit.o sys.o util.o elfconst.o
2N/A
2N/ACOMOBJ32 = elfedit_machelf32.o util_machelf32.o
2N/A
2N/ACOMOBJ64 = elfedit_machelf64.o util_machelf64.o
2N/A
2N/ABLTOBJ = msg.o
2N/A
2N/AOBJS= $(BLTOBJ) $(COMOBJ) $(COMOBJ32) $(COMOBJ64)
2N/A
2N/AMAPFILE= ../common/mapfile-vers
2N/A
2N/ACPPFLAGS= -I. -I../common -I../../include -I../../include/$(MACH) \
2N/A -I$(SRCBASE)/lib/libc/inc -I$(SRCBASE)/uts/$(ARCH)/sys \
2N/A $(CPPFLAGS.master)
2N/ALLDFLAGS = $(VAR_ELFEDIT_LLDFLAGS)
2N/ALLDFLAGS64 = $(VAR_ELFEDIT_LLDFLAGS64)
2N/ALDFLAGS += $(VERSREF) $(USE_PROTO) -M$(MAPFILE) $(LLDFLAGS) $(ZLAZYLOAD)
2N/ALDLIBS += $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) $(LDDBG_LIB) \
2N/A $(CONVLIBDIR) $(CONV_LIB) -ltecla
2N/A
2N/ALINTFLAGS += -x
2N/ALINTFLAGS64 += -x
2N/A
2N/ABLTDEFS = msg.h
2N/ABLTDATA = msg.c
2N/ABLTMESG = $(SGSMSGDIR)/elfedit
2N/A
2N/ABLTFILES = $(BLTDEFS) $(BLTDATA) $(BLTMESG)
2N/A
2N/ASGSMSGCOM = ../common/elfedit.msg
2N/ASGSMSGTARG = $(SGSMSGCOM)
2N/ASGSMSGALL = $(SGSMSGCOM)
2N/ASGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n elfedit_msg
2N/A
2N/ASRCS = $(COMOBJ:%.o=../common/%.c) \
2N/A $(COMOBJ32:%32.o=../common/%.c) \
2N/A $(BLTDATA)
2N/ALINTSRCS = $(SRCS) ../common/lintsup.c
2N/A
2N/ACLEANFILES += $(LINTOUTS) $(BLTFILES)
2N/A