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 \
34 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
36 lib_LTLIBRARIES = libgio-2.0.la
44 glib_genmarshal=$(GLIB_GENMARSHAL)
46 glib_genmarshal=../gobject/glib-genmarshal
49 gio-marshal.h: gio-marshal.list
50 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@
52 gio-marshal.c: gio-marshal.h gio-marshal.list
53 (echo "#include \"gio-marshal.h\""; \
54 $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@
57 glocaldirectorymonitor.c \
58 glocaldirectorymonitor.h \
61 glocalfileenumerator.c \
62 glocalfileenumerator.h \
65 glocalfileinputstream.c \
66 glocalfileinputstream.h \
69 glocalfileoutputstream.c \
70 glocalfileoutputstream.h \
80 platform_libadd += inotify/libinotify.la
90 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
91 platform_libadd += xdgmime/libxdgmime.la
99 gunixvolumemonitor.c \
100 gunixvolumemonitor.h \
102 gunixoutputstream.c \
105 giounixincludedir=$(includedir)/gio-unix-2.0/gio
106 giounixinclude_HEADERS = \
109 gunixoutputstream.h \
114 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
115 platform_libadd += -lshlwapi
118 libgio_2_0_la_SOURCES = \
123 gbufferedinputstream.c \
124 gbufferedoutputstream.c \
127 gcontenttypeprivate.h \
129 gdataoutputstream.c \
130 gdirectorymonitor.c \
141 gfilenamecompleter.c \
142 gfileoutputstream.c \
143 gfilterinputstream.c \
144 gfilteroutputstream.c \
151 gmemoryinputstream.c \
152 gmemoryoutputstream.c \
154 gnativevolumemonitor.c \
155 gnativevolumemonitor.h \
160 gsimpleasyncresult.c \
162 gunionvolumemonitor.c \
163 gunionvolumemonitor.h \
176 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
178 libgio_2_0_la_LIBADD = \
179 $(top_builddir)/glib/libglib-2.0.la \
180 $(top_builddir)/gobject/libgobject-2.0.la \
181 $(top_builddir)/gmodule/libgmodule-2.0.la \
189 no_undefined = -no-undefined
192 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
197 gbufferedinputstream.h \
198 gbufferedoutputstream.h \
202 gdataoutputstream.h \
203 gdirectorymonitor.h \
212 gfilenamecompleter.h \
213 gfileoutputstream.h \
214 gfilterinputstream.h \
215 gfilteroutputstream.h \
223 gmemoryinputstream.h \
224 gmemoryoutputstream.h \
228 gsimpleasyncresult.h \
235 gioincludedir=$(includedir)/glib-2.0/gio/
236 gioinclude_HEADERS = \
240 # these sources (also mentioned above) are generated.
253 gioenumtypes.h.template \
254 gioenumtypes.c.template \
261 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
262 ( cd $(srcdir) && $(top_builddir)/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > gioenumtypes.h
264 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
265 ( cd $(srcdir) && $(top_builddir)/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > gioenumtypes.c