summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-07 02:02:55 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-07 02:02:55 +0000
commit301611ceeacd3783502826874fda6cd3ef6be290 (patch)
tree1694b32e78af1212470169d9e02fde9182e388cf /Makeconf
parentf6fe2087d876fbbb689e186e46da0d9de32b66f8 (diff)
(Building targets) [doinst == many]: Don't try and build
$(special-targets).
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index e4bbe206..60a93201 100644
--- a/Makeconf
+++ b/Makeconf
@@ -26,6 +26,8 @@
# Types `servers' and `utilities' should define
# targets (the names of all the programs built)
# foo-HURDLIBS (for each target FOO)
+# special-targets (targets which should not be built the normal way
+# and have their own rules)
# Type `library' should define
# libname (the name of the library, without .a.)
@@ -168,7 +170,7 @@ $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS)
endif
ifeq ($(doinst),many)
-$(targets): %:
+$(filter-out $(special-targets),$(targets)): %:
$(CC) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) \
-o $@ '-Wl,-(' $(filter-out $(HURDLIBS-files),$+) \
$(HURDLIBS-libs) $($@-OTHERLIBS) $(libc) '-Wl,-)'