summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
commit0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch)
tree2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /Rules
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
downloadglibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.gz
2.5-18.1
Diffstat (limited to 'Rules')
-rw-r--r--Rules12
1 files changed, 7 insertions, 5 deletions
diff --git a/Rules b/Rules
index a29daaa7b5..5ace24cee0 100644
--- a/Rules
+++ b/Rules
@@ -1,4 +1,5 @@
-# Copyright (C) 1991-2000,2002,2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1991-2000,2002,2003,2004,2005,2006
+# Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +27,7 @@ endif
all: # Don't let the default goal come from Makeconfig.
-include ../Makeconfig
+include $(firstword $(..) ../)Makeconfig
ifndef subdir
Each subdirectory makefile must define the `subdir' variable.
@@ -64,7 +65,7 @@ endif
# See below. This must be set before Makerules processes it.
before-compile += $(common-objpfx)bits/stdio_lim.h
-include ../Makerules
+include $(..)Makerules
.PHONY: subdir_lib
subdir_lib: lib-noranlib
@@ -165,8 +166,9 @@ distclean: clean
.PHONY: subdir_install
subdir_install: install-no-libc.a lib-noranlib stubs
-.PHONY: subdir_TAGS
-subdir_TAGS: TAGS
+.PHONY: subdir_objs subdir_stubs
+subdir_objs: objs
+subdir_stubs: stubs
# Target required by the Hurd to ensure that all the MiG-generated
# headers are in place before building a subdirectory.