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
96 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
97 platform_libadd += xdgmime/libxdgmime.la
105 gunixvolumemonitor.c \
106 gunixvolumemonitor.h \
108 gunixoutputstream.c \
112 giounixincludedir=$(includedir)/gio-unix-2.0/gio
113 giounixinclude_HEADERS = \
117 gunixoutputstream.h \
122 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
123 platform_libadd += -lshlwapi
128 libgio_2_0_la_SOURCES = \
133 gbufferedinputstream.c \
134 gbufferedoutputstream.c \
137 gcontenttypeprivate.h \
139 gdataoutputstream.c \
145 gfileattribute-priv.h \
151 gfilenamecompleter.c \
152 gfileoutputstream.c \
153 gfilterinputstream.c \
154 gfilteroutputstream.c \
163 gmemoryinputstream.c \
164 gmemoryoutputstream.c \
166 gnativevolumemonitor.c \
167 gnativevolumemonitor.h \
172 gsimpleasyncresult.c \
174 gunionvolumemonitor.c \
175 gunionvolumemonitor.h \
190 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
192 libgio_2_0_la_LIBADD = \
193 $(top_builddir)/glib/libglib-2.0.la \
194 $(top_builddir)/gobject/libgobject-2.0.la \
195 $(top_builddir)/gmodule/libgmodule-2.0.la \
203 no_undefined = -no-undefined
206 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
211 gbufferedinputstream.h \
212 gbufferedoutputstream.h \
216 gdataoutputstream.h \
225 gfilenamecompleter.h \
226 gfileoutputstream.h \
227 gfilterinputstream.h \
228 gfilteroutputstream.h \
238 gmemoryinputstream.h \
239 gmemoryoutputstream.h \
241 gnativevolumemonitor.h \
244 gsimpleasyncresult.h \
251 gioincludedir=$(includedir)/glib-2.0/gio/
252 gioinclude_HEADERS = \
256 # these sources (also mentioned above) are generated.
269 gioenumtypes.h.template \
270 gioenumtypes.c.template \
280 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
281 ( top_builddir=`cd $(top_builddir) && pwd`; \
282 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
283 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
285 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
286 ( top_builddir=`cd $(top_builddir) && pwd`; \
287 cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
288 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c