xref: /onnv-gate/usr/src/cmd/svc/shell/Makefile (revision 11996:91b62f7b8186)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
52104Sjjj# Common Development and Distribution License (the "License").
62104Sjjj# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*11996SThomas.Whitten@Sun.COM# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
220Sstevel@tonic-gate# Use is subject to license terms.
230Sstevel@tonic-gate
240Sstevel@tonic-gateinclude ../../Makefile.cmd
250Sstevel@tonic-gate
260Sstevel@tonic-gateFILEMODE = 0444
270Sstevel@tonic-gate
280Sstevel@tonic-gateSRCS = \
290Sstevel@tonic-gate	fs_include.sh \
308823STruong.Q.Nguyen@Sun.COM	ipf_include.sh \
310Sstevel@tonic-gate	net_include.sh \
323051Samaguire	routing_include.sh \
338838SJohn.Beck@Sun.COM	sendmail_include.sh \
3410461SSean.Wilcox@Sun.COM	smf_include.sh \
35*11996SThomas.Whitten@Sun.COM	mfsthistory
360Sstevel@tonic-gate
370Sstevel@tonic-gateSCRIPTS = $(SRCS:%=$(ROOT)/lib/svc/share/%)
380Sstevel@tonic-gate
392104SjjjPROG = netservices
402104Sjjj$(ROOTUSRSBINPROG) := FILEMODE= 0555
412104Sjjj
422104Sjjjinstall: all $(SCRIPTS) $(ROOTUSRSBINPROG)
430Sstevel@tonic-gate
440Sstevel@tonic-gate$(ROOT)/lib/svc/share/%: %
450Sstevel@tonic-gate	$(INS.file)
460Sstevel@tonic-gate
472104Sjjjall: $(PROG)
482104Sjjj
492104Sjjjlint _msg:
502104Sjjj
512104Sjjjclobber clean:
522104Sjjj	$(RM) $(PROG)
53