8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / initpkg / init.d / Makefile
blobd1665cdf79bcb9869b68c31101b4686fa39a5fd3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
28 include ../../Makefile.cmd
30 sparc_PROG=
31 i386_PROG=
33 PROG= \
34 README \
35 sysetup \
36 uucp \
37 $($(MACH)_PROG)
40 OTHERPROG= README.rcS README.rc2 README.rc3
42 ROOTETCINITD= $(ROOTETC)/init.d
43 ROOTETCRCSD= $(ROOTETC)/rcS.d
44 ROOTETCRC0D= $(ROOTETC)/rc0.d
45 ROOTETCRC1D= $(ROOTETC)/rc1.d
46 ROOTETCRC2D= $(ROOTETC)/rc2.d
47 ROOTETCRC3D= $(ROOTETC)/rc3.d
49 DIRS= $(ROOTETCINITD) \
50 $(ROOTETCRCSD) \
51 $(ROOTETCRC0D) \
52 $(ROOTETCRC1D) \
53 $(ROOTETCRC2D) \
54 $(ROOTETCRC3D)
56 ROOTETCINITDPROG= $(PROG:%=$(ROOTETCINITD)/%)
58 DIRMODE = 0755
59 FILEMODE = 0744
60 $(ROOTETCINITD)/README := FILEMODE = 0644
61 $(ROOTETCRCSD)/README := FILEMODE = 0644
62 $(ROOTETCRC2D)/README := FILEMODE = 0644
63 $(ROOTETCRC3D)/README := FILEMODE = 0644
65 .KEEP_STATE:
67 all: $(PROG)
69 # Don't re-install directories already installed by Targetdirs
70 #$(DIRS):
71 # $(INS.dir)
73 $(ROOTETCINITD)/%: %
74 $(INS.file)
76 $(ROOTETCRCSD)/%: %.rcS
77 $(INS.rename)
79 $(ROOTETCRC2D)/%: %.rc2
80 $(INS.rename)
82 $(ROOTETCRC3D)/%: %.rc3
83 $(INS.rename)
85 install: all $(ROOTETCINITDPROG) \
86 $(ROOTETCRCSD)/README \
87 $(ROOTETCRC2D)/README \
88 $(ROOTETCRC3D)/README
90 lint:
92 clean:
94 clobber: