+atk-enum-types.c: s-enum-types-c
+ @true
+s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
+ $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
+ --fhead "#include \"config.h\"\n\n#include <atk.h>" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
+ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
+ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
+ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
+ $(atk_headers) ) > tmp-atk-enum-types.c \
+ && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c atk-enum-types.c ) \
+ && rm -f tmp-atk-enum-types.c \
+ && echo timestamp > $(@F)
+
+# ---------- Win32 stuff ----------
+
+if OS_WIN32
+libatk_1_0_la_LDFLAGS += -no-undefined -Wl,atk-win32-res.o
+libatk_1_0_la_DEPENDENCIES = atk-win32-res.o
+endif
+
+atk-win32-res.o: atk.rc
+ $(WINDRES) $< $@
+
+EXTRA_DIST = atk.rc.in atkmarshal.list atk.rc atkversion.h.in
+
+DISTCLEANFILES = \
+ stamp-atkmarshal.h stamp-atkmarshal.c \
+ s-enum-types-h s-enum-types-c
+
+distclean-local:
+ if test $(srcdir) = .; then :; else \
+ rm -f atkmarshal.h atkmarshal.c atk-enum-types.h atk-enum-types.c; \
+ fi