xref: /titanic_50/usr/src/cmd/scadm/Makefile.targ (revision 54b87f36013e24df61bad509c5ace8fec06df144)
103831d35Sstevel#
203831d35Sstevel# CDDL HEADER START
303831d35Sstevel#
403831d35Sstevel# The contents of this file are subject to the terms of the
5*54b87f36Sstevel# Common Development and Distribution License (the "License").
6*54b87f36Sstevel# You may not use this file except in compliance with the License.
703831d35Sstevel#
803831d35Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
903831d35Sstevel# or http://www.opensolaris.org/os/licensing.
1003831d35Sstevel# See the License for the specific language governing permissions
1103831d35Sstevel# and limitations under the License.
1203831d35Sstevel#
1303831d35Sstevel# When distributing Covered Code, include this CDDL HEADER in each
1403831d35Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1503831d35Sstevel# If applicable, add the following below this CDDL HEADER, with the
1603831d35Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
1703831d35Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
1803831d35Sstevel#
1903831d35Sstevel# CDDL HEADER END
2003831d35Sstevel#
2103831d35Sstevel#
22*54b87f36Sstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2303831d35Sstevel# Use is subject to license terms.
2403831d35Sstevel#
2503831d35Sstevel# ident	"%Z%%M%	%I%	%E% SMI"
2603831d35Sstevel#
2703831d35Sstevel# cmd/scadm/Makefile.targ
2803831d35Sstevel#
2903831d35Sstevel
3003831d35Sstevelinstall: all $(USR_PSM_SBIN_PROG) $(USR_PSM_SBIN_PROG_LINKS)
3103831d35Sstevel
32*54b87f36Sstevel$(USR_PSM_SBIN_PROG_LINKS): $(LINKED_SBIN_DIRS)
33*54b87f36Sstevel
3403831d35Sstevel$(PROG): $(OBJS)
3503831d35Sstevel	$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
3603831d35Sstevel	$(POST_PROCESS)
3703831d35Sstevel
3803831d35Sstevelclean:
3903831d35Sstevel	-$(RM) $(OBJS)
4003831d35Sstevel	-$(RM) $(LINT_OBJS)
4103831d35Sstevel
4203831d35Sstevellint: $(LINT_OBJS)
4303831d35Sstevel	$(LINT.c) $(LINT_OBJS)
4403831d35Sstevel
4503831d35Sstevel$(POFILE):	$(POFILES)
4603831d35Sstevel	$(RM)	$@
4703831d35Sstevel	cat	$(POFILES) >	$@
4803831d35Sstevel
4903831d35Sstevelinclude $(SRC)/cmd/Makefile.targ
5003831d35Sstevelinclude $(SRC)/Makefile.psm.targ
51