[libpeas/msvc: 1/12] libpeas/Makefile.am: Split out the source/headers listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas/msvc: 1/12] libpeas/Makefile.am: Split out the source/headers listings
- Date: Mon, 15 Oct 2018 09:41:06 +0000 (UTC)
commit b9a27592a90229c3ef6805ad6e82d7d50933dd08
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Oct 15 12:39:02 2018 +0800
libpeas/Makefile.am: Split out the source/headers listings
This is so that we can include those as a makefile snippet so that we
can share between autotools Makefiles and NMake Makefiles.
libpeas/Makefile.am | 50 +++++++++---------------------------------------
libpeas/peas-sources.mak | 41 +++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 41 deletions(-)
---
diff --git a/libpeas/Makefile.am b/libpeas/Makefile.am
index 660ddff..02331ff 100644
--- a/libpeas/Makefile.am
+++ b/libpeas/Makefile.am
@@ -23,47 +23,15 @@ endif
libpeas_1_0_la_LIBADD = $(PEAS_LIBS)
-INST_H_FILES = \
- peas-autocleanups.h \
- peas-plugin-info.h \
- peas-object-module.h \
- peas-extension-base.h \
- peas-extension.h \
- peas-extension-set.h \
- peas-activatable.h \
- peas-engine.h \
- peas.h
-
-NOINST_H_FILES = \
- peas-debug.h \
- peas-dirs.h \
- peas-engine-priv.h \
- peas-i18n.h \
- peas-introspection.h \
- peas-plugin-info-priv.h \
- peas-plugin-loader.h \
- peas-plugin-loader-c.h \
- peas-utils.h
-
-C_FILES = \
- peas-activatable.c \
- peas-debug.c \
- peas-dirs.c \
- peas-engine.c \
- peas-extension.c \
- peas-extension-base.c \
- peas-extension-set.c \
- peas-i18n.c \
- peas-introspection.c \
- peas-object-module.c \
- peas-plugin-info.c \
- peas-plugin-loader.c \
- peas-plugin-loader-c.c \
- peas-utils.c
-
-BUILT_SOURCES = \
- peas-marshal.c \
- peas-marshal.h
+include peas-sources.mak
+
+INST_H_FILES = $(PEAS_PUBLIC_HEADERS)
+
+NOINST_H_FILES = $(PEAS_PRIVATE_HEADERS)
+
+C_FILES = $(PEAS_SOURCES)
+
+BUILT_SOURCES = $(PEAS_MARSHAL_SOURCES)
libpeas_1_0_la_SOURCES = \
$(INST_H_FILES) \
diff --git a/libpeas/peas-sources.mak b/libpeas/peas-sources.mak
new file mode 100644
index 0000000..f836c91
--- /dev/null
+++ b/libpeas/peas-sources.mak
@@ -0,0 +1,41 @@
+PEAS_PUBLIC_HEADERS = \
+ peas-autocleanups.h \
+ peas-plugin-info.h \
+ peas-object-module.h \
+ peas-extension-base.h \
+ peas-extension.h \
+ peas-extension-set.h \
+ peas-activatable.h \
+ peas-engine.h \
+ peas.h
+
+PEAS_PRIVATE_HEADERS = \
+ peas-debug.h \
+ peas-dirs.h \
+ peas-engine-priv.h \
+ peas-i18n.h \
+ peas-introspection.h \
+ peas-plugin-info-priv.h \
+ peas-plugin-loader.h \
+ peas-plugin-loader-c.h \
+ peas-utils.h
+
+PEAS_SOURCES = \
+ peas-activatable.c \
+ peas-debug.c \
+ peas-dirs.c \
+ peas-engine.c \
+ peas-extension.c \
+ peas-extension-base.c \
+ peas-extension-set.c \
+ peas-i18n.c \
+ peas-introspection.c \
+ peas-object-module.c \
+ peas-plugin-info.c \
+ peas-plugin-loader.c \
+ peas-plugin-loader-c.c \
+ peas-utils.c
+
+PEAS_MARSHAL_SOURCES = \
+ peas-marshal.c \
+ peas-marshal.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]