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 --internal > $@.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 --internal) > $@.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
91 platform_libadd += win32/libgiowin32.la
102 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
103 platform_libadd += xdgmime/libxdgmime.la
111 gunixvolumemonitor.c \
112 gunixvolumemonitor.h \
114 gunixoutputstream.c \
118 giounixincludedir=$(includedir)/gio-unix-2.0/gio
119 giounixinclude_HEADERS = \
123 gunixoutputstream.h \
128 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
129 platform_libadd += -lshlwapi
134 libgio_2_0_la_SOURCES = \
139 gbufferedinputstream.c \
140 gbufferedoutputstream.c \
143 gcontenttypeprivate.h \
145 gdataoutputstream.c \
151 gfileattribute-priv.h \
157 gfilenamecompleter.c \
158 gfileoutputstream.c \
159 gfilterinputstream.c \
160 gfilteroutputstream.c \
169 gmemoryinputstream.c \
170 gmemoryoutputstream.c \
172 gnativevolumemonitor.c \
173 gnativevolumemonitor.h \
178 gsimpleasyncresult.c \
180 gunionvolumemonitor.c \
181 gunionvolumemonitor.h \
196 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
198 libgio_2_0_la_LIBADD = \
199 $(top_builddir)/glib/libglib-2.0.la \
200 $(top_builddir)/gobject/libgobject-2.0.la \
201 $(top_builddir)/gmodule/libgmodule-2.0.la \
209 no_undefined = -no-undefined
212 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
217 gbufferedinputstream.h \
218 gbufferedoutputstream.h \
222 gdataoutputstream.h \
231 gfilenamecompleter.h \
232 gfileoutputstream.h \
233 gfilterinputstream.h \
234 gfilteroutputstream.h \
244 gmemoryinputstream.h \
245 gmemoryoutputstream.h \
247 gnativevolumemonitor.h \
250 gsimpleasyncresult.h \
257 gioincludedir=$(includedir)/glib-2.0/gio/
258 gioinclude_HEADERS = \
262 # these sources (also mentioned above) are generated.
275 gioenumtypes.h.template \
276 gioenumtypes.c.template \
286 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
287 ( top_builddir=`cd $(top_builddir) && pwd`; \
288 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
289 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
291 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
292 ( top_builddir=`cd $(top_builddir) && pwd`; \
293 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
294 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c