OSDN Git Service

extra/locale/Makefile: Consider the case of building out of sourcedir
authorKhem Raj <raj.khem@gmail.com>
Sun, 19 Dec 2010 05:08:58 +0000 (21:08 -0800)
committerKhem Raj <raj.khem@gmail.com>
Sun, 19 Dec 2010 05:08:58 +0000 (21:08 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
extra/locale/Makefile

index 11f362a..ff229e2 100644 (file)
@@ -4,10 +4,10 @@
 #
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
-
 top_srcdir=../../
-top_builddir=../../
+top_builddir=$(if $(O),$(O),../../)/
+
 all: objs
-include $(top_builddir)Rules.mak
+include $(top_srcdir)Rules.mak
 include Makefile.in
 include $(top_srcdir)Makerules