Makefile.backup (0:68f95e015346) Makefile.backup (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) 1993,1998 by Sun Microsystems, Inc.
26#
27# cmd/backup/Makefile.backup
28#
29
30include $(SRC)/cmd/Makefile.cmd
31
32# xxx should pass -Nlevel=4 (takes 62 minutes of cpu for lib and dump)
33LINTFLAGS= -errchk=%all,longptr64 -errhdr=%user -F -m \
34 -Ncheck=%all,no%extern -Nlevel=3 -Xtransition=yes \

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

44
45UFSROOTETC= $(ROOT)/etc
46UFSROOTUSR= $(ROOT)/usr
47UFSROOTUSRLIB= $(UFSROOTUSR)/lib
48UFSROOTUSRLIBFS= $(UFSROOTUSRLIB)/fs
49UFSROOTUSRLIBFSTYPE= $(UFSROOTUSRLIBFS)/$(FSTYPE)
50UFSROOTUSRSBIN= $(UFSROOTUSR)/sbin
51
24# cmd/backup/Makefile.backup
25#
26
27include $(SRC)/cmd/Makefile.cmd
28
29# xxx should pass -Nlevel=4 (takes 62 minutes of cpu for lib and dump)
30LINTFLAGS= -errchk=%all,longptr64 -errhdr=%user -F -m \
31 -Ncheck=%all,no%extern -Nlevel=3 -Xtransition=yes \

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

41
42UFSROOTETC= $(ROOT)/etc
43UFSROOTUSR= $(ROOT)/usr
44UFSROOTUSRLIB= $(UFSROOTUSR)/lib
45UFSROOTUSRLIBFS= $(UFSROOTUSRLIB)/fs
46UFSROOTUSRLIBFSTYPE= $(UFSROOTUSRLIBFS)/$(FSTYPE)
47UFSROOTUSRSBIN= $(UFSROOTUSR)/sbin
48
52$(CH)$(UFSROOTETC) := DIRMODE = 755
53$(UFSROOTETC) := OWNER = root
54$(UFSROOTETC) := GROUP = sys
55$(CH)$(UFSROOTUSR) := DIRMODE = 755
56$(UFSROOTUSR) := OWNER = root
57$(UFSROOTUSR) := GROUP = bin
58$(CH)$(UFSROOTUSRLIB) := DIRMODE = 755
59$(UFSROOTUSRLIB) := OWNER = root
60$(UFSROOTUSRLIB) := GROUP = bin
61$(CH)$(UFSROOTUSRLIBFS) := DIRMODE = 755
62$(UFSROOTUSRLIBFS) := OWNER = root
63$(UFSROOTUSRLIBFS) := GROUP = sys
64$(CH)$(UFSROOTUSRLIBFSFSTYPE):= DIRMODE = 755
65$(UFSROOTUSRLIBFSFSTYPE):= OWNER = root
66$(UFSROOTUSRLIBFSFSTYPE):= GROUP = sys
67$(CH)$(UFSROOTUSRSBIN) := DIRMODE = 755
68$(UFSROOTUSRSBIN) := OWNER = root
69$(UFSROOTUSRSBIN) := GROUP = bin
70
71UFSROOTPKGUSRLIBFSTYPE= $(PROG:%=$(UFSROOTUSRLIBFSTYPE)/%)
72UFSROOTPKGETC= $(PROT:%=$(UFSROOTETC)/%)
73
74$(UFSROOTETC)/%: $(UFSROOTETC) %
75 $(INS.file)
76
77$(UFSROOTUSRLIBFSTYPE)/%: $(UFSROOTUSRLIBFSTYPE) %
78 $(INS.file)

--- 18 unchanged lines hidden ---
49UFSROOTPKGUSRLIBFSTYPE= $(PROG:%=$(UFSROOTUSRLIBFSTYPE)/%)
50UFSROOTPKGETC= $(PROT:%=$(UFSROOTETC)/%)
51
52$(UFSROOTETC)/%: $(UFSROOTETC) %
53 $(INS.file)
54
55$(UFSROOTUSRLIBFSTYPE)/%: $(UFSROOTUSRLIBFSTYPE) %
56 $(INS.file)

--- 18 unchanged lines hidden ---