2007-11-28 13:39:07 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
NULL =
|
|
|
|
|
|
|
|
SUBDIRS=
|
|
|
|
|
|
|
|
if OS_UNIX
|
|
|
|
SUBDIRS += xdgmime
|
|
|
|
endif
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
gio.def: gio.symbols
|
2007-11-28 19:45:08 +01:00
|
|
|
(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
|
2007-11-28 13:39:07 +01:00
|
|
|
|
|
|
|
gioalias.h: gio.symbols
|
|
|
|
$(PERL) $(srcdir)/makegioalias.pl < $(srcdir)/gio.symbols > gioalias.h
|
|
|
|
|
|
|
|
gioaliasdef.c: gio.symbols
|
|
|
|
$(PERL) $(srcdir)/makegioalias.pl -def < $(srcdir)/gio.symbols > gioaliasdef.c
|
|
|
|
|
|
|
|
if OS_LINUX
|
|
|
|
if HAVE_GNUC_VISIBILITY
|
|
|
|
TESTS = abicheck.sh pltcheck.sh
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"GLib-GIO\" \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/glib \
|
|
|
|
-I$(top_srcdir)/gmodule \
|
|
|
|
$(GLIB_DEBUG_FLAGS) \
|
|
|
|
-DG_DISABLE_DEPRECATED \
|
2007-11-27 13:39:14 +01:00
|
|
|
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libgio-2.0.la
|
|
|
|
|
|
|
|
marshal_sources = \
|
2007-11-28 13:39:07 +01:00
|
|
|
gio-marshal.h \
|
|
|
|
gio-marshal.c \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if CROSS_COMPILING
|
|
|
|
glib_genmarshal=$(GLIB_GENMARSHAL)
|
|
|
|
else
|
|
|
|
glib_genmarshal=../gobject/glib-genmarshal
|
|
|
|
endif
|
|
|
|
|
|
|
|
gio-marshal.h: gio-marshal.list
|
|
|
|
$(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@
|
|
|
|
|
|
|
|
gio-marshal.c: gio-marshal.h gio-marshal.list
|
|
|
|
(echo "#include \"gio-marshal.h\""; \
|
|
|
|
$(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@
|
|
|
|
|
|
|
|
local_sources = \
|
|
|
|
glocaldirectorymonitor.c \
|
|
|
|
glocaldirectorymonitor.h \
|
|
|
|
glocalfile.c \
|
|
|
|
glocalfile.h \
|
|
|
|
glocalfileenumerator.c \
|
|
|
|
glocalfileenumerator.h \
|
|
|
|
glocalfileinfo.c \
|
|
|
|
glocalfileinfo.h \
|
|
|
|
glocalfileinputstream.c \
|
|
|
|
glocalfileinputstream.h \
|
|
|
|
glocalfilemonitor.c \
|
|
|
|
glocalfilemonitor.h \
|
|
|
|
glocalfileoutputstream.c \
|
|
|
|
glocalfileoutputstream.h \
|
|
|
|
glocalvfs.c \
|
|
|
|
glocalvfs.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
platform_libadd =
|
|
|
|
appinfo_sources =
|
|
|
|
|
|
|
|
if HAVE_INOTIFY
|
|
|
|
SUBDIRS += inotify
|
|
|
|
platform_libadd += inotify/libinotify.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS += .
|
|
|
|
|
|
|
|
if HAVE_FAM
|
|
|
|
SUBDIRS += fam
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_UNIX
|
|
|
|
appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
|
|
|
|
platform_libadd += xdgmime/libxdgmime.la
|
|
|
|
unix_sources = \
|
2007-11-27 16:08:03 +01:00
|
|
|
gunixdrive.c \
|
|
|
|
gunixdrive.h \
|
|
|
|
gunixmounts.c \
|
|
|
|
gunixmounts.h \
|
|
|
|
gunixvolume.c \
|
|
|
|
gunixvolume.h \
|
|
|
|
gunixvolumemonitor.c \
|
|
|
|
gunixvolumemonitor.h \
|
|
|
|
gunixinputstream.c \
|
|
|
|
gunixoutputstream.c \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
giounixincludedir=$(includedir)/gio-unix-2.0/gio
|
|
|
|
giounixinclude_HEADERS = \
|
|
|
|
gunixmounts.h \
|
2007-11-27 16:08:03 +01:00
|
|
|
gunixinputstream.h \
|
|
|
|
gunixoutputstream.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
appinfo_sources += gwin32appinfo.c gwin32appinfo.h
|
|
|
|
platform_libadd += -lshlwapi
|
|
|
|
endif
|
|
|
|
|
|
|
|
libgio_2_0_la_SOURCES = \
|
|
|
|
gappinfo.c \
|
|
|
|
gasynchelper.c \
|
|
|
|
gasynchelper.h \
|
|
|
|
gasyncresult.c \
|
|
|
|
gbufferedinputstream.c \
|
|
|
|
gbufferedoutputstream.c \
|
|
|
|
gcancellable.c \
|
|
|
|
gcontenttype.c \
|
|
|
|
gcontenttypeprivate.h \
|
|
|
|
gdatainputstream.c \
|
|
|
|
gdataoutputstream.c \
|
|
|
|
gdirectorymonitor.c \
|
|
|
|
gdrive.c \
|
2007-11-27 11:46:45 +01:00
|
|
|
gdummyfile.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gdummyfile.c \
|
|
|
|
gfile.c \
|
|
|
|
gfileattribute.c \
|
|
|
|
gfileenumerator.c \
|
|
|
|
gfileicon.c \
|
|
|
|
gfileinfo.c \
|
|
|
|
gfileinputstream.c \
|
|
|
|
gfilemonitor.c \
|
|
|
|
gfilenamecompleter.c \
|
|
|
|
gfileoutputstream.c \
|
|
|
|
gfilterinputstream.c \
|
|
|
|
gfilteroutputstream.c \
|
|
|
|
gicon.c \
|
|
|
|
ginputstream.c \
|
|
|
|
gioerror.c \
|
|
|
|
giomodule.c \
|
|
|
|
gioscheduler.c \
|
|
|
|
gloadableicon.c \
|
|
|
|
gmemoryinputstream.c \
|
|
|
|
gmemoryoutputstream.c \
|
|
|
|
gmountoperation.c \
|
|
|
|
gnativevolumemonitor.c \
|
|
|
|
gnativevolumemonitor.h \
|
|
|
|
goutputstream.c \
|
|
|
|
gpollfilemonitor.c \
|
|
|
|
gpollfilemonitor.h \
|
|
|
|
gseekable.c \
|
|
|
|
gsimpleasyncresult.c \
|
|
|
|
gthemedicon.c \
|
|
|
|
gunionvolumemonitor.c \
|
|
|
|
gunionvolumemonitor.h \
|
|
|
|
gvfs.c \
|
|
|
|
gvolume.c \
|
|
|
|
gvolumemonitor.c \
|
|
|
|
gvolumeprivate.h \
|
|
|
|
$(appinfo_sources) \
|
|
|
|
$(unix_sources) \
|
|
|
|
$(local_sources) \
|
|
|
|
$(marshal_sources) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
$(libgio_2_0_la_OBJECTS): $(marshal_sources)
|
|
|
|
|
|
|
|
libgio_2_0_la_LIBADD = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
|
|
|
$(platform_libadd) \
|
|
|
|
$(SELINUX_LIBS) \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(XATTR_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
|
|
|
|
|
|
|
|
gioincludedir=$(includedir)/glib-2.0/gio/
|
|
|
|
gioinclude_HEADERS = \
|
|
|
|
gappinfo.h \
|
|
|
|
gasyncresult.h \
|
|
|
|
gbufferedinputstream.h \
|
|
|
|
gbufferedoutputstream.h \
|
|
|
|
gcancellable.h \
|
|
|
|
gcontenttype.h \
|
|
|
|
gdatainputstream.h \
|
|
|
|
gdataoutputstream.h \
|
|
|
|
gdirectorymonitor.h \
|
|
|
|
gdrive.h \
|
|
|
|
gfile.h \
|
|
|
|
gfileattribute.h \
|
|
|
|
gfileenumerator.h \
|
|
|
|
gfileicon.h \
|
|
|
|
gfileinfo.h \
|
|
|
|
gfileinputstream.h \
|
|
|
|
gfilemonitor.h \
|
|
|
|
gfilenamecompleter.h \
|
|
|
|
gfileoutputstream.h \
|
|
|
|
gfilterinputstream.h \
|
|
|
|
gfilteroutputstream.h \
|
|
|
|
gicon.h \
|
|
|
|
ginputstream.h \
|
2007-11-27 11:46:45 +01:00
|
|
|
gio.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gioerror.h \
|
|
|
|
giomodule.h \
|
|
|
|
gioscheduler.h \
|
|
|
|
gloadableicon.h \
|
|
|
|
gmemoryinputstream.h \
|
|
|
|
gmemoryoutputstream.h \
|
|
|
|
gmountoperation.h \
|
|
|
|
goutputstream.h \
|
2007-11-26 17:36:52 +01:00
|
|
|
gseekable.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gsimpleasyncresult.h \
|
|
|
|
gthemedicon.h \
|
|
|
|
gvfs.h \
|
|
|
|
gvolume.h \
|
|
|
|
gvolumemonitor.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
|
|
|
|
# these sources (also mentioned above) are generated.
|
|
|
|
BUILT_SOURCES = gio-marshal.h gio-marshal.c gioalias.h gioaliasdef.c
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
EXTRA_DIST = \
|
|
|
|
gio-marshal.list \
|
2007-11-28 13:39:07 +01:00
|
|
|
gio.symbols \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
$(marshal_sources) \
|
|
|
|
$(NULL)
|