about summary refs log tree commit diff
path: root/csu/Makefile
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-07-26 18:18:43 +0000
committerGreg McGary <greg@mcgary.org>2000-07-26 18:18:43 +0000
commitac556388135e5bf0578cb24bc958870ff3a0f00c (patch)
tree4c3c8c7213d349cd412270e4346b94f85d7521e0 /csu/Makefile
parente04b831ab49dfb24f1c1a70b3816bff5515cbab9 (diff)
downloadglibc-ac556388135e5bf0578cb24bc958870ff3a0f00c.tar.gz
glibc-ac556388135e5bf0578cb24bc958870ff3a0f00c.tar.xz
glibc-ac556388135e5bf0578cb24bc958870ff3a0f00c.zip
* Makeconfig (+link-bounded, link-libc-bounded,
link-extra-libs-bounded): New variables. 
(built-program-cmd): Omit $(run-program-prefix) for static BP tests. 
* Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. 
* Rules (tests-bp.out): New variable. 
(tests): Conditionally add BP tests. 
(binaries-bounded): Add variable and associated rule. 
* csu/Makefile [build-bounded] (extra-objs, install-lib): 
Move conditional stuff after place where condition is defined.
Diffstat (limited to 'csu/Makefile')
-rw-r--r--csu/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 2b697a7079..b57d3a7235 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -34,10 +34,6 @@ extra-objs = start.o gmon-start.o \
 omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
 			      b$(start-installed-name) $(csu-dummies))
 install-lib = $(start-installed-name) g$(start-installed-name) $(csu-dummies)
-ifeq (yes,$(build-bounded))
-extra-objs += b$(start-installed-name)
-install-lib += b$(start-installed-name)
-endif
 distribute = initfini.c gmon-start.c start.c defs.awk munch.awk \
 	     abi-note.S init.c munch-tmpl.c
 generated = version-info.h
@@ -47,6 +43,11 @@ all: # Make this the default target; it will be defined in Rules.
 
 include ../Makeconfig
 
+ifeq (yes,$(build-bounded))
+extra-objs += b$(start-installed-name)
+install-lib += b$(start-installed-name)
+endif
+
 ifeq (yes,$(elf))
 before-compile += $(objpfx)abi-tag.h
 generated += abi-tag.h