Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
417N/A#
417N/A# CDDL HEADER START
417N/A#
417N/A# The contents of this file are subject to the terms of the
417N/A# Common Development and Distribution License (the "License").
417N/A# You may not use this file except in compliance with the License.
417N/A#
417N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
417N/A# or http://www.opensolaris.org/os/licensing.
417N/A# See the License for the specific language governing permissions
417N/A# and limitations under the License.
417N/A#
417N/A# When distributing Covered Code, include this CDDL HEADER in each
417N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
417N/A# If applicable, add the following below this CDDL HEADER, with the
417N/A# fields enclosed by brackets "[]" replaced with your own identifying
417N/A# information: Portions Copyright [yyyy] [name of copyright owner]
417N/A#
417N/A# CDDL HEADER END
417N/A#
417N/A#
417N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
417N/A# Use is subject to license terms.
417N/A#
417N/A
417N/APROG= rm
417N/AXPG4PROG= rm
417N/ARMOBJ1= rm.o
417N/ARMOBJ= $(RMOBJ1) getresponse.o
417N/AXPG4RMOBJ= $(RMOBJ:%.o=xpg4_%.o)
417N/ASRCS= $(RMOBJ1:%.o=%.c) $(SRC)/common/util/getresponse.c
417N/A
417N/Ainclude ../Makefile.cmd
417N/A
417N/ACFLAGS += $(CCVERBOSE)
417N/ACERRWARN += -_gcc=-Wno-parentheses
417N/A$(XPG4) := CFLAGS += -DXPG4
417N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
417N/ALINTFLAGS += -u
417N/A.KEEP_STATE:
417N/A
417N/Aall: $(PROG) $(XPG4)
417N/A
417N/Ainstall: all $(ROOTPROG) $(ROOTXPG4PROG)
417N/A
417N/A$(PROG): $(RMOBJ)
417N/A $(LINK.c) $(RMOBJ) -o $@ $(LDLIBS)
417N/A $(POST_PROCESS)
417N/A
417N/A$(XPG4): $(XPG4RMOBJ)
417N/A $(LINK.c) $(XPG4RMOBJ) -o $@ $(LDLIBS)
417N/A $(POST_PROCESS)
417N/A
417N/A%.o: $(SRC)/common/util/%.c
417N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
417N/A $(POST_PROCESS_O)
417N/A
417N/Axpg4_%.o: %.c
417N/A $(COMPILE.c) -o $@ $<
417N/A $(POST_PROCESS_O)
417N/A
417N/Axpg4_%.o: $(SRC)/common/util/%.c
417N/A $(COMPILE.c) -o $@ $<
417N/A $(POST_PROCESS_O)
417N/A
417N/Aclean:
417N/A $(RM) $(RMOBJ) $(XPG4RMOBJ)
417N/A
417N/Alint: lint_SRCS
417N/A
417N/Ainclude ../Makefile.targ
417N/A