Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
3652N/A#
3652N/A# CDDL HEADER START
3652N/A#
3652N/A# The contents of this file are subject to the terms of the
3652N/A# Common Development and Distribution License, Version 1.0 only
3652N/A# (the "License"). You may not use this file except in compliance
3652N/A# with the License.
3652N/A#
3652N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3652N/A# or http://www.opensolaris.org/os/licensing.
3652N/A# See the License for the specific language governing permissions
3652N/A# and limitations under the License.
3652N/A#
3652N/A# When distributing Covered Code, include this CDDL HEADER in each
3652N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3652N/A# If applicable, add the following below this CDDL HEADER, with the
3652N/A# fields enclosed by brackets "[]" replaced with your own identifying
3652N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3652N/A#
3652N/A# CDDL HEADER END
5680N/A#
5680N/A#
3817N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3652N/A# Use is subject to license terms.
3652N/A#
3652N/A
3652N/APROG=du
3652N/AXPG4PROG= du
3652N/A
3652N/Ainclude ../Makefile.cmd
3652N/A
3652N/ACFLAGS += $(CCVERBOSE)
3652N/ACERRWARN += -_gcc=-Wno-parentheses
3652N/ACERRWARN += -_gcc=-Wno-uninitialized
3652N/A$(XPG4) := CFLAGS += -DXPG4
3652N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
3652N/APOFILE = du_cmd.po
3652N/APOFILES = du.po
3817N/APOFILES_XPG4 = du.po.xpg4
3817N/A$(POFILES_XPG4) := CFLAGS += -DXPG4
3652N/ACLOBBERFILES += $(POFILES_XPG4)
3652N/ALDLIBS += -lcmdutils
3652N/A
3652N/A.KEEP_STATE:
3652N/A
3652N/Aall: $(PROG) $(XPG4)
3652N/A
3652N/Ainstall: all $(ROOTPROG) $(ROOTXPG4PROG)
3652N/A
3652N/A$(POFILE): $(POFILES) $(POFILES_XPG4)
4337N/A $(RM) $@; cat $(POFILES) $(POFILES_XPG4) > $@
4337N/A
3652N/A%.po.xpg4: %.c
3652N/A $(COMPILE.cpp) $< > $<.i
$(BUILD.po)
clean:
lint: lint_PROG
include ../Makefile.targ