Compile with -DG_DISABLE_DEPRECATED. See #52790.
[platform/upstream/atk.git] / atk / Makefile.am
index ee601b9..d0743a4 100644 (file)
@@ -65,6 +65,7 @@ MAINTAINERCLEANFILES +=       \
 
 INCLUDES = \
        -I$(top_srcdir)         \
+       -DG_DISABLE_DEPRECATED  \
        @DEP_CFLAGS@
 
 LDFLAGS =  \
@@ -100,11 +101,11 @@ atk_headers = \
         atkutil.h              \
         atkvalue.h
 
-libatkinclude_HEADERS =        \
-       $(atk_headers)  \
+libatkinclude_HEADERS =                \
+       $(atk_headers)          \
        $(atk_built_headers)
 
-$(libatk_la_OBJECTS): atkmarshal.c atkmarshal.h
+$(libatk_la_OBJECTS): atkmarshal.c atkmarshal.h $(atk_built_headers)
 
 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
        @true