fix build-break
[external/glib2.0.git] / gio / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 NULL =
4
5 SUBDIRS=
6
7 if OS_UNIX
8 SUBDIRS += libasyncns xdgmime
9 endif
10
11 if OS_WIN32_AND_DLL_COMPILATION
12 if MS_LIB_AVAILABLE
13 noinst_DATA = gio-2.0.lib
14
15 install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
16 uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
17 endif
18 endif
19
20 install-ms-lib:
21         $(install_ms_lib_cmd)
22
23 uninstall-ms-lib:
24         $(uninstall_ms_lib_cmd)
25
26 gio.def: gio.symbols
27         $(AM_V_GEN) (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 && \
28           mv gio.def.tmp gio.def
29
30 if OS_LINUX
31 if HAVE_GNUC_VISIBILITY
32 TESTS = abicheck.sh
33 endif
34 endif
35
36 if HAVE_THREADS
37 THREAD_FLAGS=-DG_THREADS_MANDATORY
38 endif
39
40 AM_CPPFLAGS = \
41         -DG_LOG_DOMAIN=\"GLib-GIO\"                     \
42         $(gmodule_INCLUDES)                             \
43         $(GLIB_DEBUG_FLAGS)                             \
44         $(THREAD_FLAGS)                                 \
45         -DG_DISABLE_DEPRECATED                          \
46         -DGIO_COMPILATION                               \
47         -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"  
48
49 lib_LTLIBRARIES = libgio-2.0.la
50
51 marshal_sources = \
52         gio-marshal.h   \
53         gio-marshal.c   \
54         $(NULL)
55
56 if CROSS_COMPILING
57   glib_genmarshal=$(GLIB_GENMARSHAL)
58 else
59   glib_genmarshal=../gobject/glib-genmarshal
60 endif
61
62 gio-marshal.h: gio-marshal.list
63         $(AM_V_GEN) $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header --internal > $@.tmp && \
64           mv $@.tmp $@
65
66 gio-marshal.c: gio-marshal.h gio-marshal.list
67         $(AM_V_GEN) (echo "#include \"gio-marshal.h\""; \
68         $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body --internal) > $@.tmp && \
69           mv $@.tmp $@
70
71 gdbus_headers =                         \
72         gdbusauthobserver.h             \
73         gcredentials.h                  \
74         gdbusutils.h                    \
75         gdbuserror.h                    \
76         gdbusaddress.h                  \
77         gdbusconnection.h               \
78         gdbusmessage.h                  \
79         gdbusnameowning.h               \
80         gdbusnamewatching.h             \
81         gdbusproxy.h                    \
82         gdbusintrospection.h            \
83         gdbusmethodinvocation.h         \
84         gdbusserver.h                   \
85         $(NULL)
86
87 gdbus_sources =                                                         \
88         gdbusutils.h                    gdbusutils.c                    \
89         gdbusaddress.h                  gdbusaddress.c                  \
90         gdbusauthobserver.h             gdbusauthobserver.c             \
91         gdbusauth.h                     gdbusauth.c                     \
92         gdbusauthmechanism.h            gdbusauthmechanism.c            \
93         gdbusauthmechanismanon.h        gdbusauthmechanismanon.c        \
94         gdbusauthmechanismexternal.h    gdbusauthmechanismexternal.c    \
95         gdbusauthmechanismsha1.h        gdbusauthmechanismsha1.c        \
96         gdbuserror.h                    gdbuserror.c                    \
97         gdbusconnection.h               gdbusconnection.c               \
98         gdbusmessage.h                  gdbusmessage.c                  \
99         gdbusnameowning.h               gdbusnameowning.c               \
100         gdbusnamewatching.h             gdbusnamewatching.c             \
101         gdbusproxy.h                    gdbusproxy.c                    \
102         gdbusprivate.h                  gdbusprivate.c                  \
103         gdbusintrospection.h            gdbusintrospection.c            \
104         gdbusmethodinvocation.h         gdbusmethodinvocation.c         \
105         gdbusserver.h                   gdbusserver.c                   \
106         $(NULL)
107
108 settings_headers = \
109         gsettingsbackend.h              \
110         gsettings.h
111
112 settings_sources = \
113         gvdb/gvdb-format.h              \
114         gvdb/gvdb-reader.h              \
115         gvdb/gvdb-reader.c              \
116         gdelayedsettingsbackend.h       \
117         gdelayedsettingsbackend.c       \
118         gkeyfilesettingsbackend.c       \
119         gmemorysettingsbackend.h        \
120         gmemorysettingsbackend.c        \
121         gnullsettingsbackend.h          \
122         gnullsettingsbackend.c          \
123         gsettingsbackendinternal.h      \
124         gsettingsbackend.c              \
125         gsettingsschema.h               \
126         gsettingsschema.c               \
127         gsettings-mapping.h             \
128         gsettings-mapping.c             \
129         gsettings.c
130
131 if OS_WIN32
132 settings_sources += \
133         gregistrysettingsbackend.h      \
134         gregistrysettingsbackend.c
135 endif
136
137 application_headers = \
138         gactiongroup.h                  \
139         gsimpleactiongroup.h            \
140         gaction.h                       \
141         gsimpleaction.h                 \
142         gapplicationcommandline.h       \
143         gapplication.h
144
145 application_sources = \
146         gactiongroup.c                          \
147         gsimpleactiongroup.c                    \
148         gaction.c                               \
149         gsimpleaction.c                         \
150         gapplicationcommandline.c               \
151         gapplicationimpl.h                      \
152         gapplicationimpl-dbus.c                 \
153         gapplication.c
154
155 local_sources = \
156         glocaldirectorymonitor.c        \
157         glocaldirectorymonitor.h        \
158         glocalfile.c                    \
159         glocalfile.h                    \
160         glocalfileenumerator.c          \
161         glocalfileenumerator.h          \
162         glocalfileinfo.c                \
163         glocalfileinfo.h                \
164         glocalfileinputstream.c         \
165         glocalfileinputstream.h         \
166         glocalfilemonitor.c             \
167         glocalfilemonitor.h             \
168         glocalfileoutputstream.c        \
169         glocalfileoutputstream.h        \
170         glocalfileiostream.c            \
171         glocalfileiostream.h            \
172         glocalvfs.c                     \
173         glocalvfs.h                     \
174         gsocks4proxy.c                  \
175         gsocks4proxy.h                  \
176         gsocks4aproxy.c                 \
177         gsocks4aproxy.h                 \
178         gsocks5proxy.c                  \
179         gsocks5proxy.h                  \
180         $(NULL)
181
182 platform_libadd =
183 platform_deps =
184 appinfo_sources =
185
186 if HAVE_INOTIFY
187 SUBDIRS += inotify
188 platform_libadd += inotify/libinotify.la
189 platform_deps += inotify/libinotify.la
190 endif
191
192 if HAVE_FEN
193 AM_CPPFLAGS += -DHAVE_FEN
194 SUBDIRS += fen
195 platform_libadd += fen/libfen.la
196 platform_deps += fen/libfen.la
197 endif
198
199 if OS_WIN32
200 SUBDIRS += win32
201 platform_libadd += win32/libgiowin32.la
202 platform_deps += win32/libgiowin32.la
203 endif
204
205 SUBDIRS += .
206
207 if HAVE_FAM
208 SUBDIRS += fam
209 endif
210
211 if OS_UNIX
212 appinfo_sources += gdesktopappinfo.c
213 platform_libadd += libasyncns/libasyncns.la xdgmime/libxdgmime.la
214 platform_deps += libasyncns/libasyncns.la xdgmime/libxdgmime.la
215 unix_sources = \
216         gfiledescriptorbased.c  \
217         gunixconnection.c       \
218         gunixcredentialsmessage.c       \
219         gunixfdlist.c           \
220         gunixfdmessage.c        \
221         gunixmount.c            \
222         gunixmount.h            \
223         gunixmounts.c           \
224         gunixresolver.c         \
225         gunixresolver.h         \
226         gunixsocketaddress.c    \
227         gunixvolume.c           \
228         gunixvolume.h           \
229         gunixvolumemonitor.c    \
230         gunixvolumemonitor.h    \
231         gunixinputstream.c      \
232         gunixoutputstream.c     \
233         $(NULL)
234
235
236 giounixincludedir=$(includedir)/gio-unix-2.0/gio
237 giounixinclude_HEADERS = \
238         gdesktopappinfo.h       \
239         gfiledescriptorbased.h  \
240         gunixconnection.h       \
241         gunixcredentialsmessage.h       \
242         gunixmounts.h           \
243         gunixfdlist.h           \
244         gunixfdmessage.h        \
245         gunixinputstream.h      \
246         gunixoutputstream.h     \
247         gunixsocketaddress.h    \
248         $(NULL)
249 endif
250
251 win32_actual_sources = \
252         gwin32mount.c \
253         gwin32mount.h \
254         gwin32resolver.c \
255         gwin32resolver.h \
256         gwin32volumemonitor.c \
257         gwin32volumemonitor.h \
258         gwin32inputstream.c \
259         gwin32outputstream.c \
260         gwin32outputstream.h \
261         $(NULL)
262
263 win32_more_sources_for_vcproj = \
264         gwin32appinfo.c \
265         win32/gwin32directorymonitor.c \
266         win32/gwinhttpfile.c \
267         win32/gwinhttpfileinputstream.c \
268         win32/gwinhttpfileoutputstream.c \
269         win32/gwinhttpvfs.c
270
271 if OS_WIN32
272 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
273 platform_libadd += -lshlwapi -lws2_32 -ldnsapi
274 win32_sources = $(win32_actual_sources)
275
276 giowin32includedir=$(includedir)/gio-win32-2.0/gio
277 giowin32include_HEADERS = \
278         gwin32inputstream.h \
279         gwin32outputstream.h \
280         $(NULL)
281
282 endif
283
284 SUBDIRS += tests
285
286 libgio_2_0_la_SOURCES =         \
287         gappinfo.c              \
288         gasynchelper.c          \
289         gasynchelper.h          \
290         gasyncinitable.c        \
291         gasyncresult.c          \
292         gbufferedinputstream.c  \
293         gbufferedoutputstream.c \
294         gcancellable.c          \
295         gcontenttype.c          \
296         gcontenttypeprivate.h   \
297         gcharsetconverter.c     \
298         gconverter.c            \
299         gconverterinputstream.c \
300         gconverteroutputstream.c        \
301         gcredentials.c          \
302         gdatainputstream.c      \
303         gdataoutputstream.c     \
304         gdrive.c                \
305         gdummyfile.h            \
306         gdummyfile.c            \
307         gdummyproxyresolver.c   \
308         gdummyproxyresolver.h   \
309         gdummytlsbackend.c      \
310         gdummytlsbackend.h      \
311         gemblem.h               \
312         gemblem.c               \
313         gemblemedicon.h         \
314         gemblemedicon.c         \
315         gfile.c                 \
316         gfileattribute.c        \
317         gfileattribute-priv.h   \
318         gfileenumerator.c       \
319         gfileicon.c             \
320         gfileinfo.c             \
321         gfileinfo-priv.h        \
322         gfileinputstream.c      \
323         gfilemonitor.c          \
324         gfilenamecompleter.c    \
325         gfileoutputstream.c     \
326         gfileiostream.c         \
327         gfilterinputstream.c    \
328         gfilteroutputstream.c   \
329         gicon.c                 \
330         ginetaddress.c          \
331         ginetsocketaddress.c    \
332         ginitable.c             \
333         ginputstream.c          \
334         gioenums.h              \
335         gioerror.c              \
336         giomodule.c             \
337         giomodule-priv.h        \
338         gioscheduler.c          \
339         giostream.c             \
340         gloadableicon.c         \
341         gmount.c                \
342         gmemoryinputstream.c    \
343         gmemoryoutputstream.c   \
344         gmountoperation.c       \
345         gnativevolumemonitor.c  \
346         gnativevolumemonitor.h  \
347         gnetworkaddress.c       \
348         gnetworkingprivate.h    \
349         gnetworkservice.c       \
350         goutputstream.c         \
351         gpermission.c           \
352         gpollableinputstream.c  \
353         gpollableoutputstream.c \
354         gpollfilemonitor.c      \
355         gpollfilemonitor.h      \
356         gproxyresolver.c        \
357         gresolver.c             \
358         gseekable.c             \
359         gsimpleasyncresult.c    \
360         gsimplepermission.c     \
361         gsocket.c               \
362         gsocketaddress.c        \
363         gsocketaddressenumerator.c \
364         gsocketclient.c         \
365         gsocketconnectable.c    \
366         gsocketconnection.c     \
367         gsocketcontrolmessage.c \
368         gsocketinputstream.c    \
369         gsocketinputstream.h    \
370         gsocketlistener.c       \
371         gsocketoutputstream.c   \
372         gsocketoutputstream.h   \
373         gproxy.c                \
374         gproxyaddress.c         \
375         gproxyaddressenumerator.c \
376         gsocketservice.c        \
377         gsrvtarget.c            \
378         gtcpconnection.c        \
379         gtcpwrapperconnection.c \
380         gthreadedsocketservice.c\
381         gthemedicon.c           \
382         gthreadedresolver.c     \
383         gthreadedresolver.h     \
384         gtlsbackend.c           \
385         gtlscertificate.c       \
386         gtlsclientconnection.c  \
387         gtlsconnection.c        \
388         gtlsserverconnection.c  \
389         gunionvolumemonitor.c   \
390         gunionvolumemonitor.h   \
391         gvfs.c                  \
392         gvolume.c               \
393         gvolumemonitor.c        \
394         gzlibcompressor.c       \
395         gzlibdecompressor.c     \
396         gmountprivate.h         \
397         gioenumtypes.h          \
398         gioenumtypes.c          \
399         $(appinfo_sources)      \
400         $(unix_sources)         \
401         $(win32_sources)        \
402         $(application_sources)  \
403         $(settings_sources)     \
404         $(gdbus_sources)        \
405         $(local_sources)        \
406         $(marshal_sources)      \
407         $(NULL)
408
409 EXTRA_DIST += strinfo.c
410
411 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
412
413 libgio_2_0_la_LIBADD = \
414         $(top_builddir)/glib/libglib-2.0.la             \
415         $(top_builddir)/gobject/libgobject-2.0.la       \
416         $(top_builddir)/gmodule/libgmodule-2.0.la       \
417         $(platform_libadd)                              \
418         $(ZLIB_LIBS)                                    \
419         $(SELINUX_LIBS)                                 \
420         $(GLIB_LIBS)                                    \
421         $(XATTR_LIBS)                                   \
422         $(NULL)
423
424 if PLATFORM_WIN32
425 no_undefined = -no-undefined
426 endif
427
428 if OS_WIN32_AND_DLL_COMPILATION
429 export_symbols = -export-symbols gio.def
430 gio_def = gio.def
431
432 gio_win32_res = gio-win32-res.o
433 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
434
435 install-def-file:
436         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
437
438 uninstall-def-file:
439         -rm $(DESTDIR)$(libdir)/gio-2.0.def
440 else
441 install-def-file:
442 uninstall-def-file:
443
444 export_symbols = -export-symbols-regex '^g_.*'
445 endif
446
447 install-data-local: install-ms-lib install-def-file
448         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
449
450 uninstall-local: uninstall-ms-lib uninstall-def-file
451
452 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
453         $(gio_win32_res_ldflag) \
454         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
455         -export-dynamic $(no_undefined) $(export_symbols)
456
457 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
458
459 gio-win32-res.o: gio.rc
460         $(WINDRES) gio.rc $@
461
462 gio_headers =                   \
463         gappinfo.h              \
464         gasyncinitable.h        \
465         gasyncresult.h          \
466         gbufferedinputstream.h  \
467         gbufferedoutputstream.h \
468         gcancellable.h          \
469         gcontenttype.h          \
470         gcharsetconverter.h     \
471         gconverter.h            \
472         gconverterinputstream.h \
473         gconverteroutputstream.h        \
474         gdatainputstream.h      \
475         gdataoutputstream.h     \
476         gdrive.h                \
477         gemblem.h               \
478         gemblemedicon.h         \
479         gfile.h                 \
480         gfileattribute.h        \
481         gfileenumerator.h       \
482         gfileicon.h             \
483         gfileinfo.h             \
484         gfileinputstream.h      \
485         gfilemonitor.h          \
486         gfilenamecompleter.h    \
487         gfileoutputstream.h     \
488         gfileiostream.h         \
489         gfilterinputstream.h    \
490         gfilteroutputstream.h   \
491         gicon.h                 \
492         ginetaddress.h          \
493         ginetsocketaddress.h    \
494         ginputstream.h          \
495         ginitable.h             \
496         gio.h                   \
497         giotypes.h              \
498         gioenums.h              \
499         gioerror.h              \
500         giomodule.h             \
501         gioscheduler.h          \
502         giostream.h             \
503         gloadableicon.h         \
504         gmount.h                \
505         gmemoryinputstream.h    \
506         gmemoryoutputstream.h   \
507         gmountoperation.h       \
508         gnativevolumemonitor.h  \
509         gnetworkaddress.h       \
510         gnetworkservice.h       \
511         goutputstream.h         \
512         gpermission.h           \
513         gpollableinputstream.h  \
514         gpollableoutputstream.h \
515         gproxyaddress.h         \
516         gproxy.h                \
517         gproxyaddressenumerator.h \
518         gproxyresolver.h        \
519         gresolver.h             \
520         gseekable.h             \
521         gsimpleasyncresult.h    \
522         gsimplepermission.h     \
523         gsocket.h               \
524         gsocketaddress.h        \
525         gsocketaddressenumerator.h \
526         gsocketclient.h         \
527         gsocketconnectable.h    \
528         gsocketconnection.h     \
529         gsocketcontrolmessage.h \
530         gsocketlistener.h       \
531         gsocketservice.h        \
532         gsrvtarget.h            \
533         gtcpconnection.h        \
534         gtcpwrapperconnection.h \
535         gthreadedsocketservice.h\
536         gthemedicon.h           \
537         gtlsbackend.h           \
538         gtlscertificate.h       \
539         gtlsclientconnection.h  \
540         gtlsconnection.h        \
541         gtlsserverconnection.h  \
542         gvfs.h                  \
543         gvolume.h               \
544         gvolumemonitor.h        \
545         gzlibcompressor.h       \
546         gzlibdecompressor.h     \
547         $(application_headers)  \
548         $(settings_headers)     \
549         $(gdbus_headers)        \
550         $(NULL)
551
552 gioincludedir=$(includedir)/glib-2.0/gio/
553 gioinclude_HEADERS =            \
554         $(gio_headers)          \
555         gioenumtypes.h
556
557 # these sources (also mentioned above) are generated.
558 BUILT_SOURCES =                 \
559         gio-marshal.h           \
560         gio-marshal.c           \
561         gioenumtypes.h          \
562         gioenumtypes.c          \
563         $(NULL)
564
565 EXTRA_DIST +=                   \
566         gio-marshal.list        \
567         gio.symbols             \
568         gioenumtypes.h.template \
569         gioenumtypes.c.template \
570         makefile.msc            \
571         abicheck.sh             \
572         gio.rc.in               \
573         gschema.dtd             \
574         $(NULL)
575
576 BUILT_EXTRA_DIST =              \
577         gio.rc
578
579 CLEANFILES =                    \
580         $(marshal_sources)      \
581         $(NULL)
582
583 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
584         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
585           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
586             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
587
588 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
589         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
590           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
591             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
592
593 gio-2.0.lib: libgio-2.0.la gio.def
594         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
595
596 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
597
598 gio_querymodules_SOURCES = gio-querymodules.c
599 gio_querymodules_LDADD   = \
600         $(top_builddir)/glib/libglib-2.0.la             \
601         $(top_builddir)/gobject/libgobject-2.0.la       \
602         $(top_builddir)/gmodule/libgmodule-2.0.la       \
603         $(top_builddir)/gthread/libgthread-2.0.la       \
604         libgio-2.0.la                                   \
605         $(NULL)
606
607 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
608 glib_compile_schemas_SOURCES = \
609         gvdb/gvdb-format.h              \
610         gvdb/gvdb-builder.h             \
611         gvdb/gvdb-builder.c             \
612         glib-compile-schemas.c
613
614 gsettings_LDADD = \
615         $(top_builddir)/glib/libglib-2.0.la             \
616         $(top_builddir)/gobject/libgobject-2.0.la       \
617         $(top_builddir)/gthread/libgthread-2.0.la       \
618         $(top_builddir)/gmodule/libgmodule-2.0.la       \
619         libgio-2.0.la
620 gsettings_SOURCES = gsettings-tool.c
621
622 schemadir = $(datadir)/glib-2.0/schemas
623 dist_schema_DATA = gschema.dtd
624
625 # ------------------------------------------------------------------------
626 # gdbus(1) tool
627
628 bin_PROGRAMS += gdbus
629 gdbus_SOURCES = gdbus-tool.c
630 gdbus_LDADD = libgio-2.0.la \
631         $(top_builddir)/glib/libglib-2.0.la             \
632         $(top_builddir)/gobject/libgobject-2.0.la       \
633         $(top_builddir)/gthread/libgthread-2.0.la       \
634         $(top_builddir)/gmodule/libgmodule-2.0.la
635
636 completiondir = $(sysconfdir)/bash_completion.d
637 completion_SCRIPTS = \
638         gdbus-bash-completion.sh                \
639         gsettings-bash-completion.sh
640 EXTRA_DIST += $(completion_SCRIPTS)
641
642 # ------------------------------------------------------------------------
643
644 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj
645         files='$(BUILT_EXTRA_DIST)'; \
646         for f in $$files; do \
647           if test -f $$f; then d=.; else d=$(srcdir); fi; \
648           cp $$d/$$f $(distdir) || exit 1; done
649
650 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
651         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_actual_more_sources_for_vcproj) | tr '/' '\\'`; do \
652                 case $$F in \
653                 gunix*.c|gdesktopappinfo.c) ;; \
654                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
655                      ;; \
656                 esac; \
657         done | sort -u >libgio.sourcefiles
658         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
659         rm libgio.sourcefiles
660
661 if HAVE_GLIB_RUNTIME_LIBDIR
662 install-data-hook:
663         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
664         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
665         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
666         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
667         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
668 endif