summaryrefslogtreecommitdiff
path: root/archival/libunarchive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/Makefile')
-rw-r--r--archival/libunarchive/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/archival/libunarchive/Makefile b/archival/libunarchive/Makefile
index 9a20ea2..e985fa4 100644
--- a/archival/libunarchive/Makefile
+++ b/archival/libunarchive/Makefile
@@ -17,13 +17,15 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-TOPDIR:= ../../
+top_srcdir=../..
+top_builddir=../..
+srcdir=$(top_srcdir)/archival/libunarchive
LIBUNARCHIVE_DIR:=./
-include $(TOPDIR).config
-include $(TOPDIR)Rules.mak
-include Makefile.in
+include $(top_builddir)/Rules.mak
+include $(top_builddir)/.config
+include $(srcdir)/Makefile.in
all: $(libraries-y)
--include $(TOPDIR).depend
+-include $(top_builddir)/.depend
clean:
rm -f *.o *.a $(AR_TARGET)