Makefile revision 9fb1159054bb89619213a7b2be87ea3bca25fcce
0N/A#
1879N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1472N/A#
1472N/A# CDDL HEADER END
1472N/A#
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
1879N/A# Copyright 2005 Sun Microsystems, Inc.
1879N/A# All rights reserved.
1879N/A# Use is subject to license terms.
1879N/A#
1879N/A# cmd/sgs/m4/sparc/Makefile
1879N/A#
0N/A
0N/APROG= m4
0N/AXPG4PROG= m4
0N/A
0N/Ainclude ../../../Makefile.cmd
0N/A
0N/ACOBJS= m4.o m4ext.o m4macs.o
0N/A
0N/AYOBJS= m4objs/m4y.o
0N/AXPG4YOBJS= m4objs.xpg4/m4y_xpg4.o
0N/A
0N/AOBJS= $(COBJS:%=m4objs/%) $(YOBJS)
0N/AXPG4OBJS= $(COBJS:%=m4objs.xpg4/%) $(XPG4YOBJS)
0N/AALLOBJS= $(OBJS) $(XPG4OBJS)
0N/A
0N/ABLTSRCS= ../common/m4y.c ../common/m4y_xpg4.c
0N/A
0N/ASRCS= $(COBJS:%.o=../common/%.c) $(BLTSRCS)
0N/A
0N/AINCLIST= -I../common
0N/ADEFLIST= -DELF
0N/ACPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
0N/ACFLAGS += $(CCVERBOSE)
0N/AC99MODE= $(C99_ENABLE)
0N/A
0N/ACLEANFILES += $(LINTOUT) $(BLTSRCS)
0N/A
0N/Am4objs.xpg4/%.o := CPPFLAGS += -DXPG4
0N/A
0N/Am4objs/%.o m4objs.xpg4/%.o: ../common/%.c
0N/A $(COMPILE.c) -o $@ $<
0N/A
0N/A.KEEP_STATE:
0N/A
0N/Aall: $(PROG) $(XPG4)
0N/A
0N/A$(PROG): $(OBJS)
0N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
0N/A $(POST_PROCESS)
0N/A
0N/A$(XPG4): $(XPG4OBJS)
0N/A $(LINK.c) $(XPG4OBJS) -o $@ $(LDLIBS)
0N/A $(POST_PROCESS)
0N/A
0N/A$(OBJS): m4objs
0N/A
0N/A$(XPG4OBJS): m4objs.xpg4
0N/A
0N/Am4objs m4objs.xpg4:
0N/A -@mkdir -p $@
0N/A
0N/Ainstall: all $(ROOTCCSBINPROG) $(ROOTXPG4PROG)
0N/A
0N/Aclean:
0N/A $(RM) $(ALLOBJS) $(CLEANFILES)
0N/A
0N/Alint: $(LINTOUT)
1142N/A
0N/A$(LINTOUT): $(SRCS)
0N/A $(LINT.c) $(SRCS) > $(LINTOUT) 2>&1
0N/A
0N/Ainclude ../../../Makefile.targ
0N/A