-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sunrpc/Makefile (install-lib): Variable removed. (rpcsvc-objs): Variable removed. (extra-objs): Don't include $(rpcsvc-objs). (extra-libs): New variable, contains librpcsvc. (librpcsvc-routines): New variable. (librpcsvc-inhibit-o): New variable, contains .so. (omit-deps): Set this to $(librpcsvc-routines). ($(objpfx)rpcgen): Don't use $(libc.a). (lib, $(objpfx)librpcsvc.a): Targets removed. * o-iterator.mk, extra-lib.mk: New files. * Makerules (o-iterator): New variable. [extra-libs]: Include extra-lib.mk to generate rules for each word of $(extra-libs). * Makefile (distribute): Add extra-lib.mk, o-iterator.mk. (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed. * stdio/fpioconst.c, stdio/fpioconst.h: Don't use LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available exponent.
- Loading branch information
Roland McGrath
committed
Mar 17, 1995
1 parent
68b3ef4
commit 693e7b9
Showing
6 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file is included several times in a row, once | ||
# for each element of $(extra-libs). $(extra-libs-left) | ||
# is initialized first to $(extra-libs) so that with each | ||
# inclusion, we advance $(lib) to the next library name (e.g. libfoo). | ||
# The variable $($(lib)-routines) defines the list of modules | ||
# to be included in that library. | ||
|
||
lib := $(firstword $(extra-libs-left)) | ||
extra-libs-left := $(filter-out $(lib),$(extra-libs-left)) | ||
|
||
# Add each flavor of library to the lists of things to build and install. | ||
install-lib += $(foreach o,$(object-suffixes),$(lib:lib%=$(libtype$o))) | ||
extra-objs += $(foreach o,$(object-suffixes),$($(lib)-routines:=$o)) | ||
alltypes-$(lib) = $(foreach o,$(object-suffixes),\ | ||
$(objpfx)$(patsubst %,$(libtype$o),\ | ||
$(lib:lib%=%))) | ||
ifeq (yes,$(build-shared)) | ||
alltypes-$(lib) += $(objpfx)$(lib).so | ||
endif | ||
|
||
lib-noranlib: $(alltypes-$(lib)) | ||
|
||
# Use o-iterator.mk to generate a rule for each flavor of library. | ||
define o-iterator-doit | ||
$(objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \ | ||
$($(lib)-routines:%=$(objpfx)%$o); $$(build-extra-lib) | ||
endef | ||
object-suffixes-left := $(filter-out $($(lib)-inhibit-o),$(object-suffixes)) | ||
include $(o-iterator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This file is included several times in a row, once | ||
# for each element of $(object-suffixes). $(object-suffixes-left) | ||
# is initialized first to $(object-suffixes) so that with each | ||
# inclusion, we advance $o to the next suffix. | ||
|
||
o := $(firstword $(object-suffixes-left)) | ||
object-suffixes-left := $(filter-out $o,$(object-suffixes-left)) | ||
|
||
$(o-iterator-doit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters