[gtksourceviewmm/nmake-3-18: 1/6] build: Split out items from filelist.am




commit eb52be028459f5aa489e9427c1d35d9a38fe24e5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Aug 28 16:28:40 2020 +0800

    build: Split out items from filelist.am
    
    Make the parts that work only under GNU-ish Make into a file of its own, and
    include it in the Makefile.am that needs it

 docs/Makefile.am                                | 1 +
 gtksourceview/gtksourceviewmm/Makefile.am       | 1 +
 gtksourceview/gtksourceviewmm/filelist.am       | 1 -
 gtksourceview/gtksourceviewmm/filelist.gmake.am | 1 +
 4 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 50f724a..d305709 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,5 +1,6 @@
 include $(top_srcdir)/gtksourceview/src/filelist.am
 include $(top_srcdir)/gtksourceview/gtksourceviewmm/filelist.am
+include $(top_srcdir)/gtksourceview/gtksourceviewmm/filelist.gmake.am
 
 gtksourceviewmm_files_h = $(files_built_h) $(filter-out wrap_init.h,$(files_extra_h))
 
diff --git a/gtksourceview/gtksourceviewmm/Makefile.am b/gtksourceview/gtksourceviewmm/Makefile.am
index 3f32b4c..c5eff17 100644
--- a/gtksourceview/gtksourceviewmm/Makefile.am
+++ b/gtksourceview/gtksourceviewmm/Makefile.am
@@ -2,6 +2,7 @@ lib_LTLIBRARIES = libgtksourceviewmm-@GTKSOURCEVIEWMM_API_VERSION@.la
 
 include $(srcdir)/../src/filelist.am
 include $(srcdir)/filelist.am
+include $(srcdir)/filelist.gmake.am
 include $(top_srcdir)/build/compile-binding.am
 
 AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(GTKSOURCEVIEWMM_CFLAGS)
diff --git a/gtksourceview/gtksourceviewmm/filelist.am b/gtksourceview/gtksourceviewmm/filelist.am
index 793c337..ed7444b 100644
--- a/gtksourceview/gtksourceviewmm/filelist.am
+++ b/gtksourceview/gtksourceviewmm/filelist.am
@@ -1,6 +1,5 @@
 files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc
 files_built_h  = $(files_hg:.hg=.h)
-files_built_ph = $(patsubst %.hg,private/%_p.h,$(files_hg))
 files_extra_cc = init.cc markup.cc
 files_extra_h  = init.h wrap_init.h markup.h
 files_extra_ph =
diff --git a/gtksourceview/gtksourceviewmm/filelist.gmake.am b/gtksourceview/gtksourceviewmm/filelist.gmake.am
new file mode 100644
index 0000000..6654c06
--- /dev/null
+++ b/gtksourceview/gtksourceviewmm/filelist.gmake.am
@@ -0,0 +1 @@
+files_built_ph = $(patsubst %.hg,private/%_p.h,$(files_hg))
\ No newline at end of file


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