[libpeas/msvc: 2/12] libpeas-gtk/Makefile.am: Split out source/headers listings



commit 81f87e507ebdf21184892fa5b2b51eb007df84b5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Oct 15 12:40:19 2018 +0800

    libpeas-gtk/Makefile.am: Split out source/headers listings
    
    This is so that we can put these listings into a Makefile snippet so that
    we can share between the autotools Makefiles and the NMake Makefiles.

 libpeas-gtk/Makefile.am          | 24 +++++++-----------------
 libpeas-gtk/peas-gtk-sources.mak | 17 +++++++++++++++++
 2 files changed, 24 insertions(+), 17 deletions(-)
---
diff --git a/libpeas-gtk/Makefile.am b/libpeas-gtk/Makefile.am
index 108c901..57aa7db 100644
--- a/libpeas-gtk/Makefile.am
+++ b/libpeas-gtk/Makefile.am
@@ -24,23 +24,13 @@ AM_CPPFLAGS += -xobjective-c
 libpeas_gtk_1_0_la_LDFLAGS += -framework Cocoa
 endif
 
-INST_H_FILES = \
-       peas-gtk-autocleanups.h         \
-       peas-gtk-configurable.h         \
-       peas-gtk-plugin-manager.h       \
-       peas-gtk-plugin-manager-view.h  \
-       peas-gtk.h
-
-NOINST_H_FILES = \
-       peas-gtk-disable-plugins-dialog.h       \
-       peas-gtk-plugin-manager-store.h
-
-C_FILES = \
-       peas-gtk-configurable.c                 \
-       peas-gtk-disable-plugins-dialog.c       \
-       peas-gtk-plugin-manager.c               \
-       peas-gtk-plugin-manager-store.c         \
-       peas-gtk-plugin-manager-view.c
+include peas-gtk-sources.mak
+
+INST_H_FILES = $(PEAS_GTK_PUBLIC_HDRS)
+
+NOINST_H_FILES = $(PEAS_GTK_PRIVATE_HDRS)
+
+C_FILES = $(PEAS_GTK_SRCS)
 
 libpeas_gtk_1_0_la_SOURCES = \
        $(INST_H_FILES)                 \
diff --git a/libpeas-gtk/peas-gtk-sources.mak b/libpeas-gtk/peas-gtk-sources.mak
new file mode 100644
index 0000000..1bf586b
--- /dev/null
+++ b/libpeas-gtk/peas-gtk-sources.mak
@@ -0,0 +1,17 @@
+PEAS_GTK_PUBLIC_HDRS = \
+       peas-gtk-autocleanups.h         \
+       peas-gtk-configurable.h         \
+       peas-gtk-plugin-manager.h       \
+       peas-gtk-plugin-manager-view.h  \
+       peas-gtk.h
+
+PEAS_GTK_PRIVATE_HDRS =        \
+       peas-gtk-disable-plugins-dialog.h       \
+       peas-gtk-plugin-manager-store.h
+
+PEAS_GTK_SRCS =        \
+       peas-gtk-configurable.c                 \
+       peas-gtk-disable-plugins-dialog.c       \
+       peas-gtk-plugin-manager.c               \
+       peas-gtk-plugin-manager-store.c         \
+       peas-gtk-plugin-manager-view.c


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