From 0dfa2c84c21ed47f380328861e893d2a9879426d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 Sep 1999 04:34:38 +0000 Subject: 1999-09-09 Roland McGrath * Makeconf (link-executable): New variable, partial linking commands for executables. ($(target)): Use it. Move .o's before -Wl,-(, just cause. ($(addsuffix .static,$(target))): New static pattern rule, use `$(link-executable) -static' and static hurd libs. [$(doinst) = one]: Give deps to $(target).static too. {"Decode makemode" page}: Set linktarg instead of cleantarg for each makemode that sets only one. [$(makemode) != library]: Append $(linktarg:=.static) to linktarg. [$(cleantarg) empty]: Set cleantarg to $(linktarg). [Installation section] (targets): Set to $(target) if empty. (installable): New variable, union of $(linktarg) and $(targets). Remove conditionals on $(doinst), leaving only multi-target version. Use $(installable) rather than $(targets) to compute list of targets for static pattern rule that does the install. (install-targets): New variable, $(targets) plus subset of $(linktarg) matching $(build-static:=.static). (all): Depend on $(install-targets) rather than $(targets). (install): Likewise for computed list of targets in $(installationdir). * config.make.in (build-static): New variable. * configure.in: Support --enable-static-progs=LIST. --- config.make.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config.make.in') diff --git a/config.make.in b/config.make.in index 6ac85f9e..c9371150 100644 --- a/config.make.in +++ b/config.make.in @@ -6,6 +6,7 @@ asm_syntax = @asm_syntax@ # Build options. build-profiled = @enable_profile@ +build-static = @enable_static_progs@ # Prefix prepended to names of machine-independent installed files. prefix = @prefix@ -- cgit v1.2.3