[gnumeric] Perl: improve the dependency situation.



commit 98e904714783a747b0cfa555157fcc8003bb9aa4
Author: Morten Welinder <terra gnome org>
Date:   Sun May 27 12:55:42 2018 -0400

    Perl: improve the dependency situation.

 plugins/perl-loader/Makefile.am | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/plugins/perl-loader/Makefile.am b/plugins/perl-loader/Makefile.am
index dc87f3c61..245d45805 100644
--- a/plugins/perl-loader/Makefile.am
+++ b/plugins/perl-loader/Makefile.am
@@ -22,9 +22,23 @@ nodist_perl_loader_la_SOURCES = \
        xsinit.c
 
 # Auto dep tracking is off here.  Add a few deps by hand
-boot.lo: $(srcdir)/../../gnumeric-config.h $(srcdir)/../../src/gnumeric.h $(srcdir)/../../src/gnm-plugin.h 
-perl-loader.lo: $(srcdir)/../../gnumeric-config.h $(srcdir)/../../src/gnumeric.h $(srcdir)/../../src/expr.h 
$(srcdir)/../../src/value.h $(srcdir)/../../src/sheet.h
-perl-gnumeric.lo: $(srcdir)/../../gnumeric-config.h $(srcdir)/../../src/gnumeric.h 
$(srcdir)/../../src/expr.h $(srcdir)/../../src/value.h $(srcdir)/../../src/func.h
+some_deps =                                    \
+       $(top_srcdir)/src/application.h         \
+       $(top_srcdir)/src/expr.h                \
+       $(top_srcdir)/src/func.h                \
+       $(top_srcdir)/src/gnm-plugin.h          \
+       $(top_srcdir)/src/gnumeric.h            \
+       $(top_srcdir)/src/sheet.h               \
+       $(top_srcdir)/src/value.h               \
+       $(top_srcdir)/src/workbook.h            \
+       $(top_srcdir)/src/workbook-view.h       \
+       perl-gnumeric.h                         \
+       perl-loader.h
+
+
+boot.lo: $(some_deps)
+perl-loader.lo: $(some_deps)
+perl-gnumeric.lo: $(some_deps)
 
 
 # Use the right compiler.  This is not 100% correct: we use GNUMERIC_CFLAGS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]