Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# CDDL HEADER START
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# The contents of this file are subject to the terms of the
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# Common Development and Distribution License, Version 1.0 only
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# (the "License"). You may not use this file except in compliance
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# with the License.
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# or http://www.opensolaris.org/os/licensing.
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# See the License for the specific language governing permissions
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# and limitations under the License.
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# If applicable, add the following below this CDDL HEADER, with the
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# CDDL HEADER END
df0e8744a2befcba003ea6d93214601c743bde74Christian Maeder# ident "%Z%%M% %I% %E% SMI"
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# Use is subject to license terms.
863c98ae89e37c21c0c04b9b130b5136688976eeChristian MaederINCLIST= -I../../include -I../../include/sparc \
59bbf8aeab565e86d79c8482a4c7bd7a1841ca7bChristian MaederDEFLIST= -DTARGET=SPARC -DSPARC=1 -D$(ARFORMAT) -DELF
863c98ae89e37c21c0c04b9b130b5136688976eeChristian MaederCPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
863c98ae89e37c21c0c04b9b130b5136688976eeChristian MaederLDLIBS += -L ../../sgsdemangler/sparc -ldemangle \
59bbf8aeab565e86d79c8482a4c7bd7a1841ca7bChristian Maeder# Building SUNWonld results in a call to the `package' target. Requirements
b8cd2804f426fd97148615fe31c1f47afac7a683Christian Maeder# needed to run this application on older releases are established:
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder# i18n support requires libintl.so.1 prior to 2.6
863c98ae89e37c21c0c04b9b130b5136688976eeChristian Maeder$(PROG): $(OBJS) ../../sgsdemangler/sparc/libdemangle.a
5b68f1141555736e0b7ddbe14218bcabcc44636fChristian Maeder $(LINK.c) $(OBJS) -o $@ $(LLDFLAGS) $(LDLIBS)