From caa1c0e4e51d4835f64cfa169c0f098307ddc4d4 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 21 Dec 2021 17:04:03 +0800 Subject: [PATCH] gdk: Split out public headers listing This is so that we can share the list with other Makefile-based build systems to generate the enumeration sources. --- gdk/Makefile.am | 46 ++--------------------------------------- gdk/gdk-pub-headers.mak | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 44 deletions(-) create mode 100644 gdk/gdk-pub-headers.mak diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 710a5488ae..c6639c1a28 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -1,5 +1,7 @@ ## Makefile.am for gtk+/gdk include $(top_srcdir)/Makefile.decl +include gdk-pub-headers.mak + -include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = INTROSPECTION_SCANNER_ENV = \ @@ -63,50 +65,6 @@ LDADD = \ # # setup source file variables # -# -# GDK header files for public installation (non-generated) -# -# -gdk_public_h_sources = \ - gdk.h \ - gdk-autocleanup.h \ - gdkapplaunchcontext.h \ - gdkcairo.h \ - gdkcursor.h \ - gdkdevice.h \ - gdkdevicepad.h \ - gdkdevicetool.h \ - gdkdevicemanager.h \ - gdkdisplay.h \ - gdkdisplaymanager.h \ - gdkdnd.h \ - gdkdrawingcontext.h \ - gdkevents.h \ - gdkframetimings.h \ - gdkglcontext.h \ - gdkkeys.h \ - gdkkeysyms.h \ - gdkkeysyms-compat.h \ - gdkmain.h \ - gdkmonitor.h \ - gdkpango.h \ - gdkframeclock.h \ - gdkpixbuf.h \ - gdkprivate.h \ - gdkproperty.h \ - gdkrectangle.h \ - gdkrgba.h \ - gdkscreen.h \ - gdkseat.h \ - gdkselection.h \ - gdktestutils.h \ - gdkthreads.h \ - gdktypes.h \ - gdkvisual.h \ - gdkwindow.h - -deprecated_h_sources = \ - deprecated/gdkcolor.h gdk_h_sources = \ $(gdk_public_h_sources) \ diff --git a/gdk/gdk-pub-headers.mak b/gdk/gdk-pub-headers.mak new file mode 100644 index 0000000000..450d4b064b --- /dev/null +++ b/gdk/gdk-pub-headers.mak @@ -0,0 +1,44 @@ +# +# GDK header files for public installation (non-generated) +# +# +gdk_public_h_sources = \ + gdk.h \ + gdk-autocleanup.h \ + gdkapplaunchcontext.h \ + gdkcairo.h \ + gdkcursor.h \ + gdkdevice.h \ + gdkdevicepad.h \ + gdkdevicetool.h \ + gdkdevicemanager.h \ + gdkdisplay.h \ + gdkdisplaymanager.h \ + gdkdnd.h \ + gdkdrawingcontext.h \ + gdkevents.h \ + gdkframetimings.h \ + gdkglcontext.h \ + gdkkeys.h \ + gdkkeysyms.h \ + gdkkeysyms-compat.h \ + gdkmain.h \ + gdkmonitor.h \ + gdkpango.h \ + gdkframeclock.h \ + gdkpixbuf.h \ + gdkprivate.h \ + gdkproperty.h \ + gdkrectangle.h \ + gdkrgba.h \ + gdkscreen.h \ + gdkseat.h \ + gdkselection.h \ + gdktestutils.h \ + gdkthreads.h \ + gdktypes.h \ + gdkvisual.h \ + gdkwindow.h + +deprecated_h_sources = \ + deprecated/gdkcolor.h