Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# 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.
#
# ident "%Z%%M% %I% %E% SMI"
#
# This builds all objects needed for libbc.
#
# Default rules in ../../Makefile.targ not used.
#DYNLIBS5 is also defined in ../Makefile
ECHO= echo
# objects are grouped by source directory.
COMPATCOM= \
COMPAT4.1=\
CRTSPARC =\
GENCOM=\
GEN4.2=\
GENSYS5=\
STDIOCOM=\
STDIO4.2=\
SYSCOM=\
SYS4.2=\
SYSSYS5=\
#SSYSSPARC=\
INET=\
NET=\
#
# libbc build rules
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(BUILD.s)
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
# include common library definitions
include ../../Makefile.lib
C99MODE= $(C99_DISABLE)
#
# The BCP include files depend on old preprocessor semantics.
#
# the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../../Makefile.lib
# and save it so we can find the libraries with which to link
# SONAME is used by DYNFLAGS
# libbc method of building an archive
# the TXTS macro is used for NSE bootstrapping.
#
# Since this library is strictly for binary compability with ancient
# applications, we deactivate CTF to avoid kicking up dust.
#
CTFCONVERT_POST = :
CTFMERGE_LIB = :
$(S5PICOBJS)
# conditional assignments
# Declare that all .o's can be made in parallel.
# include common library targets
include ../../Makefile.targ
-@mkdir -p $@
# special cases
PSEUDO_POBJS= $(PSEUDO_SRCS:%.s=pics/%.o)
PSEUDO_PS5OBJS= $(PSEUDO_SRCS:%.s=s5pics/%.o)
$(PSEUDO_POBJS) $(PSEUDO_PS5OBJS):
echo ' SYSCALL($(@F:.o=))'; \
echo ' RET'; \
#
# The following rules generate the .h file and XDR routines from the
# rpcgen source. Objects built here, look for it here. Further, when
# building ypupdated it should look here too, but doesn't at the moment.
#
# It would be nice to use a ".x.h" rule for this, but that causes problems.
#
$(RM) $@