[glib] gio tests: add codegen to BUILT_SOURCES



commit 66e2ffe97869e13562b13c51d5dbd3ea1a89bd51
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Mar 7 07:41:50 2014 -0500

    gio tests: add codegen to BUILT_SOURCES
    
    We need to have these in BUILT_SOURCES so that 'make' knows to generate them
    before attempting to compile other .c files in the same directory (since some
    of these files include the header).
    
    Should fix up remaining issues about partial versions of this file being
    included under parallel builds.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725891

 gio/tests/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 270faf6..2c54e59 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -435,6 +435,7 @@ gdbus_threading_SOURCES                  = $(gdbus_sessionbus_sources) gdbus-thr
 gmenumodel_SOURCES                       = $(gdbus_sessionbus_sources) gmenumodel.c
 gnotification_SOURCES                    = $(gdbus_sessionbus_sources) gnotification.c 
gnotification-server.h gnotification-server.c
 
+BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
 gdbus-test-codegen.o: gdbus-test-codegen-generated.h
 gdbus-test-codegen-generated.h: test-codegen.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
        $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \


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