]> Pileus Git - ~andy/gtk/blobdiff - gdk/Makefile.am
x11: Fix introspection build
[~andy/gtk] / gdk / Makefile.am
index 2557bda88c078b89e8f18894a309bbfedc507546..2cd935379b399c0d9e6a362c2d639026cb2b05c9 100644 (file)
@@ -36,9 +36,9 @@ EXTRA_DIST +=                         \
 AM_CPPFLAGS =                          \
        -DG_LOG_DOMAIN=\"Gdk\"          \
        -DGDK_COMPILATION               \
-       -I$(top_srcdir)                 \
        -I$(top_builddir)               \
        -I$(top_builddir)/gdk           \
+       -I$(top_srcdir)                 \
        $(GTK_DEBUG_FLAGS)              \
        $(GDK_DEP_CFLAGS)
 
@@ -75,11 +75,13 @@ gdk_public_h_sources =                              \
        gdkdisplaymanager.h                     \
        gdkdnd.h                                \
        gdkevents.h                             \
+       gdkframetimings.h                       \
        gdkkeys.h                               \
        gdkkeysyms.h                            \
        gdkkeysyms-compat.h                     \
        gdkmain.h                               \
        gdkpango.h                              \
+       gdkframeclock.h                         \
        gdkpixbuf.h                             \
        gdkprivate.h                            \
        gdkproperty.h                           \
@@ -90,7 +92,6 @@ gdk_public_h_sources =                                \
        gdktestutils.h                          \
        gdkthreads.h                            \
        gdktypes.h                              \
-       gdkversionmacros.h                      \
        gdkvisual.h                             \
        gdkwindow.h
 
@@ -102,6 +103,8 @@ gdk_private_headers =                               \
        gdkdisplaymanagerprivate.h              \
        gdkdisplayprivate.h                     \
        gdkdndprivate.h                         \
+       gdkframeclockidle.h                     \
+       gdkframeclockprivate.h                  \
        gdkscreenprivate.h                      \
        gdkinternals.h                          \
        gdkintl.h                               \
@@ -122,10 +125,13 @@ gdk_c_sources =                           \
        gdkdisplaymanager.c                     \
        gdkdnd.c                                \
        gdkevents.c                             \
+       gdkframetimings.c                       \
        gdkglobals.c                            \
        gdkkeys.c                               \
        gdkkeyuni.c                             \
        gdkoffscreenwindow.c                    \
+       gdkframeclock.c                         \
+       gdkframeclockidle.c                     \
        gdkpango.c                              \
        gdkpixbuf-drawable.c                    \
        gdkrectangle.c                          \
@@ -140,6 +146,7 @@ gdk_built_sources =                                 \
        gdkenumtypes.c                          \
        gdkmarshalers.h                         \
        gdkmarshalers.c                         \
+       gdkversionmacros.h                      \
        gdkenumtypes.h
 
 #
@@ -204,17 +211,14 @@ INTROSPECTION_GIRS += Gdk-3.0.gir
 
 if USE_X11
 x11_introspection_files =              \
-       x11/checksettings.c             \
        x11/gdkapplaunchcontext-x11.c   \
        x11/gdkasync.c                  \
        x11/gdkcursor-x11.c             \
        x11/gdkdevice-core-x11.c        \
        x11/gdkdevicemanager-core-x11.c \
        x11/gdkdevicemanager-x11.c      \
-       x11/gdkdevicemanager-xi.c       \
        x11/gdkdevicemanager-xi2.c      \
        x11/gdkdevice-xi2.c             \
-       x11/gdkdevice-xi.c              \
        x11/gdkdisplay-x11.c            \
        x11/gdkdnd-x11.c                \
        x11/gdkeventsource.c            \
@@ -232,7 +236,6 @@ x11_introspection_files =           \
        x11/gdkxftdefaults.c            \
        x11/gdkxid.c                    \
        x11/xsettings-client.c          \
-       x11/xsettings-common.c          \
        x11/gdkx.h                      \
        x11/gdkx11cursor.h              \
        x11/gdkx11display.h             \
@@ -308,7 +311,9 @@ endif
 lib_LTLIBRARIES = libgdk-3.la
 
 MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
-EXTRA_DIST += $(gdk_built_sources)
+EXTRA_DIST += \
+       $(gdk_built_sources)    \
+       fallback-c89.c
 
 install-exec-hook:
 if DISABLE_EXPLICIT_DEPS
@@ -341,7 +346,8 @@ gdkmarshalers.h: @REBUILD@ gdkmarshalers.list
        && mv gdkmarshalers-h.tmp gdkmarshalers.h \
        || ( rm -f gdkmarshalers-h.tmp && exit 1)
 gdkmarshalers.c: @REBUILD@ gdkmarshalers.list
-       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --body > gdkmarshalers-c.tmp  \
+       $(AM_V_GEN) (echo "#include \"gdkmarshalers.h\""; \
+        $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --body) > gdkmarshalers-c.tmp    \
        && mv gdkmarshalers-c.tmp gdkmarshalers.c \
        || ( rm -f gdkmarshalers-c.tmp && exit 1 )