1 include $(top_srcdir)/Makefile.decl
12 (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gobject.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gobject.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
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 \
106 giounixincludedir=$(includedir)/gio-unix-2.0/gio
107 giounixinclude_HEADERS = \
110 gunixoutputstream.h \
115 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
116 platform_libadd += -lshlwapi
119 libgio_2_0_la_SOURCES = \
124 gbufferedinputstream.c \
125 gbufferedoutputstream.c \
128 gcontenttypeprivate.h \
130 gdataoutputstream.c \
131 gdirectorymonitor.c \
143 gfilenamecompleter.c \
144 gfileoutputstream.c \
145 gfilterinputstream.c \
146 gfilteroutputstream.c \
153 gmemoryinputstream.c \
154 gmemoryoutputstream.c \
156 gnativevolumemonitor.c \
157 gnativevolumemonitor.h \
162 gsimpleasyncresult.c \
164 gunionvolumemonitor.c \
165 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_.*'
194 gioincludedir=$(includedir)/glib-2.0/gio/
195 gioinclude_HEADERS = \
198 gbufferedinputstream.h \
199 gbufferedoutputstream.h \
203 gdataoutputstream.h \
204 gdirectorymonitor.h \
213 gfilenamecompleter.h \
214 gfileoutputstream.h \
215 gfilterinputstream.h \
216 gfilteroutputstream.h \
224 gmemoryinputstream.h \
225 gmemoryoutputstream.h \
229 gsimpleasyncresult.h \
237 # these sources (also mentioned above) are generated.
238 BUILT_SOURCES = gio-marshal.h gio-marshal.c gioalias.h gioaliasdef.c