Makefile revision 07925104db56e5c3eacc4865b918bd16af5cec59
2N/A# The contents of this file are subject to the terms of the 2N/A# Common Development and Distribution License (the "License"). 2N/A# You may not use this file except in compliance with the License. 2N/A# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 2N/A# If applicable, add the following below this CDDL HEADER, with the 2N/A# fields enclosed by brackets "[]" replaced with your own identifying 2N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2N/A# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. 2N/A# This builds all objects needed for libbc. 2N/A#DYNLIBS5 is also defined in ../Makefile 2N/A# objects are grouped by source directory. 2N/A# include common library definitions 2N/A# There should be a mapfile here 2N/A# The BCP include files depend on old preprocessor semantics. 2N/A# the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../../Makefile.lib 2N/A# 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. # conditional assignments # Declare that all .o's can be made in parallel. # include common library targets @
(echo '#include "SYS.h"'; \ echo ' SYSCALL($(@F:.o=))'; \ echo ' SET_SIZE($(@F:.o=))') >
tmp.
$(@F:.o=).s
# 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.