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