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
9 install-libtool-import-lib:
10 $(INSTALL) .libs/libatk.dll.a $(DESTDIR)$(libdir)
11 uninstall-libtool-import-lib:
12 -rm $(DESTDIR)$(libdir)/libatk.dll.a
14 install-libtool-import-lib:
15 uninstall-libtool-import-lib:
18 lib_LTLIBRARIES = libatk.la
24 $(INSTALL) atk.lib $(DESTDIR)$(libdir)
27 -rm $(DESTDIR)$(libdir)/atk.lib
33 atk_built_headers = atk-enum-types.h
34 atk_built_cfiles = atk-enum-types.c
36 $(OBJECTS): $(atk_built_headers)
43 atkgobjectaccessible.c \
48 atknoopobjectfactory.c \
57 atkstreamablecontent.c \
64 EXTRA_DIST += atkmarshal.list
65 MAINTAINERCLEANFILES += \
73 -DG_DISABLE_DEPRECATED \
77 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
81 libatkincludedir=$(includedir)/atk-1.0/atk
89 atkgobjectaccessible.h \
93 atknoopobjectfactory.h \
103 atkstreamablecontent.h \
109 libatkinclude_HEADERS = \
113 $(libatk_la_OBJECTS): atkmarshal.c atkmarshal.h $(atk_built_headers)
115 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
117 stamp-atkmarshal.h: atkmarshal.list
118 case @GLIB_GENMARSHAL@ in \
119 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
120 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
122 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
123 && (cmp -s xgen-gmh $(srcdir)/atkmarshal.h || cp xgen-gmh $(srcdir)/atkmarshal.h) \
124 && rm -f xgen-gmh xgen-gmh~ \
125 && echo timestamp > $(@F)
127 atkmarshal.c: @REBUILD@ stamp-atkmarshal.c
129 stamp-atkmarshal.c: atkmarshal.list
130 case @GLIB_GENMARSHAL@ in \
131 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
132 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
134 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
135 && (cmp -s xgen-gmc $(srcdir)/atkmarshal.c || cp xgen-gmc $(srcdir)/atkmarshal.c) \
136 && rm -f xgen-gmc xgen-gmc~ \
137 && echo timestamp > $(@F)
139 atk-enum-types.h: s-enum-types-h
142 s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
143 ( cd $(srcdir) && glib-mkenums \
144 --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
145 --fprod "/* enumerations from \"@filename@\" */\n" \
146 --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
147 --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
148 $(atk_headers) ) > tmp-atk-enum-types.h \
149 && (cmp -s tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h || cp tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h ) \
150 && rm -f tmp-atk-enum-types.h \
151 && echo timestamp > $(@F)
153 atk-enum-types.c: s-enum-types-c
156 s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
157 ( cd $(srcdir) && glib-mkenums \
158 --fhead "#include <atk.h>" \
159 --fprod "\n/* enumerations from \"@filename@\" */" \
160 --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[] = {" \
161 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
162 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
163 $(atk_headers) ) > tmp-atk-enum-types.c \
164 && (cmp -s tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c || cp tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c ) \
165 && rm -f tmp-atk-enum-types.c \
166 && echo timestamp > $(@F)
169 atk.lib: libatk.la atk.def
170 lib -name:libatk-@LT_CURRENT_MINUS_AGE@.dll -def:atk.def -out:$@
172 install-data-local: install-ms-lib install-libtool-import-lib
174 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib