#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# Debugging targets
# sort provides a number of debugging options to simplify failure analysis.
#
# debug provides symbol information and sets DEBUG; includes
# convert, invoke
# stats builds binaries with statistics reporting enabled
# convert builds convert binaries (converts input to collation
# vectors)
# invoke builds invoke binaries (allows inspection of options
# parser outcome)
#
# Debugging #defines
# DEBUG activate assertions; allow wider range of memory
# settings (-S)
# DEBUG_FORCE_WIDE force all i/o through wide streams
# DEBUG_DISALLOW_MMAP force all i/o through stdio or wide streams
# DEBUG_NO_CACHE_TEMP do not cache last sorted portion in memory; write all
# data to temporary files before merge
#
BASE_OBJS = \
check.o \
fields.o \
merge.o \
include ../../Makefile.cmd
debug := COPTFLAG64 =
stats := COPTFLAG64 =
.KEEP_STATE :
clean :
$(RM) $(CLEANFILES)
include ../../Makefile.targ
# rules for $(PROG) and $(XPG4)
$(POST_PROCESS)
$(POST_PROCESS)
invoke: $(INVOKE_OBJS)
convert: $(CONVERT_OBJS)
stats: $(STATS_OBJS)
%.o : ../common/%.c
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<