0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# CDDL HEADER START
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# The contents of this file are subject to the terms of the
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Common Development and Distribution License (the "License").
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# You may not use this file except in compliance with the License.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# See the License for the specific language governing permissions
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# and limitations under the License.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# When distributing Covered Code, include this CDDL HEADER in each
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# If applicable, add the following below this CDDL HEADER, with the
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# CDDL HEADER END
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Use is subject to license terms.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsyncFSCKOBJS= main.o dir.o dup_avl.o inode.o pass1.o pass1b.o \
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsyncSRCS= $(FSCKSRCS) $(UFSSRCS) $(ROLLSRCS) $(FSLIBSRC)
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsyncCPPFLAGS += -D_LARGEFILE64_SOURCE -I../../ -I../../../../lib/libadm/inc
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsyncCERRWARN += -_gcc=-Wno-implicit-function-declaration
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Use DEVLINTFLAGS and the definition of LINT.c below for development
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# checking. Prior to putback, increase Nlevel to 4 for extra sanity.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Nlevel=2 is the default applied by lint.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Remember to comment LINT.c out before doing the putback, as we shouldn't
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# be overriding the top-level settings under normal circumstances.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# Note that you have to have a proto area with populated usr/include and
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# usr/include/sys (or the parent workspace needs it). Otherwise lint gets
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# very confused. Unfortunately, we also have to tell it where its own
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync# include directory is, or it gets the wrong version of note.h.
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsyncDEVLINTFLAGS = -errtags=yes -U__PRAGMA_REDEFINE_EXTNAME \
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync -I/net/tools-sparc/export/tools.sparc/on10-tools/SUNWspro/SOS8/prod/include/lint
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync#LINT.c= $(LINT) $(DEVLINTFLAGS) $(CPPFLAGS)
0b74a2f80aba476dc8be8bc1c63891fc53945986vboxsync $(XREF) -f -x $@