1 # We set GPATH here; this gives us semantics for GNU make
2 # which are more like other make's VPATH.
7 export_symbols = -export-symbols atk.def
8 no_undefined = -no-undefined
10 install-libtool-import-lib:
11 $(INSTALL) .libs/libatk-$(ATK_API_VERSION).dll.a $(DESTDIR)$(libdir)
12 uninstall-libtool-import-lib:
13 -rm $(DESTDIR)$(libdir)/libatk-$(ATK_API_VERSION).dll.a
15 install-libtool-import-lib:
16 uninstall-libtool-import-lib:
19 lib_LTLIBRARIES = libatk-1.0.la
22 noinst_DATA = atk-$(ATK_API_VERSION).lib
25 $(INSTALL) atk-$(ATK_API_VERSION).lib $(DESTDIR)$(libdir)
28 -rm $(DESTDIR)$(libdir)/atk-$(ATK_API_VERSION).lib
34 atk_built_headers = atk-enum-types.h
35 atk_built_cfiles = atk-enum-types.c
37 $(OBJECTS): $(atk_built_headers)
39 libatk_1_0_la_SOURCES = \
44 atkgobjectaccessible.c \
49 atknoopobjectfactory.c \
58 atkstreamablecontent.c \
65 EXTRA_DIST += atkmarshal.list
66 MAINTAINERCLEANFILES += \
74 -DG_DISABLE_DEPRECATED \
78 -version-info $(LT_VERSION_INFO) \
83 libatkincludedir=$(includedir)/atk-1.0/atk
91 atkgobjectaccessible.h \
95 atknoopobjectfactory.h \
106 atkstreamablecontent.h \
112 libatkinclude_HEADERS = \
116 $(libatk_1_0_la_OBJECTS): atkmarshal.c atkmarshal.h $(atk_built_headers)
118 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
120 stamp-atkmarshal.h: atkmarshal.list
121 case @GLIB_GENMARSHAL@ in \
122 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
123 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
125 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
126 && (cmp -s xgen-gmh $(srcdir)/atkmarshal.h || cp xgen-gmh $(srcdir)/atkmarshal.h) \
127 && rm -f xgen-gmh xgen-gmh~ \
128 && echo timestamp > $(@F)
130 atkmarshal.c: @REBUILD@ stamp-atkmarshal.c
132 stamp-atkmarshal.c: atkmarshal.list
133 case @GLIB_GENMARSHAL@ in \
134 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
135 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
137 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
138 && (cmp -s xgen-gmc $(srcdir)/atkmarshal.c || cp xgen-gmc $(srcdir)/atkmarshal.c) \
139 && rm -f xgen-gmc xgen-gmc~ \
140 && echo timestamp > $(@F)
142 atk-enum-types.h: s-enum-types-h
145 s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
146 ( cd $(srcdir) && glib-mkenums \
147 --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
148 --fprod "/* enumerations from \"@filename@\" */\n" \
149 --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
150 --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
151 $(atk_headers) ) > tmp-atk-enum-types.h \
152 && (cmp -s tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h || cp tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h ) \
153 && rm -f tmp-atk-enum-types.h \
154 && echo timestamp > $(@F)
156 atk-enum-types.c: s-enum-types-c
159 s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
160 ( cd $(srcdir) && glib-mkenums \
161 --fhead "#include <atk.h>" \
162 --fprod "\n/* enumerations from \"@filename@\" */" \
163 --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[] = {" \
164 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
165 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
166 $(atk_headers) ) > tmp-atk-enum-types.c \
167 && (cmp -s tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c || cp tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c ) \
168 && rm -f tmp-atk-enum-types.c \
169 && echo timestamp > $(@F)
172 atk-$(ATK_API_VERSION).lib: libatk-$(ATK_API_VERSION).la atk.def
173 lib -name:libatk-$(ATK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:atk.def -out:$@
175 install-data-local: install-ms-lib install-libtool-import-lib
177 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib