xref: /illumos-gate/usr/src/tools/sgs/ld/Makefile (revision 9b9d39d2a32ff806d2431dbcc50968ef1e6d46b2)
169b1fd3fSRichard Lowe#
269b1fd3fSRichard Lowe# CDDL HEADER START
369b1fd3fSRichard Lowe#
469b1fd3fSRichard Lowe# The contents of this file are subject to the terms of the
569b1fd3fSRichard Lowe# Common Development and Distribution License, Version 1.0 only
669b1fd3fSRichard Lowe# (the "License").  You may not use this file except in compliance
769b1fd3fSRichard Lowe# with the License.
869b1fd3fSRichard Lowe#
969b1fd3fSRichard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1069b1fd3fSRichard Lowe# or http://www.opensolaris.org/os/licensing.
1169b1fd3fSRichard Lowe# See the License for the specific language governing permissions
1269b1fd3fSRichard Lowe# and limitations under the License.
1369b1fd3fSRichard Lowe#
1469b1fd3fSRichard Lowe# When distributing Covered Code, include this CDDL HEADER in each
1569b1fd3fSRichard Lowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1669b1fd3fSRichard Lowe# If applicable, add the following below this CDDL HEADER, with the
1769b1fd3fSRichard Lowe# fields enclosed by brackets "[]" replaced with your own identifying
1869b1fd3fSRichard Lowe# information: Portions Copyright [yyyy] [name of copyright owner]
1969b1fd3fSRichard Lowe#
2069b1fd3fSRichard Lowe# CDDL HEADER END
2169b1fd3fSRichard Lowe#
2269b1fd3fSRichard Lowe# Copyright (c) 1996 by Sun Microsystems, Inc.
2369b1fd3fSRichard Lowe# All rights reserved.
2469b1fd3fSRichard Lowe
2569b1fd3fSRichard Loweinclude		../../Makefile.tools
26*9b9d39d2SRichard Loweinclude		$(SRC)/cmd/sgs/ld/Makefile.com
27*9b9d39d2SRichard Loweinclude		../Makefile.com
2869b1fd3fSRichard Lowe
297a15b0ecSRichard LoweLDLIBS =	-lumem -L../libconv -L$(ROOTONBLDLIBMACH64) -lld -lelf -lconv
30fb12490aSRichard LoweNATIVE_LIBS +=	libc.so libumem.so
3169b1fd3fSRichard LoweMAPFILES =	$(SRCDIR)/common/mapfile-intf
327a15b0ecSRichard LoweRPATH =		'-R$$ORIGIN/../../lib/$(MACH)/64'
33*9b9d39d2SRichard Lowe
34*9b9d39d2SRichard Loweinclude		$(SRC)/Makefile.master.64
35*9b9d39d2SRichard Loweinclude		$(SRC)/Makefile.native
3669b1fd3fSRichard Lowe
377a15b0ecSRichard Loweinstall: $(ROOTONBLDMACH64PROG)
3869b1fd3fSRichard Lowe
3969b1fd3fSRichard Lowe.KEEP_STATE:
4069b1fd3fSRichard Lowe
4169b1fd3fSRichard Loweinclude		$(SGSHOME)/ld/Makefile.targ
42