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 \
174 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
176 libgio_2_0_la_LIBADD = \
177 $(top_builddir)/glib/libglib-2.0.la \
178 $(top_builddir)/gobject/libgobject-2.0.la \
179 $(top_builddir)/gmodule/libgmodule-2.0.la \
187 no_undefined = -no-undefined
190 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
192 gioincludedir=$(includedir)/glib-2.0/gio/
193 gioinclude_HEADERS = \
196 gbufferedinputstream.h \
197 gbufferedoutputstream.h \
201 gdataoutputstream.h \
202 gdirectorymonitor.h \
211 gfilenamecompleter.h \
212 gfileoutputstream.h \
213 gfilterinputstream.h \
214 gfilteroutputstream.h \
222 gmemoryinputstream.h \
223 gmemoryoutputstream.h \
227 gsimpleasyncresult.h \
235 # these sources (also mentioned above) are generated.
236 BUILT_SOURCES = gio-marshal.h gio-marshal.c gioalias.h gioaliasdef.c