[libpeas/msvc: 2/12] libpeas-gtk/Makefile.am: Split out source/headers listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas/msvc: 2/12] libpeas-gtk/Makefile.am: Split out source/headers listings
- Date: Mon, 15 Oct 2018 09:41:11 +0000 (UTC)
commit c22b679807b9e0754408cc35e44034cfc2c5da44
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 | 22 +++++-----------------
libpeas-gtk/peas-gtk-sources.mak | 17 +++++++++++++++++
2 files changed, 22 insertions(+), 17 deletions(-)
---
diff --git a/libpeas-gtk/Makefile.am b/libpeas-gtk/Makefile.am
index 108c901..609feff 100644
--- a/libpeas-gtk/Makefile.am
+++ b/libpeas-gtk/Makefile.am
@@ -24,23 +24,11 @@ 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
+INST_H_FILES = $(PEAS_GTK_PUBLIC_HEADERS)
+
+NOINST_H_FILES = $(PEAS_GTK_PRIVATE_HEADERS)
+
+C_FILES = $(PEAS_GTK_SOURCES)
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..a6d680f
--- /dev/null
+++ b/libpeas-gtk/peas-gtk-sources.mak
@@ -0,0 +1,17 @@
+PEAS_GTK_PUBLIC_HEADERS = \
+ 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_HEADERS = \
+ peas-gtk-disable-plugins-dialog.h \
+ peas-gtk-plugin-manager-store.h
+
+PEAS_GTK_SOURCES = \
+ 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
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]