Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# CDDL HEADER START
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# The contents of this file are subject to the terms of the
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# Common Development and Distribution License, Version 1.0 only
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# (the "License"). You may not use this file except in compliance
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# with the License.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# or http://www.opensolaris.org/os/licensing.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# See the License for the specific language governing permissions
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# and limitations under the License.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# When distributing Covered Code, include this CDDL HEADER in each
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# If applicable, add the following below this CDDL HEADER, with the
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# fields enclosed by brackets "[]" replaced with your own identifying
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# information: Portions Copyright [yyyy] [name of copyright owner]
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# CDDL HEADER END
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove# Use is subject to license terms.
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove#
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan GroveFSTYPE= ufs
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan GroveLIBPROG= df
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan GroveATTMK= $(LIBPROG)
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Groveinclude ../../Makefile.fstype
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan GroveOBJS= df.o
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan Grove
1f439f8b8b07b0c6764ee0cb0114d54246c44d67Ryan GroveCPPFLAGS += -D_LARGEFILE64_SOURCE
LDLIBS += -ladm
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
# for messaging catalogue file
#
POFILE= df.po
XGETFLAGS += -a -x df.xcl
catalog: $(POFILE)
SRCS= $(LIBPROG).c
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
lint: lint_SRCS