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
14 gioalias.h: gio.symbols
15 $(PERL) $(srcdir)/makegioalias.pl < $(srcdir)/gio.symbols > gioalias.h
17 gioaliasdef.c: gio.symbols
18 $(PERL) $(srcdir)/makegioalias.pl -def < $(srcdir)/gio.symbols > gioaliasdef.c
21 if HAVE_GNUC_VISIBILITY
22 TESTS = abicheck.sh pltcheck.sh
27 -DG_LOG_DOMAIN=\"GLib-GIO\" \
30 -I$(top_srcdir)/glib \
31 -I$(top_srcdir)/gmodule \
33 -DG_DISABLE_DEPRECATED \
35 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
37 lib_LTLIBRARIES = libgio-2.0.la
45 glib_genmarshal=$(GLIB_GENMARSHAL)
47 glib_genmarshal=../gobject/glib-genmarshal
50 gio-marshal.h: gio-marshal.list
51 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@
53 gio-marshal.c: gio-marshal.h gio-marshal.list
54 (echo "#include \"gio-marshal.h\""; \
55 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@
58 glocaldirectorymonitor.c \
59 glocaldirectorymonitor.h \
62 glocalfileenumerator.c \
63 glocalfileenumerator.h \
66 glocalfileinputstream.c \
67 glocalfileinputstream.h \
70 glocalfileoutputstream.c \
71 glocalfileoutputstream.h \
81 platform_libadd += inotify/libinotify.la
91 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
92 platform_libadd += xdgmime/libxdgmime.la
100 gunixvolumemonitor.c \
101 gunixvolumemonitor.h \
103 gunixoutputstream.c \
107 giounixincludedir=$(includedir)/gio-unix-2.0/gio
108 giounixinclude_HEADERS = \
112 gunixoutputstream.h \
117 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
118 platform_libadd += -lshlwapi
121 libgio_2_0_la_SOURCES = \
126 gbufferedinputstream.c \
127 gbufferedoutputstream.c \
130 gcontenttypeprivate.h \
132 gdataoutputstream.c \
133 gdirectorymonitor.c \
144 gfilenamecompleter.c \
145 gfileoutputstream.c \
146 gfilterinputstream.c \
147 gfilteroutputstream.c \
156 gmemoryinputstream.c \
157 gmemoryoutputstream.c \
159 gnativevolumemonitor.c \
160 gnativevolumemonitor.h \
165 gsimpleasyncresult.c \
167 gunionvolumemonitor.c \
168 gunionvolumemonitor.h \
181 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
183 libgio_2_0_la_LIBADD = \
184 $(top_builddir)/glib/libglib-2.0.la \
185 $(top_builddir)/gobject/libgobject-2.0.la \
186 $(top_builddir)/gmodule/libgmodule-2.0.la \
194 no_undefined = -no-undefined
197 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
202 gbufferedinputstream.h \
203 gbufferedoutputstream.h \
207 gdataoutputstream.h \
208 gdirectorymonitor.h \
217 gfilenamecompleter.h \
218 gfileoutputstream.h \
219 gfilterinputstream.h \
220 gfilteroutputstream.h \
229 gmemoryinputstream.h \
230 gmemoryoutputstream.h \
234 gsimpleasyncresult.h \
241 gioincludedir=$(includedir)/glib-2.0/gio/
242 gioinclude_HEADERS = \
246 # these sources (also mentioned above) are generated.
259 gioenumtypes.h.template \
260 gioenumtypes.c.template \
267 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
268 ( cd $(srcdir) && $(top_builddir)/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > gioenumtypes.h
270 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
271 ( cd $(srcdir) && $(top_builddir)/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > gioenumtypes.c