Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
20814N/A#
20814N/A# CDDL HEADER START
20814N/A#
20814N/A# The contents of this file are subject to the terms of the
20814N/A# Common Development and Distribution License (the "License").
20814N/A# You may not use this file except in compliance with the License.
20814N/A#
20814N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20814N/A# or http://www.opensolaris.org/os/licensing.
20814N/A# See the License for the specific language governing permissions
20814N/A# and limitations under the License.
20814N/A#
20814N/A# When distributing Covered Code, include this CDDL HEADER in each
20814N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20814N/A# If applicable, add the following below this CDDL HEADER, with the
20814N/A# fields enclosed by brackets "[]" replaced with your own identifying
20814N/A# information: Portions Copyright [yyyy] [name of copyright owner]
20814N/A#
20814N/A# CDDL HEADER END
20814N/A#
20814N/A#
20814N/A# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
20814N/A#
20814N/A
20814N/APROG= tar
20814N/ADEFAULTFILES= tar.dfl
20814N/AOBJS1= tar.o
20814N/AOBJS= $(OBJS1) getresponse.o
20814N/ASRCS= $(OBJS1:%.o=%.c) $(SRC)/common/util/getresponse.c
20814N/A
20814N/Ainclude ../Makefile.cmd
20814N/A
20814N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
20814N/ADCFILE= $(PROG).dc
20814N/A
20814N/ALINTFLAGS += -u
20814N/ALDLIBS += -lsec -lcmdutils -lnvpair -ltsol
20814N/A
20814N/ACFLAGS += $(CCVERBOSE)
20814N/ACERRWARN += -_gcc=-Wno-unused-variable
20814N/ACERRWARN += -_gcc=-Wno-parentheses
20814N/ACERRWARN += -_gcc=-Wno-uninitialized
20814N/A
20814N/ACPPFLAGS += -DEUC
20814N/A
20814N/AROOTSYMLINK= $(ROOTPROG)
20814N/A
20814N/AXGETFLAGS += -a -x tar.xcl
20814N/A
20814N/A.KEEP_STATE:
20814N/A
20814N/Aall: $(PROG)
20814N/A
20814N/Ainstall: all $(ROOTUSRSBINPROG) $(ROOTETCDEFAULTFILES) $(ROOTSYMLINK)
20814N/A -$(RM) -r $(ROOTETCPROG)
20814N/A -$(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG)
20814N/A
20814N/A$(ROOTSYMLINK):
20814N/A $(RM) $@; $(SYMLINK) ../sbin/$(PROG) $@
20814N/A
20814N/A$(PROG): $(OBJS)
20814N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
20814N/A $(POST_PROCESS)
20814N/A
20814N/A%.o: $(SRC)/common/util/%.c
20814N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
20814N/A $(POST_PROCESS_O)
20814N/A
20814N/Aclean:
20814N/A $(RM) $(OBJS)
20814N/A
20814N/Alint: lint_SRCS
20814N/A
20814N/A$(DCFILE):
20814N/A $(RM) messages.po
20814N/A $(XGETTEXT) -c TRANSLATION_NOTE -t $(PROG).c
20814N/A $(SED) -e '/^domain/d' messages.po > $@
20814N/A $(RM) messages.po
20814N/A
20814N/Ainclude ../Makefile.targ
20814N/A