Remove trailing whitespace
[platform/upstream/glib.git] / gio / Makefile.am
1 NULL =
2
3 SUBDIRS= 
4
5 if OS_UNIX
6 SUBDIRS += xdgmime
7 endif
8
9 AM_CPPFLAGS = \
10         -DG_LOG_DOMAIN=\"GLib-GIO\"                     \
11         -I$(top_builddir)                               \
12         -I$(top_srcdir)                                 \
13         -I$(top_srcdir)/glib                            \
14         -I$(top_srcdir)/gmodule                         \
15         $(GLIB_DEBUG_FLAGS)                             \
16         -DG_DISABLE_DEPRECATED                          \
17         -DGIO_MODULE_DIR=\"$(libdir)/gio/modules\"      
18
19 lib_LTLIBRARIES = libgio-2.0.la
20
21 marshal_sources = \
22         gio-marshal.h \
23         gio-marshal.c \
24         $(NULL)
25
26 if CROSS_COMPILING
27   glib_genmarshal=$(GLIB_GENMARSHAL)
28 else
29   glib_genmarshal=../gobject/glib-genmarshal
30 endif
31
32 gio-marshal.h: gio-marshal.list
33         $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@
34
35 gio-marshal.c: gio-marshal.h gio-marshal.list
36         (echo "#include \"gio-marshal.h\""; \
37         $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@
38
39 local_sources = \
40         glocaldirectorymonitor.c        \
41         glocaldirectorymonitor.h        \
42         glocalfile.c                    \
43         glocalfile.h                    \
44         glocalfileenumerator.c          \
45         glocalfileenumerator.h          \
46         glocalfileinfo.c                \
47         glocalfileinfo.h                \
48         glocalfileinputstream.c         \
49         glocalfileinputstream.h         \
50         glocalfilemonitor.c             \
51         glocalfilemonitor.h             \
52         glocalfileoutputstream.c        \
53         glocalfileoutputstream.h        \
54         glocalvfs.c                     \
55         glocalvfs.h                     \
56         $(NULL)
57
58 platform_libadd =
59 appinfo_sources =
60
61 if HAVE_INOTIFY
62 SUBDIRS += inotify
63 platform_libadd += inotify/libinotify.la
64 endif
65
66 SUBDIRS += .
67
68 if HAVE_FAM
69 SUBDIRS += fam
70 endif
71
72 if OS_UNIX
73 appinfo_sources += gdesktopappinfo.c gdesktopappinfo.h
74 platform_libadd += xdgmime/libxdgmime.la
75 unix_sources = \
76         gunixdrive.c \
77         gunixdrive.h \
78         gunixmounts.c \
79         gunixmounts.h \
80         gunixvolume.c \
81         gunixvolume.h \
82         gunixvolumemonitor.c \
83         gunixvolumemonitor.h \
84         $(NULL)
85
86 giounixincludedir=$(includedir)/gio-unix-2.0/gio
87 giounixinclude_HEADERS = \
88         gunixmounts.h           \
89         $(NULL)
90 endif
91
92 if OS_WIN32
93 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
94 platform_libadd += -lshlwapi
95 endif
96
97 libgio_2_0_la_SOURCES =         \
98         gappinfo.c              \
99         gasynchelper.c          \
100         gasynchelper.h          \
101         gasyncresult.c          \
102         gbufferedinputstream.c  \
103         gbufferedoutputstream.c \
104         gcancellable.c          \
105         gcontenttype.c          \
106         gcontenttypeprivate.h   \
107         gdatainputstream.c      \
108         gdataoutputstream.c     \
109         gdirectorymonitor.c     \
110         gdrive.c                \
111         gdriveprivate.h         \
112         gdummyfile.c            \
113         gfile.c                 \
114         gfileattribute.c        \
115         gfileenumerator.c       \
116         gfileicon.c             \
117         gfileinfo.c             \
118         gfileinputstream.c      \
119         gfilemonitor.c          \
120         gfilenamecompleter.c    \
121         gfileoutputstream.c     \
122         gfilterinputstream.c    \
123         gfilteroutputstream.c   \
124         gicon.c                 \
125         ginputstream.c          \
126         gioerror.c              \
127         giomodule.c             \
128         gioscheduler.c          \
129         gloadableicon.c         \
130         gmemoryinputstream.c    \
131         gmemoryoutputstream.c   \
132         gmountoperation.c       \
133         gnativevolumemonitor.c  \
134         gnativevolumemonitor.h  \
135         goutputstream.c         \
136         gpollfilemonitor.c      \
137         gpollfilemonitor.h      \
138         gseekable.c             \
139         gsimpleasyncresult.c    \
140         gsocketinputstream.c    \
141         gsocketoutputstream.c   \
142         gthemedicon.c           \
143         gunionvolumemonitor.c   \
144         gunionvolumemonitor.h   \
145         gurifuncs.c             \
146         gvfs.c                  \
147         gvolume.c               \
148         gvolumemonitor.c        \
149         gvolumeprivate.h        \
150         $(appinfo_sources)      \
151         $(unix_sources)         \
152         $(local_sources)        \
153         $(marshal_sources)      \
154         $(NULL)
155
156 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
157
158 libgio_2_0_la_LIBADD = \
159         $(top_builddir)/glib/libglib-2.0.la             \
160         $(top_builddir)/gobject/libgobject-2.0.la       \
161         $(top_builddir)/gmodule/libgmodule-2.0.la       \
162         $(platform_libadd)                              \
163         $(SELINUX_LIBS)                                 \
164         $(GLIB_LIBS)                                    \
165         $(XATTR_LIBS)                                   \
166         $(NULL)
167
168 if OS_WIN32
169 no_undefined = -no-undefined
170 endif
171
172 libgio_2_0_la_LDFLAGS= -export-dynamic $(no_undefined) -export-symbols-regex '^g_.*'
173
174 gioincludedir=$(includedir)/glib-2.0/gio/
175 gioinclude_HEADERS = \
176         gappinfo.h              \
177         gasyncresult.h          \
178         gbufferedinputstream.h  \
179         gbufferedoutputstream.h \
180         gcancellable.h          \
181         gcontenttype.h          \
182         gdatainputstream.h      \
183         gdataoutputstream.h     \
184         gdirectorymonitor.h     \
185         gdrive.h                \
186         gdummyfile.h            \
187         gfile.h                 \
188         gfileattribute.h        \
189         gfileenumerator.h       \
190         gfileicon.h             \
191         gfileinfo.h             \
192         gfileinputstream.h      \
193         gfilemonitor.h          \
194         gfilenamecompleter.h    \
195         gfileoutputstream.h     \
196         gfilterinputstream.h    \
197         gfilteroutputstream.h   \
198         gicon.h                 \
199         ginputstream.h          \
200         gioerror.h              \
201         giomodule.h             \
202         gioscheduler.h          \
203         gloadableicon.h         \
204         gmemoryinputstream.h    \
205         gmemoryoutputstream.h   \
206         gmountoperation.h       \
207         goutputstream.h         \
208         gseekable.h             \
209         gsimpleasyncresult.h    \
210         gsocketinputstream.h    \
211         gsocketoutputstream.h   \
212         gthemedicon.h           \
213         gurifuncs.h             \
214         gvfs.h                  \
215         gvolume.h               \
216         gvolumemonitor.h        \
217         $(NULL)
218
219 EXTRA_DIST =                    \
220         gio-marshal.list        \
221         $(NULL)
222
223 CLEANFILES =                    \
224         $(marshal_sources)      \
225         $(NULL)