diff options
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/Makefile | 4 | ||||
| -rw-r--r-- | coreutils/libcoreutils/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/coreutils/Makefile b/coreutils/Makefile index d3f745a0f..f7fdc4bab 100644 --- a/coreutils/Makefile +++ b/coreutils/Makefile | |||
| @@ -4,8 +4,12 @@ | |||
| 4 | # | 4 | # |
| 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
| 6 | 6 | ||
| 7 | ifndef top_srcdir | ||
| 7 | top_srcdir=.. | 8 | top_srcdir=.. |
| 9 | endif | ||
| 10 | ifndef top_builddir | ||
| 8 | top_builddir=.. | 11 | top_builddir=.. |
| 12 | endif | ||
| 9 | srcdir=$(top_srcdir)/coreutils | 13 | srcdir=$(top_srcdir)/coreutils |
| 10 | SHELLUTILS_DIR:=./ | 14 | SHELLUTILS_DIR:=./ |
| 11 | include $(top_builddir)/Rules.mak | 15 | include $(top_builddir)/Rules.mak |
diff --git a/coreutils/libcoreutils/Makefile b/coreutils/libcoreutils/Makefile index 0a1c80a41..e8bc65d3d 100644 --- a/coreutils/libcoreutils/Makefile +++ b/coreutils/libcoreutils/Makefile | |||
| @@ -17,8 +17,12 @@ | |||
| 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | # | 18 | # |
| 19 | 19 | ||
| 20 | ifndef top_srcdir | ||
| 20 | top_srcdir=../.. | 21 | top_srcdir=../.. |
| 22 | endif | ||
| 23 | ifndef top_builddir | ||
| 21 | top_builddir=../.. | 24 | top_builddir=../.. |
| 25 | endif | ||
| 22 | srcdir=$(top_srcdir)/coreutils/libcoreutils | 26 | srcdir=$(top_srcdir)/coreutils/libcoreutils |
| 23 | LIBCOREUTILS_DIR:=./ | 27 | LIBCOREUTILS_DIR:=./ |
| 24 | include $(top_builddir)/Rules.mak | 28 | include $(top_builddir)/Rules.mak |
