xref: /titanic_41/usr/src/cmd/intrd/Makefile (revision bd335c6465ddbafe543900df4b03247bfa288eff)
1*bd335c64Sesolom#
2*bd335c64Sesolom# CDDL HEADER START
3*bd335c64Sesolom#
4*bd335c64Sesolom# The contents of this file are subject to the terms of the
5*bd335c64Sesolom# Common Development and Distribution License, Version 1.0 only
6*bd335c64Sesolom# (the "License").  You may not use this file except in compliance
7*bd335c64Sesolom# with the License.
8*bd335c64Sesolom#
9*bd335c64Sesolom# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*bd335c64Sesolom# or http://www.opensolaris.org/os/licensing.
11*bd335c64Sesolom# See the License for the specific language governing permissions
12*bd335c64Sesolom# and limitations under the License.
13*bd335c64Sesolom#
14*bd335c64Sesolom# When distributing Covered Code, include this CDDL HEADER in each
15*bd335c64Sesolom# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*bd335c64Sesolom# If applicable, add the following below this CDDL HEADER, with the
17*bd335c64Sesolom# fields enclosed by brackets "[]" replaced with your own identifying
18*bd335c64Sesolom# information: Portions Copyright [yyyy] [name of copyright owner]
19*bd335c64Sesolom#
20*bd335c64Sesolom# CDDL HEADER END
21*bd335c64Sesolom#
22*bd335c64Sesolom
23*bd335c64Sesolom#
24*bd335c64Sesolom# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
25*bd335c64Sesolom# Use is subject to license terms.
26*bd335c64Sesolom#
27*bd335c64Sesolom# ident	"%Z%%M%	%I%	%E% SMI"
28*bd335c64Sesolom#
29*bd335c64Sesolom# Makefile for interrupt distribution daemon
30*bd335c64Sesolom#
31*bd335c64Sesolom
32*bd335c64SesolomPROG=		intrd
33*bd335c64SesolomMANIFEST=	intrd.xml
34*bd335c64SesolomSVCMETHOD=	svc-intrd
35*bd335c64Sesolom
36*bd335c64Sesolominclude ../Makefile.cmd
37*bd335c64Sesolom
38*bd335c64SesolomTARGET=	all
39*bd335c64Sesolom
40*bd335c64SesolomROOTMANIFESTDIR=	$(ROOTSVCSYSTEM)
41*bd335c64Sesolom$(ROOTMANIFEST)		:= FILEMODE= 444
42*bd335c64Sesolom
43*bd335c64Sesolom# install macros and rule
44*bd335c64Sesolom#
45*bd335c64SesolomGROUP=		bin
46*bd335c64SesolomROOTPROG=	$(ROOTLIB)/$(PROG)
47*bd335c64Sesolom$(ROOTPROG)	:= FILEMODE= 555
48*bd335c64Sesolom
49*bd335c64Sesolom.KEEP_STATE:
50*bd335c64Sesolom
51*bd335c64Sesolomall: $(PROG)
52*bd335c64Sesolom
53*bd335c64Sesolominstall: all .WAIT $(ROOTPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
54*bd335c64Sesolom
55*bd335c64Sesolomclean:
56*bd335c64Sesolom
57*bd335c64Sesolom%: %.pl
58*bd335c64Sesolom	$(CP) $< $@
59*bd335c64Sesolom	$(CHMOD) 755 $@
60*bd335c64Sesolom
61*bd335c64Sesolomcheck:	$(CHKMANIFEST)
62*bd335c64Sesolom
63*bd335c64Sesolom${ROOTLIB}/%: %
64*bd335c64Sesolom	${INS.file}
65*bd335c64Sesolom
66*bd335c64Sesolomlint:
67*bd335c64Sesolom
68*bd335c64Sesolominclude ../Makefile.targ
69