Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# CDDL HEADER START
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# The contents of this file are subject to the terms of the
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# Common Development and Distribution License, Version 1.0 only
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# (the "License"). You may not use this file except in compliance
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# with the License.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# or http://www.opensolaris.org/os/licensing.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# See the License for the specific language governing permissions
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# and limitations under the License.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# When distributing Covered Code, include this CDDL HEADER in each
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# If applicable, add the following below this CDDL HEADER, with the
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# fields enclosed by brackets "[]" replaced with your own identifying
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# information: Portions Copyright [yyyy] [name of copyright owner]
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# CDDL HEADER END
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor# Use is subject to license terms.
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor#
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor
3c112a2b34403220c06c3e2fcac403358cfba168Eric TaylorFSTYPE= ufs
3c112a2b34403220c06c3e2fcac403358cfba168Eric TaylorLIBPROG= df
3c112a2b34403220c06c3e2fcac403358cfba168Eric TaylorATTMK= $(LIBPROG)
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylorinclude ../../Makefile.fstype
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor
3c112a2b34403220c06c3e2fcac403358cfba168Eric TaylorOBJS= df.o
CPPFLAGS += -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)
clean:
$(RM) $(LIBPROG).o
lint: lint_SRCS