summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-18 03:13:07 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-18 03:13:07 +0000
commit94c41e72b5fb8e961eaacf23ec604a7fb7b87ebb (patch)
treef875623f638b7a0c14859da7ba3ce609289c43d2 /Makerules
parent85b6ebca5cef107dfafa9150605aaae1f8c51827 (diff)
touchup headers target somemore so building in subdirs works nicely again
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 0dcdae39c..a7195681b 100644
--- a/Makerules
+++ b/Makerules
@@ -29,7 +29,7 @@ all_objs: $(sort $(shared_objs) $(ar_objs))
else
all_objs: $(ar_objs)
endif
-$(shared_objs) $(ar_objs): | headers
+$(shared_objs) $(ar_objs): | $(sub_headers)
headers-y: $(headers-y)
@true
@@ -162,7 +162,7 @@ CFLAGS-.oS+=$(PICFLAG) -DSHARED
%.s: %.c ; $(compile.s)
%.s: %.S ; $(compile.s)
-$(top_builddir)lib/interp.c: | headers
+$(top_builddir)lib/interp.c: | $(sub_headers)
$(Q)$(INSTALL) -d $(dir $@)
$(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@
$(Q)echo "#include <features.h>" >> $@
@@ -180,7 +180,7 @@ $(libc):
@cd $(top_builddir); $(MAKE) lib/$(patsubst %.$(MAJOR_VERSION),%,$(notdir $@))
$(headers_dep):
- @cd $(top_builddir); $(MAKE) headers
+ $(Q)cd $(top_builddir); $(MAKE) headers
CRT := crt1