Makefile (0:68f95e015346) Makefile (10207:87c40ea3fc4b)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22# Use is subject to license terms.
22#
23#
23#ident "%Z%%M% %I% %E% SMI"
24#
25# Copyright (c) 1989,1996 by Sun Microsystems, Inc.
26# All rights reserved.
27#
28# cmd/fs.d/ufs/quotaon/Makefile
29
30FSTYPE= ufs
31LIBPROG= quotaon
32QUOTAOFF= quotaoff
33ATTMK= $(LIBPROG)
34
35#

--- 9 unchanged lines hidden (view full) ---

45OTHERINSTALL= $(ROOTLIBFSTYPE)/$(QUOTAOFF) \
46 $(ROOTUSRSBIN)/$(LIBPROG) $(ROOTUSRSBIN)/$(QUOTAOFF) \
47 $(ROOTINIT_SCRIPT)
48LINKVALUEON= ../lib/fs/$(FSTYPE)/$(LIBPROG)
49LINKVALUEOFF= ../lib/fs/$(FSTYPE)/$(QUOTAOFF)
50
51include ../../Makefile.fstype
52
24# cmd/fs.d/ufs/quotaon/Makefile
25
26FSTYPE= ufs
27LIBPROG= quotaon
28QUOTAOFF= quotaoff
29ATTMK= $(LIBPROG)
30
31#

--- 9 unchanged lines hidden (view full) ---

41OTHERINSTALL= $(ROOTLIBFSTYPE)/$(QUOTAOFF) \
42 $(ROOTUSRSBIN)/$(LIBPROG) $(ROOTUSRSBIN)/$(QUOTAOFF) \
43 $(ROOTINIT_SCRIPT)
44LINKVALUEON= ../lib/fs/$(FSTYPE)/$(LIBPROG)
45LINKVALUEOFF= ../lib/fs/$(FSTYPE)/$(QUOTAOFF)
46
47include ../../Makefile.fstype
48
53$(ROOTINIT_SCRIPT) := OWNER = root
54$(ROOTINIT_SCRIPT) := GROUP = sys
55$(ROOTINIT_SCRIPT) := FILEMODE = 0744
56
57CPPFLAGS += -D_LARGEFILE64_SOURCE
58lint: lint_PROG
59
60$(ROOTLIBFSTYPE)/$(QUOTAOFF): $(ROOTLIBFSTYPE)/$(LIBPROG)
61 -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@
62
63$(ROOTUSRSBIN)/$(LIBPROG):
64 -$(RM) $@; $(SYMLINK) $(LINKVALUEON) $@
65
66$(ROOTUSRSBIN)/$(QUOTAOFF):
67 -$(RM) $@; $(SYMLINK) $(LINKVALUEOFF) $@
68
69$(ROOTINIT_D)/% : %
70 $(INS.file)
49$(ROOTINIT_SCRIPT) := FILEMODE = 0744
50
51CPPFLAGS += -D_LARGEFILE64_SOURCE
52lint: lint_PROG
53
54$(ROOTLIBFSTYPE)/$(QUOTAOFF): $(ROOTLIBFSTYPE)/$(LIBPROG)
55 -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@
56
57$(ROOTUSRSBIN)/$(LIBPROG):
58 -$(RM) $@; $(SYMLINK) $(LINKVALUEON) $@
59
60$(ROOTUSRSBIN)/$(QUOTAOFF):
61 -$(RM) $@; $(SYMLINK) $(LINKVALUEOFF) $@
62
63$(ROOTINIT_D)/% : %
64 $(INS.file)