1 include $(top_srcdir)/Makefile.decl
12 (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gio.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gio.def.tmp && \
13 mv gio.def.tmp gio.def
15 gioalias.h: gio.symbols
16 $(PERL) $(srcdir)/makegioalias.pl < $(srcdir)/gio.symbols > gioalias.h.tmp && \
17 mv gioalias.h.tmp gioalias.h
19 gioaliasdef.c: gio.symbols
20 $(PERL) $(srcdir)/makegioalias.pl -def < $(srcdir)/gio.symbols > gioaliasdef.c.tmp && \
21 mv gioaliasdef.c.tmp gioaliasdef.c
24 if HAVE_GNUC_VISIBILITY
25 TESTS = abicheck.sh pltcheck.sh
30 -DG_LOG_DOMAIN=\"GLib-GIO\" \
33 -I$(top_srcdir)/glib \
34 -I$(top_srcdir)/gmodule \
36 -DG_DISABLE_DEPRECATED \
38 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
40 lib_LTLIBRARIES = libgio-2.0.la
48 glib_genmarshal=$(GLIB_GENMARSHAL)
50 glib_genmarshal=../gobject/glib-genmarshal
53 gio-marshal.h: gio-marshal.list
54 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@.tmp && \
57 gio-marshal.c: gio-marshal.h gio-marshal.list
58 (echo "#include \"gio-marshal.h\""; \
59 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@.tmp && \
63 glocaldirectorymonitor.c \
64 glocaldirectorymonitor.h \
67 glocalfileenumerator.c \
68 glocalfileenumerator.h \
71 glocalfileinputstream.c \
72 glocalfileinputstream.h \
75 glocalfileoutputstream.c \
76 glocalfileoutputstream.h \
86 platform_libadd += inotify/libinotify.la
96 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
97 platform_libadd += xdgmime/libxdgmime.la
105 gunixvolumemonitor.c \
106 gunixvolumemonitor.h \
108 gunixoutputstream.c \
112 giounixincludedir=$(includedir)/gio-unix-2.0/gio
113 giounixinclude_HEADERS = \
117 gunixoutputstream.h \
122 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
123 platform_libadd += -lshlwapi
126 libgio_2_0_la_SOURCES = \
131 gbufferedinputstream.c \
132 gbufferedoutputstream.c \
135 gcontenttypeprivate.h \
137 gdataoutputstream.c \
138 gdirectorymonitor.c \
144 gfileattribute-priv.h \
150 gfilenamecompleter.c \
151 gfileoutputstream.c \
152 gfilterinputstream.c \
153 gfilteroutputstream.c \
162 gmemoryinputstream.c \
163 gmemoryoutputstream.c \
165 gnativevolumemonitor.c \
166 gnativevolumemonitor.h \
171 gsimpleasyncresult.c \
173 gunionvolumemonitor.c \
174 gunionvolumemonitor.h \
187 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
189 libgio_2_0_la_LIBADD = \
190 $(top_builddir)/glib/libglib-2.0.la \
191 $(top_builddir)/gobject/libgobject-2.0.la \
192 $(top_builddir)/gmodule/libgmodule-2.0.la \
200 no_undefined = -no-undefined
203 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
208 gbufferedinputstream.h \
209 gbufferedoutputstream.h \
213 gdataoutputstream.h \
214 gdirectorymonitor.h \
223 gfilenamecompleter.h \
224 gfileoutputstream.h \
225 gfilterinputstream.h \
226 gfilteroutputstream.h \
235 gmemoryinputstream.h \
236 gmemoryoutputstream.h \
240 gsimpleasyncresult.h \
247 gioincludedir=$(includedir)/glib-2.0/gio/
248 gioinclude_HEADERS = \
252 # these sources (also mentioned above) are generated.
265 gioenumtypes.h.template \
266 gioenumtypes.c.template \
273 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
274 ( top_builddir=`cd $(top_builddir) && pwd`; \
275 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
276 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
278 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
279 ( top_builddir=`cd $(top_builddir) && pwd`; \
280 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
281 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c