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 (the "License"). 669b1fd3fSRichard Lowe# You may not use this file except in compliance with the License. 769b1fd3fSRichard Lowe# 869b1fd3fSRichard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 969b1fd3fSRichard Lowe# or http://www.opensolaris.org/os/licensing. 1069b1fd3fSRichard Lowe# See the License for the specific language governing permissions 1169b1fd3fSRichard Lowe# and limitations under the License. 1269b1fd3fSRichard Lowe# 1369b1fd3fSRichard Lowe# When distributing Covered Code, include this CDDL HEADER in each 1469b1fd3fSRichard Lowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1569b1fd3fSRichard Lowe# If applicable, add the following below this CDDL HEADER, with the 1669b1fd3fSRichard Lowe# fields enclosed by brackets "[]" replaced with your own identifying 1769b1fd3fSRichard Lowe# information: Portions Copyright [yyyy] [name of copyright owner] 1869b1fd3fSRichard Lowe# 1969b1fd3fSRichard Lowe# CDDL HEADER END 2069b1fd3fSRichard Lowe# 2169b1fd3fSRichard Lowe 2269b1fd3fSRichard Lowe# 2369b1fd3fSRichard Lowe# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. 2469b1fd3fSRichard Lowe# 2569b1fd3fSRichard Lowe 2669b1fd3fSRichard Loweinclude ../../Makefile.tools 27*9b9d39d2SRichard Loweinclude $(SRC)/cmd/sgs/libelf/Makefile.com 28*9b9d39d2SRichard Loweinclude ../Makefile.com 2969b1fd3fSRichard Lowe 3069b1fd3fSRichard LoweCONVLIBDIR = -L../libconv 3169b1fd3fSRichard LoweSGSMSGTARG += $(SGSMSG32) 325801b0f0SToomas SoomeNATIVE_LIBS += libc.so 33*9b9d39d2SRichard Lowe 34*9b9d39d2SRichard LoweCPPFLAGS += -I$(SRC)/cmd/sgs/libelf/common 35*9b9d39d2SRichard LoweLDLIBS += $(CONVLIBDIR) -lconv 36*9b9d39d2SRichard Lowe 37*9b9d39d2SRichard Loweinclude $(SRC)/Makefile.native 38*9b9d39d2SRichard Loweinclude $(SRC)/Makefile.master.64 3969b1fd3fSRichard Lowe 408222814eSRichard Lowe# As a bootstrapping issue, we can't use the real mapfile because we build 418222814eSRichard Lowe# early in tools and thus don't have support for assertions. 428222814eSRichard LoweMAPFILES= 438222814eSRichard Lowe 4469b1fd3fSRichard Lowe.KEEP_STATE: 4569b1fd3fSRichard Lowe 46*9b9d39d2SRichard Loweinstall: all $(ROOTONBLDLIBMACH64)/$(DYNLIB) \ 47*9b9d39d2SRichard Lowe $(ROOTONBLDLIBMACH64)/$(LIBLINKS) 4869b1fd3fSRichard Lowe 497a15b0ecSRichard Lowe$(ROOTONBLDLIBMACH64)/$(DYNLIB): $(PICS) $(ROOTONBLDLIBMACH64) 5069b1fd3fSRichard Lowe $(BUILD.SO) 5169b1fd3fSRichard Lowe $(POST_PROCESS_SO) 5269b1fd3fSRichard Lowe 537a15b0ecSRichard Lowe$(ROOTONBLDLIBMACH64)/$(LIBLINKS): $(ROOTONBLDLIBMACH64)/$(DYNLIB) 547a15b0ecSRichard Lowe @$(RM) $(ROOTONBLDLIBMACH64)/$(LIBLINKS) 557a15b0ecSRichard Lowe $(SYMLINK) $(DYNLIB) $(ROOTONBLDLIBMACH64)/$(LIBLINKS) 5669b1fd3fSRichard Lowe 5769b1fd3fSRichard Loweinclude $(SGSHOME)/libelf/Makefile.targ 58