diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2018-10-15 12:40:19 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2018-10-15 18:21:02 +0800 |
commit | 81f87e507ebdf21184892fa5b2b51eb007df84b5 (patch) | |
tree | 230b015faefab521fb2a67155651f7898bc97c72 | |
parent | a13a110446c071765c604991402f7a8ec861b93f (diff) | |
download | libpeas-81f87e507ebdf21184892fa5b2b51eb007df84b5.tar.gz |
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.
-rw-r--r-- | libpeas-gtk/Makefile.am | 24 | ||||
-rw-r--r-- | 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 |