Fix #541: Showing existing, or maybe generating thumbnails for MP4 and WEBM
[geeqie.git] / src / Makefile.am
1 SUBDIRS = icons
2 DIST_SUBDIRS = icons
3
4 AM_CFLAGS =                             \
5         $(GLIB_CFLAGS) $(GTK_CFLAGS)    \
6         $(LCMS_CFLAGS)                  \
7         $(EXIV2_CFLAGS)                 \
8         $(LIBCHAMPLAIN_CFLAGS)          \
9         $(LIBCHAMPLAIN_GTK_CFLAGS)      \
10         $(LUA_CFLAGS)                   \
11         $(CLUTTER_CFLAGS)               \
12         $(CLUTTER_GTK_CFLAGS)           \
13         $(FFMPEGTHUMBNAILER_CFLAGS)     \
14         -I$(top_srcdir)                 \
15         -I$(top_builddir)
16
17
18 AM_CXXFLAGS =                           \
19         $(GLIB_CFLAGS) $(GTK_CFLAGS)    \
20         $(LCMS_CFLAGS)                  \
21         $(EXIV2_CFLAGS)                 \
22         $(LIBCHAMPLAIN_CFLAGS)          \
23         $(LIBCHAMPLAIN_GTK_CFLAGS)      \
24         $(LUA_CFLAGS)                   \
25         $(CLUTTER_CFLAGS)               \
26         $(CLUTTER_GTK_CFLAGS)           \
27         $(FFMPEGTHUMBNAILER_CFLAGS)     \
28         -I$(top_srcdir)                 \
29         -I$(top_builddir)
30
31 module_SLIK = \
32         intl.h          \
33         ui_bookmark.c   \
34         ui_bookmark.h   \
35         ui_fileops.c    \
36         ui_fileops.h    \
37         ui_help.c       \
38         ui_help.h       \
39         ui_menu.c       \
40         ui_menu.h       \
41         ui_misc.c       \
42         ui_misc.h       \
43         ui_pathsel.c    \
44         ui_pathsel.h    \
45         ui_spinner.c    \
46         ui_spinner.h    \
47         ui_tabcomp.c    \
48         ui_tabcomp.h    \
49         ui_tree_edit.c  \
50         ui_tree_edit.h  \
51         ui_utildlg.c    \
52         ui_utildlg.h
53
54 extra_ICONS = \
55         ui_spinner.png  \
56         ui_tabcomp.png
57
58 ICON_PAIRS = \
59         icon_spinner            $(srcdir)/ui_spinner.png        \
60         icon_tabcomp            $(srcdir)/ui_tabcomp.png
61
62 ui_icons.h: $(extra_ICONS) Makefile.in
63         @(echo '/* Auto generated file, do not edit */'; echo; \
64          echo '#ifndef UI_ICONS_H'; \
65          echo '#define UI_ICONS_H'; echo; \
66          $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
67          echo '#endif /* UI_ICONS_H */') > $@ || echo "!!! Failed to generate $@ !!!"
68
69 ClayRGB1998_icc.h: ClayRGB1998.icc
70         echo "/*" > $@
71         echo " * This file was generated from ClayRGB1998.icc, DO NOT EDIT " >> $@
72         echo " * http://www.argyllcms.com/ClayRGB1998.zip " >> $@
73         echo " */ " >> $@
74         xxd -i $^ >> $@
75
76 ui_spinner.o: ui_icons.h
77
78
79 noinst_DATA = ui_icons.h
80 CLEANFILES = $(noinst_DATA)
81
82 extra_SLIK = \
83         $(extra_ICONS)
84
85 include $(srcdir)/pan-view/Makefile.am
86 include $(srcdir)/view_file/Makefile.am
87
88 bin_PROGRAMS = geeqie
89
90 geeqie_SOURCES = \
91         $(module_SLIK)  \
92         $(module_pan_view)      \
93         $(module_view_file)     \
94         ClayRGB1998.icc \
95         ClayRGB1998_icc.h \
96         advanced_exif.c \
97         advanced_exif.h \
98         bar.c           \
99         bar.h           \
100         bar_comment.c   \
101         bar_comment.h   \
102         bar_gps.c       \
103         bar_gps.h       \
104         bar_histogram.c \
105         bar_histogram.h \
106         bar_keywords.c  \
107         bar_keywords.h  \
108         bar_exif.c      \
109         bar_exif.h      \
110         bar_sort.c      \
111         bar_sort.h      \
112         cache.c         \
113         cache.h         \
114         cache-loader.c  \
115         cache-loader.h  \
116         cache_maint.c   \
117         cache_maint.h   \
118         cellrenderericon.c      \
119         cellrenderericon.h      \
120         collect.c       \
121         collect.h       \
122         collect-dlg.c   \
123         collect-dlg.h   \
124         collect-io.c    \
125         collect-io.h    \
126         collect-table.c \
127         collect-table.h \
128         color-man.c     \
129         color-man.h     \
130         compat.c        \
131         compat.h        \
132         debug.c         \
133         debug.h         \
134         desktop_file.c  \
135         desktop_file.h  \
136         dnd.c           \
137         dnd.h           \
138         dupe.c          \
139         dupe.h          \
140         editors.c       \
141         editors.h       \
142         exif.c          \
143         exif.h          \
144         exif-int.h      \
145         exif-common.c   \
146         exiv2.cc        \
147         filecache.c     \
148         filecache.h     \
149         filedata.c      \
150         filedata.h      \
151         filefilter.c    \
152         filefilter.h    \
153         gq-marshal.c    \
154         gq-marshal.h    \
155         gq-marshal.list \
156         format_canon.c  \
157         format_canon.h  \
158         format_fuji.c   \
159         format_fuji.h   \
160         format_nikon.c  \
161         format_nikon.h  \
162         format_olympus.c        \
163         format_olympus.h        \
164         format_raw.c    \
165         format_raw.h    \
166         fullscreen.c    \
167         fullscreen.h    \
168         histogram.c     \
169         histogram.h     \
170         history_list.c  \
171         history_list.h  \
172         image.c         \
173         image.h         \
174         image-load.c    \
175         image-load.h    \
176         image_load_gdk.c\
177         image_load_gdk.h\
178         image_load_jpeg.c\
179         image_load_jpeg.h\
180         image_load_tiff.c\
181         image_load_tiff.h\
182         image_load_ffmpegthumbnailer.c\
183         image_load_ffmpegthumbnailer.h\
184         image-overlay.c \
185         image-overlay.h \
186         img-view.c      \
187         img-view.h      \
188         jpeg_parser.c   \
189         jpeg_parser.h   \
190         layout.c        \
191         layout.h        \
192         layout_config.c \
193         layout_config.h \
194         layout_image.c  \
195         layout_image.h  \
196         layout_util.c   \
197         layout_util.h   \
198         lirc.c          \
199         lirc.h          \
200         logwindow.c     \
201         logwindow.h     \
202         main.c          \
203         main.h          \
204         md5-util.c      \
205         md5-util.h      \
206         menu.c          \
207         menu.h          \
208         metadata.c      \
209         metadata.h      \
210         misc.c          \
211         misc.h          \
212         options.c       \
213         options.h       \
214         pan-view.h      \
215         pixbuf-renderer.c       \
216         pixbuf-renderer.h       \
217         renderer-tiles.c        \
218         renderer-tiles.h        \
219         renderer-clutter.c      \
220         renderer-clutter.h      \
221         pixbuf_util.c   \
222         pixbuf_util.h   \
223         preferences.c   \
224         preferences.h   \
225         print.c         \
226         print.h         \
227         remote.c        \
228         remote.h        \
229         rcfile.c        \
230         rcfile.h        \
231         search.c        \
232         search.h        \
233         secure_save.c   \
234         secure_save.h   \
235         shortcuts.c     \
236         shortcuts.h     \
237         similar.c       \
238         similar.h       \
239         slideshow.c     \
240         slideshow.h     \
241         typedefs.h      \
242         thumb.c         \
243         thumb.h         \
244         thumb_standard.c        \
245         thumb_standard.h        \
246         toolbar.c       \
247         toolbar.h       \
248         trash.c         \
249         trash.h         \
250         uri_utils.c     \
251         uri_utils.h     \
252         utilops.c       \
253         utilops.h       \
254         view_dir.c      \
255         view_dir.h      \
256         view_dir_list.c \
257         view_dir_list.h \
258         view_dir_tree.c \
259         view_dir_tree.h \
260         view_file.h     \
261         window.c        \
262         window.h        \
263         lua.c           \
264         glua.h
265
266 geeqie_LDADD = $(GTK_LIBS) $(GLIB_LIBS) $(INTLLIBS) $(JPEG_LIBS) $(TIFF_LIBS) $(LCMS_LIBS) $(EXIV2_LIBS) $(LIBCHAMPLAIN_LIBS) $(LIBCHAMPLAIN_GTK_LIBS) $(LUA_LIBS) $(CLUTTER_LIBS) $(CLUTTER_GTK_LIBS) $(FFMPEGTHUMBNAILER_LIBS)
267
268 EXTRA_DIST = \
269         $(extra_SLIK)
270
271 gq-marshal.h: gq-marshal.list
272         $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --header >$@
273
274 gq-marshal.c: gq-marshal.list gq-marshal.h
275         (echo "#include \"gq-marshal.h\"" ; $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --body ) >$@
276
277
278