From 4e39a67ef13701e7b7fef81205fd72da796cb377 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 19 Sep 1999 03:25:12 +0000 Subject: 1999-09-18 Roland McGrath * Makeconf [$(makemode) != misc]: Use this to protect linking rules, so we don't define any rule for $(targets) if $(makemode) is misc. --- Makeconf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 3985b10f..f0b56c6f 100644 --- a/Makeconf +++ b/Makeconf @@ -149,6 +149,17 @@ else linktarg := $(linktarg) $(linktarg:=.static) endif +ifeq ($(makemode),misc) + ifndef doinst + doinst := many + endif + ifndef installationdir + ifneq (,$(target)$(targets)) + ?Error subdir Makefile must define installationdir + endif + endif +endif + ifeq ($(cleantarg),) cleantarg := $(linktarg) endif @@ -243,6 +254,8 @@ ifeq ($(doinst),many) target = $(filter-out $(special-targets),$(targets)) endif +ifneq ($(makemode),misc) + ifeq ($(doinst),one) $(target) $(target).static: $(OBJS) $(OTHERLIBS) $(library_deps) endif @@ -326,6 +339,8 @@ ifneq ($(makemode),library) hurd-bug-addr-dir-dep = libhurdbugaddr endif +endif # makemode != misc + directory-depend: $(..)$(dir).d $(..)$(dir).d: $(srcdir)/Makefile rm -f $@ -- cgit v1.2.3