endif
endif
+if HAVE_THREADS
+THREAD_FLAGS=-DG_THREADS_MANDATORY
+endif
+
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GLib-GIO\" \
-I$(top_builddir) \
-I$(top_srcdir)/glib \
-I$(top_srcdir)/gmodule \
$(GLIB_DEBUG_FLAGS) \
+ $(THREAD_FLAGS) \
-DG_DISABLE_DEPRECATED \
-DGIO_COMPILATION \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
$(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body --internal) > $@.tmp && \
mv $@.tmp $@
+settings_headers = \
+ gsettingsbackend.h \
+ gsettings.h
+
+settings_sources = \
+ gvdb/gvdb-format.h \
+ gvdb/gvdb-reader.h \
+ gvdb/gvdb-reader.c \
+ gdelayedsettingsbackend.h \
+ gdelayedsettingsbackend.c \
+ gkeyfilesettingsbackend.h \
+ gkeyfilesettingsbackend.c \
+ gnullsettingsbackend.h \
+ gnullsettingsbackend.c \
+ gsettingsbackendinternal.h \
+ gsettingsbackend.c \
+ gsettingsschema.h \
+ gsettingsschema.c \
+ gsettings-mapping.h \
+ gsettings-mapping.c \
+ gsettings.c
+
local_sources = \
glocaldirectorymonitor.c \
glocaldirectorymonitor.h \
platform_deps += libasyncns/libasyncns.la xdgmime/libxdgmime.la
unix_sources = \
gunixconnection.c \
+ gunixfdlist.c \
gunixfdmessage.c \
gunixmount.c \
gunixmount.h \
giounixincludedir=$(includedir)/gio-unix-2.0/gio
giounixinclude_HEADERS = \
gdesktopappinfo.h \
+ gfiledescriptorbased.h \
gunixconnection.h \
gunixmounts.h \
+ gunixfdlist.h \
gunixfdmessage.h \
gunixinputstream.h \
gunixoutputstream.h \
gcancellable.c \
gcontenttype.c \
gcontenttypeprivate.h \
+ gcharsetconverter.c \
gconverter.c \
+ gconverterinputstream.c \
+ gconverteroutputstream.c \
gdatainputstream.c \
gdataoutputstream.c \
gdrive.c \
gfile.c \
gfileattribute.c \
gfileattribute-priv.h \
+ gfiledescriptorbased.h \
+ gfiledescriptorbased.c \
gfileenumerator.c \
gfileicon.c \
gfileinfo.c \
gvfs.c \
gvolume.c \
gvolumemonitor.c \
+ gzlibcompressor.c \
+ gzlibdecompressor.c \
gmountprivate.h \
gioenumtypes.h \
gioenumtypes.c \
$(appinfo_sources) \
$(unix_sources) \
$(win32_sources) \
+ $(settings_sources) \
$(local_sources) \
$(marshal_sources) \
$(NULL)
$(top_builddir)/gobject/libgobject-2.0.la \
$(top_builddir)/gmodule/libgmodule-2.0.la \
$(platform_libadd) \
+ $(ZLIB_LIBS) \
$(SELINUX_LIBS) \
$(GLIB_LIBS) \
$(XATTR_LIBS) \
export_symbols = -export-symbols gio.def
gio_def = gio.def
+gio_win32_res = gio-win32-res.o
+gio_win32_res_ldflag = -Wl,$(gio_win32_res)
+
install-def-file:
$(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
uninstall-local: uninstall-ms-lib uninstall-def-file
libgio_2_0_la_LDFLAGS = \
+ $(gio_win32_res_ldflag) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-dynamic $(no_undefined) $(export_symbols)
-libgio_2_0_la_DEPENDENCIES = $(gio_def) $(platform_deps)
+libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
+
+gio-win32-res.o: gio.rc
+ $(WINDRES) gio.rc $@
gio_headers = \
gappinfo.h \
gbufferedoutputstream.h \
gcancellable.h \
gcontenttype.h \
+ gcharsetconverter.h \
gconverter.h \
+ gconverterinputstream.h \
+ gconverteroutputstream.h \
gdatainputstream.h \
gdataoutputstream.h \
gdrive.h \
gvfs.h \
gvolume.h \
gvolumemonitor.h \
+ gzlibcompressor.h \
+ gzlibdecompressor.h \
+ $(settings_headers) \
$(NULL)
gioincludedir=$(includedir)/glib-2.0/gio/
makegioalias.pl \
abicheck.sh \
pltcheck.sh \
+ gio.rc.in \
$(NULL)
+BUILT_EXTRA_DIST = \
+ gio.rc
+
CLEANFILES = \
$(marshal_sources) \
$(NULL)
gio-2.0.lib: libgio-2.0.la gio.def
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
+bin_PROGRAMS = gio-querymodules gschema-compile
+gio_querymodules_SOURCES = gio-querymodules.c
+gio_querymodules_LDADD = \
+ $(top_builddir)/glib/libglib-2.0.la \
+ $(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
+ libgio-2.0.la \
+ $(NULL)
+
+gschema_compile_LDADD = $(top_builddir)/glib/libglib-2.0.la
+gschema_compile_SOURCES = \
+ gvdb/gvdb-format.h \
+ gvdb/gvdb-builder.h \
+ gvdb/gvdb-builder.c \
+ gschema-compile.c
+
+dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj
+ files='$(BUILT_EXTRA_DIST)'; \
+ for f in $$files; do \
+ if test -f $$f; then d=.; else d=$(srcdir); fi; \
+ cp $$d/$$f $(distdir) || exit 1; done
+
+../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
+ for F in $(libgio_2_0_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <File RelativePath="..\..\..\gio\'$$F'" />' \
+ ;; \
+ esac; \
+ done >libgio.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
+
if HAVE_GLIB_RUNTIME_LIBDIR
install-data-hook:
mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)