[gtk/msvc-project-improvements: 2/4] gdk: Split out publib headers listing




commit b2ddf7e058584f915d0da7f8daa30198bb201260
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Dec 21 17:04:03 2021 +0800

    gdk: Split out publib 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(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]