1009N/A#
1009N/A# CDDL HEADER START
1009N/A#
1009N/A# The contents of this file are subject to the terms of the
1009N/A# Common Development and Distribution License, Version 1.0 only
1009N/A# (the "License"). You may not use this file except in compliance
1298N/A# with the License.
1009N/A#
1009N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1009N/A# or http://www.opensolaris.org/os/licensing.
1009N/A# See the License for the specific language governing permissions
11192N/A# and limitations under the License.
1009N/A#
17524N/A# When distributing Covered Code, include this CDDL HEADER in each
1009N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
11192N/A# If applicable, add the following below this CDDL HEADER, with the
1009N/A# fields enclosed by brackets "[]" replaced with your own identifying
1298N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1009N/A#
1298N/A# CDDL HEADER END
1298N/A#
1298N/A#
1298N/A# Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
1298N/A# Use is subject to license terms.
11192N/A#
1298N/A# ident "%Z%%M% %I% %E% SMI"
1298N/A#
1298N/A# cmd/sort/Makefile
1298N/A#
1009N/A
11192N/APROG = sort
1009N/AXPG4PROG = sort
1298N/A
1298N/Ainclude ../Makefile.cmd
1298N/A
1298N/ASRCS = common/check.c common/fields.c common/initialize.c common/internal.c \
1298N/A common/main.c common/merge.c common/options.c common/streams.c \
11192N/A common/streams_array.c common/streams_mmap.c common/streams_stdio.c \
1298N/A common/streams_wide.c common/utility.c
11203N/APOFILES = $(SRCS:common/%.c=./%.po)
11203N/ACLOBBERFILES = $(DCFILE) $(POFILE) $(POFILES)
11203N/A
11203N/A.KEEP_STATE:
11203N/A
11203N/A$(XPG4) := CPPFLAGS += -DXPG4
11203N/AXGETFLAGS += -a -x sort.xcl
11203N/A
11203N/ASUBDIRS = $(MACH)
11203N/A$(BUILD64)SUBDIRS += $(MACH64)
4510N/A
4510N/Aall := TARGET = all
11203N/Ainstall := TARGET = install
4510N/Aclean := TARGET = clean
4826N/Aclobber := TARGET = clobber
17524N/Alint := TARGET = lint
4826N/Adebug := TARGET = debug
4826N/Aconvert := TARGET = convert
1298N/Ainvoke := TARGET = invoke
1298N/Astats := TARGET = stats
1298N/A
1298N/Aall : $(SUBDIRS)
4826N/A
4826N/Aclean clobber lint : $(SUBDIRS)
1298N/A
1298N/Adebug convert invoke stats : $(SUBDIRS)
4826N/A
4826N/Ainstall : $(SUBDIRS)
1298N/A -$(RM) $(ROOTPROG)
1298N/A -$(LN) $(ISAEXEC) $(ROOTPROG)
1298N/A
1298N/A$(POFILE) : $(POFILES)
4826N/A echo $(SRCS)
4826N/A echo $(POFILES)
11406N/A -$(RM) $@
11406N/A $(CAT) $(POFILES) > $@
11406N/A
11406N/A%.po : common/%.c
11406N/A $(RM) messages.po
11406N/A $(XGETTEXT) -c TRANSLATION_NOTE $<
11406N/A $(SED) -e '/^domain/d' messages.po > $@
11406N/A $(RM) messages.po
11406N/A
11406N/A$(SUBDIRS) : FRC
11406N/A @cd $@; pwd; $(MAKE) $(TARGET)
11406N/A
4826N/AFRC :
1009N/A
1009N/Ainclude ../Makefile.targ
1009N/A