Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
0a35160f4eb349188a988d2857e0b3052ad4b778Evan Hunt#
0a35160f4eb349188a988d2857e0b3052ad4b778Evan Hunt# CDDL HEADER START
3249da26fc28297265d444a1f3647f1e6700a2a0Evan Hunt#
3249da26fc28297265d444a1f3647f1e6700a2a0Evan Hunt# The contents of this file are subject to the terms of the
3249da26fc28297265d444a1f3647f1e6700a2a0Evan Hunt# Common Development and Distribution License, Version 1.0 only
d0803df3310ad09447c34b972e7594d576f5cbb5Evan Hunt# (the "License"). You may not use this file except in compliance
d0803df3310ad09447c34b972e7594d576f5cbb5Evan Hunt# with the License.
d0803df3310ad09447c34b972e7594d576f5cbb5Evan Hunt#
47c847e286ac1d9dcc1b6dec5430ad9d2abad7b2Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47c847e286ac1d9dcc1b6dec5430ad9d2abad7b2Evan Hunt# or http://www.opensolaris.org/os/licensing.
47c847e286ac1d9dcc1b6dec5430ad9d2abad7b2Evan Hunt# See the License for the specific language governing permissions
63add83a2699aac4e01be6d1f2d093cfed4f744aMark Andrews# and limitations under the License.
63add83a2699aac4e01be6d1f2d093cfed4f744aMark Andrews#
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fbc0e37e0c3732b20b0629056e98d712a118637fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
fbc0e37e0c3732b20b0629056e98d712a118637fMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews#
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews# CDDL HEADER END
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews#
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews#
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews#ident "%Z%%M% %I% %E% SMI"
b8cf73a3b3e21d61f5a06670551ac22e61bcc4b1Mark Andrews#
83f69fcd6ef72c9e2ebcb025b66a2ee74176becdEvan Hunt# Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved.
83f69fcd6ef72c9e2ebcb025b66a2ee74176becdEvan Hunt# Use is subject to license terms.
83f69fcd6ef72c9e2ebcb025b66a2ee74176becdEvan Hunt#
83f69fcd6ef72c9e2ebcb025b66a2ee74176becdEvan Hunt
83f69fcd6ef72c9e2ebcb025b66a2ee74176becdEvan Hunt.KEEP_STATE:
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt# To enable apptrace, comment out the following line
d58e33bfabfee19a035031dac633d36659738d56Evan HuntDISABLE_APPTRACE= $(POUND_SIGN)
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt
e45d0508c3460db87afb1f743bc5210522721bb3Evan Huntinclude ../Makefile.targ
e45d0508c3460db87afb1f743bc5210522721bb3Evan Hunt
e45d0508c3460db87afb1f743bc5210522721bb3Evan Hunt# Add arch specific objects here
e45d0508c3460db87afb1f743bc5210522721bb3Evan HuntOBJECTS +=
f8c990f6c2d3f75120bd67a55e87f21e88e9e5a6Evan Hunt
f8c990f6c2d3f75120bd67a55e87f21e88e9e5a6Evan Huntinclude $(SRC)/lib/Makefile.lib
f8c990f6c2d3f75120bd67a55e87f21e88e9e5a6Evan Hunt
f8c990f6c2d3f75120bd67a55e87f21e88e9e5a6Evan Hunt# Uncomment the following if the linker complains
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews#i386_C_PICFLAGS = -K PIC
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrewsinclude $(SRC)/lib/Makefile.spec
db8938c993d3eaeae1d86feb1b5da511831a9014Mark Andrews
a147de10fe5e19e593d42152ffd6879eca69860dEvan HuntROOTABILIB= $(SNADMINLIB_ABI)/$(ABILIB)
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt$(ROOTABILIB): $(SNADMINLIB_ABI) $(SPECMAP)
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt
702958d20247bb9e34019cf02d8ec18d4f3b1005Mark Andrews$(ROOTABILIB): $(ABILIB)
702958d20247bb9e34019cf02d8ec18d4f3b1005Mark Andrews $(INS.file)
702958d20247bb9e34019cf02d8ec18d4f3b1005Mark Andrews
cd7f8d18f8ed073ca5478d63f49179286d38d3d6Mark Andrews$(DISABLE_APPTRACE)install: $(ROOTABILIB)
cd7f8d18f8ed073ca5478d63f49179286d38d3d6Mark Andrews