[amtk/master.nmake: 1/5] amtk/Makefile.am: Split out source listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [amtk/master.nmake: 1/5] amtk/Makefile.am: Split out source listings
- Date: Tue, 28 Apr 2020 05:44:22 +0000 (UTC)
commit 7b4cde7579debcb501b6b080fc3d6978f506fab5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Apr 28 13:08:48 2020 +0800
amtk/Makefile.am: Split out source listings
This will enable us to share the source listings with other Makefile-based
build systems, such as NMake.
amtk/Makefile.am | 37 +------------------------------------
amtk/amtk-sources.mak | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 36 deletions(-)
---
diff --git a/amtk/Makefile.am b/amtk/Makefile.am
index 1600bab..c751982 100644
--- a/amtk/Makefile.am
+++ b/amtk/Makefile.am
@@ -1,4 +1,5 @@
include $(top_srcdir)/aminclude_static.am
+include $(srcdir)/amtk-sources.mak
clean-local: code-coverage-clean
distclean-local: code-coverage-dist-clean
@@ -12,42 +13,6 @@ AM_CPPFLAGS = \
$(CODE_COVERAGE_CPPFLAGS) \
$(AMTK_DEP_CFLAGS)
-amtk_public_headers = \
- amtk.h \
- amtk-action-info.h \
- amtk-action-info-central-store.h \
- amtk-action-info-store.h \
- amtk-action-map.h \
- amtk-application-window.h \
- amtk-factory.h \
- amtk-gmenu.h \
- amtk-init.h \
- amtk-menu-item.h \
- amtk-menu-shell.h \
- amtk-shortcuts.h \
- amtk-types.h \
- amtk-utils.h
-
-amtk_public_c_files = \
- amtk-action-info.c \
- amtk-action-info-central-store.c \
- amtk-action-info-store.c \
- amtk-action-map.c \
- amtk-application-window.c \
- amtk-factory.c \
- amtk-gmenu.c \
- amtk-init.c \
- amtk-menu-item.c \
- amtk-menu-shell.c \
- amtk-shortcuts.c \
- amtk-utils.c
-
-amtk_built_public_headers = \
- amtk-enum-types.h
-
-amtk_built_public_c_files = \
- amtk-enum-types.c
-
# Helper Libtool library, so that the private functions can be used in unit
# tests.
noinst_LTLIBRARIES = libamtk-core.la
diff --git a/amtk/amtk-sources.mak b/amtk/amtk-sources.mak
new file mode 100644
index 0000000..1a85090
--- /dev/null
+++ b/amtk/amtk-sources.mak
@@ -0,0 +1,37 @@
+# Source listings for libamtk
+
+amtk_public_headers = \
+ amtk.h \
+ amtk-action-info.h \
+ amtk-action-info-central-store.h \
+ amtk-action-info-store.h \
+ amtk-action-map.h \
+ amtk-application-window.h \
+ amtk-factory.h \
+ amtk-gmenu.h \
+ amtk-init.h \
+ amtk-menu-item.h \
+ amtk-menu-shell.h \
+ amtk-shortcuts.h \
+ amtk-types.h \
+ amtk-utils.h
+
+amtk_public_c_files = \
+ amtk-action-info.c \
+ amtk-action-info-central-store.c \
+ amtk-action-info-store.c \
+ amtk-action-map.c \
+ amtk-application-window.c \
+ amtk-factory.c \
+ amtk-gmenu.c \
+ amtk-init.c \
+ amtk-menu-item.c \
+ amtk-menu-shell.c \
+ amtk-shortcuts.c \
+ amtk-utils.c
+
+amtk_built_public_headers = \
+ amtk-enum-types.h
+
+amtk_built_public_c_files = \
+ amtk-enum-types.c
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]