[pangomm/master.nmake: 4/6] build: Split out GNU-specific stuff from filelist.am



commit 00f06c2a7b022fc6dba1507ec89f3129b1daba0b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Aug 22 17:39:07 2018 +0800

    build: Split out GNU-specific stuff from filelist.am
    
    This is to prepare for it to be shared with non-GNU Make build systems.

 pango/pangomm/Makefile.am | 4 ++++
 pango/pangomm/filelist.am | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pango/pangomm/Makefile.am b/pango/pangomm/Makefile.am
index 08de02b..1d0dbd4 100644
--- a/pango/pangomm/Makefile.am
+++ b/pango/pangomm/Makefile.am
@@ -19,6 +19,10 @@ lib_LTLIBRARIES = libpangomm-@PANGOMM_API_VERSION@.la
 
 include $(srcdir)/../src/filelist.am
 include $(srcdir)/filelist.am
+
+# Split out from $(srcdir)/filelist.am
+files_built_ph = $(patsubst %.hg,private/%_p.h,$(files_hg))
+
 include $(top_srcdir)/build/compile-binding.am
 
 local_cppflags = $(binding_includes) $(binding_cppflags) -DPANGOMM_BUILD=1
diff --git a/pango/pangomm/filelist.am b/pango/pangomm/filelist.am
index 1520f53..9bf9b89 100644
--- a/pango/pangomm/filelist.am
+++ b/pango/pangomm/filelist.am
@@ -2,7 +2,6 @@
 
 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
 files_extra_h  = init.h types.h wrap_init.h
 files_extra_ph =


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