diff options
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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. |