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 \
68 MAINTAINERCLEANFILES += \
76 -DG_DISABLE_DEPRECATED \
78 -DATKLOCALEDIR=\""$(atklocaledir)"\"
81 -version-info $(LT_VERSION_INFO) \
86 libatkincludedir=$(includedir)/atk-1.0/atk
94 atkgobjectaccessible.h \
98 atknoopobjectfactory.h \
109 atkstreamablecontent.h \
115 libatkinclude_HEADERS = \
119 $(libatk_1_0_la_OBJECTS): atkmarshal.c atkmarshal.h $(atk_built_headers)
121 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
123 stamp-atkmarshal.h: atkmarshal.list
124 case @GLIB_GENMARSHAL@ in \
125 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
126 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
128 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
129 && (cmp -s xgen-gmh $(srcdir)/atkmarshal.h || cp xgen-gmh $(srcdir)/atkmarshal.h) \
130 && rm -f xgen-gmh xgen-gmh~ \
131 && echo timestamp > $(@F)
133 atkmarshal.c: @REBUILD@ stamp-atkmarshal.c
135 stamp-atkmarshal.c: atkmarshal.list
136 case @GLIB_GENMARSHAL@ in \
137 .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
138 *) glib_genmarshal=@GLIB_GENMARSHAL@ ;; \
140 $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
141 && (cmp -s xgen-gmc $(srcdir)/atkmarshal.c || cp xgen-gmc $(srcdir)/atkmarshal.c) \
142 && rm -f xgen-gmc xgen-gmc~ \
143 && echo timestamp > $(@F)
145 atk-enum-types.h: s-enum-types-h
148 s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
149 ( cd $(srcdir) && glib-mkenums \
150 --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
151 --fprod "/* enumerations from \"@filename@\" */\n" \
152 --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
153 --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
154 $(atk_headers) ) > tmp-atk-enum-types.h \
155 && (cmp -s tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h || cp tmp-atk-enum-types.h $(srcdir)/atk-enum-types.h ) \
156 && rm -f tmp-atk-enum-types.h \
157 && echo timestamp > $(@F)
159 atk-enum-types.c: s-enum-types-c
162 s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
163 ( cd $(srcdir) && glib-mkenums \
164 --fhead "#include <atk.h>" \
165 --fprod "\n/* enumerations from \"@filename@\" */" \
166 --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[] = {" \
167 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
168 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
169 $(atk_headers) ) > tmp-atk-enum-types.c \
170 && (cmp -s tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c || cp tmp-atk-enum-types.c $(srcdir)/atk-enum-types.c ) \
171 && rm -f tmp-atk-enum-types.c \
172 && echo timestamp > $(@F)
175 atk-$(ATK_API_VERSION).lib: libatk-$(ATK_API_VERSION).la atk.def
176 lib -name:libatk-$(ATK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:atk.def -out:$@
178 install-data-local: install-ms-lib install-libtool-import-lib
180 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib