Change sidebar rating pane layout
[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         $(PDF_CFLAGS)   \
15         $(SPELL_CFLAGS) \
16         $(HEIF_CFLAGS)  \
17         $(WEBP_CFLAGS)  \
18         $(J2K_CFLAGS)   \
19         $(JPEGXL_CFLAGS)        \
20         -I$(top_srcdir)                 \
21         -I$(top_builddir)
22
23
24 AM_CXXFLAGS =                           \
25         $(GLIB_CFLAGS) $(GTK_CFLAGS)    \
26         $(LCMS_CFLAGS)                  \
27         $(EXIV2_CFLAGS)                 \
28         $(LIBCHAMPLAIN_CFLAGS)          \
29         $(LIBCHAMPLAIN_GTK_CFLAGS)      \
30         $(LUA_CFLAGS)                   \
31         $(CLUTTER_CFLAGS)               \
32         $(CLUTTER_GTK_CFLAGS)           \
33         $(FFMPEGTHUMBNAILER_CFLAGS)     \
34         $(PDF_CFLAGS)   \
35         $(SPELL_CFLAGS) \
36         $(HEIF_CFLAGS)  \
37         $(WEBP_CFLAGS)  \
38         $(J2K_CFLAGS)   \
39         $(JPEGXL_CFLAGS)        \
40         -I$(top_srcdir)                 \
41         -I$(top_builddir)
42
43 module_SLIK = \
44         intl.h          \
45         ui_bookmark.c   \
46         ui_bookmark.h   \
47         ui_fileops.c    \
48         ui_fileops.h    \
49         ui_help.c       \
50         ui_help.h       \
51         ui_menu.c       \
52         ui_menu.h       \
53         ui_misc.c       \
54         ui_misc.h       \
55         ui_pathsel.c    \
56         ui_pathsel.h    \
57         ui_spinner.c    \
58         ui_spinner.h    \
59         ui_tabcomp.c    \
60         ui_tabcomp.h    \
61         ui_tree_edit.c  \
62         ui_tree_edit.h  \
63         ui_utildlg.c    \
64         ui_utildlg.h
65
66 extra_ICONS = \
67         ui_spinner.png  \
68         ui_tabcomp.png
69
70 ICON_PAIRS = \
71         icon_spinner            $(srcdir)/ui_spinner.png        \
72         icon_tabcomp            $(srcdir)/ui_tabcomp.png
73
74 ui_icons.h: $(extra_ICONS) Makefile.in
75         @sh -ec "echo '/* Auto generated file, do not edit */'; echo; \
76          echo '#ifndef UI_ICONS_H'; \
77          echo '#define UI_ICONS_H'; echo; \
78          $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
79          echo '#endif /* UI_ICONS_H */'" > $@ || { echo "!!! Failed to generate $@ !!!"; exit 1; }
80
81 ClayRGB1998_icc.h: ClayRGB1998.icc
82         echo "/*" > $@
83         echo " * This file was generated from ClayRGB1998.icc, DO NOT EDIT " >> $@
84         echo " * http://www.argyllcms.com/ClayRGB1998.zip " >> $@
85         echo " */ " >> $@
86         xxd -i $^ >> $@
87
88 ui_spinner.o: ui_icons.h
89
90
91 noinst_DATA = ui_icons.h
92 CLEANFILES = $(noinst_DATA)
93
94 extra_SLIK = \
95         $(extra_ICONS)
96
97 include $(srcdir)/pan-view/Makefile.am
98 include $(srcdir)/view_file/Makefile.am
99
100 bin_PROGRAMS = geeqie
101
102 geeqie_SOURCES = \
103         $(module_SLIK)  \
104         $(module_pan_view)      \
105         $(module_view_file)     \
106         ClayRGB1998.icc \
107         ClayRGB1998_icc.h \
108         advanced_exif.c \
109         advanced_exif.h \
110         bar.c           \
111         bar.h           \
112         bar_comment.c   \
113         bar_comment.h   \
114         bar_gps.c       \
115         bar_gps.h       \
116         bar_histogram.c \
117         bar_histogram.h \
118         bar_keywords.c  \
119         bar_keywords.h  \
120         bar_exif.c      \
121         bar_exif.h      \
122         bar_rating.c    \
123         bar_rating.h    \
124         bar_sort.c      \
125         bar_sort.h      \
126         cache.c         \
127         cache.h         \
128         cache-loader.c  \
129         cache-loader.h  \
130         cache_maint.c   \
131         cache_maint.h   \
132         cellrenderericon.c      \
133         cellrenderericon.h      \
134         collect.c       \
135         collect.h       \
136         collect-dlg.c   \
137         collect-dlg.h   \
138         collect-io.c    \
139         collect-io.h    \
140         collect-table.c \
141         collect-table.h \
142         color-man.c     \
143         color-man.h     \
144         compat.c        \
145         compat.h        \
146         debug.c         \
147         debug.h         \
148         desktop_file.c  \
149         desktop_file.h  \
150         dnd.c           \
151         dnd.h           \
152         dupe.c          \
153         dupe.h          \
154         editors.c       \
155         editors.h       \
156         exif.c          \
157         exif.h          \
158         exif-int.h      \
159         exif-common.c   \
160         exiv2.cc        \
161         filecache.c     \
162         filecache.h     \
163         filedata.c      \
164         filedata.h      \
165         filefilter.c    \
166         filefilter.h    \
167         gq-marshal.c    \
168         gq-marshal.h    \
169         gq-marshal.list \
170         format_canon.c  \
171         format_canon.h  \
172         format_fuji.c   \
173         format_fuji.h   \
174         format_nikon.c  \
175         format_nikon.h  \
176         format_olympus.c        \
177         format_olympus.h        \
178         format_raw.c    \
179         format_raw.h    \
180         fullscreen.c    \
181         fullscreen.h    \
182         histogram.c     \
183         histogram.h     \
184         history_list.c  \
185         history_list.h  \
186         image.c         \
187         image.h         \
188         image-load.c    \
189         image-load.h    \
190         image_load_cr3.c\
191         image_load_cr3.h\
192         image_load_gdk.c\
193         image_load_gdk.h\
194         image_load_jpeg.c\
195         image_load_jpeg.h\
196         image_load_tiff.c\
197         image_load_tiff.h\
198         image_load_dds.c\
199         image_load_dds.h\
200         image_load_external.c\
201         image_load_external.h\
202         image_load_collection.c\
203         image_load_collection.h\
204         image_load_pdf.c\
205         image_load_pdf.h\
206         image_load_heif.c\
207         image_load_heif.h\
208         image_load_webp.c\
209         image_load_webp.h\
210         image_load_zxscr.c\
211         image_load_zxscr.h\
212         image_load_djvu.c\
213         image_load_djvu.h\
214         image_load_psd.c\
215         image_load_psd.h\
216         image_load_j2k.c\
217         image_load_j2k.h\
218         image_load_jpegxl.c\
219         image_load_jpegxl.h\
220         image_load_libraw.c\
221         image_load_libraw.h\
222         image_load_svgz.c\
223         image_load_svgz.h\
224         image_load_ffmpegthumbnailer.c\
225         image_load_ffmpegthumbnailer.h\
226         image-overlay.c \
227         image-overlay.h \
228         img-view.c      \
229         img-view.h      \
230         jpeg_parser.c   \
231         jpeg_parser.h   \
232         layout.c        \
233         layout.h        \
234         layout_config.c \
235         layout_config.h \
236         layout_image.c  \
237         layout_image.h  \
238         layout_util.c   \
239         layout_util.h   \
240         keymap_template.c\
241         keymap_template.h\
242         lirc.c          \
243         lirc.h          \
244         logwindow.c     \
245         logwindow.h     \
246         main.c          \
247         main.h          \
248         md5-util.c      \
249         md5-util.h      \
250         menu.c          \
251         menu.h          \
252         metadata.c      \
253         metadata.h      \
254         misc.c          \
255         misc.h          \
256         options.c       \
257         options.h       \
258         osd.c   \
259         osd.h   \
260         pan-view.h      \
261         pixbuf-renderer.c       \
262         pixbuf-renderer.h       \
263         renderer-tiles.c        \
264         renderer-tiles.h        \
265         renderer-clutter.c      \
266         renderer-clutter.h      \
267         pixbuf_util.c   \
268         pixbuf_util.h   \
269         preferences.c   \
270         preferences.h   \
271         print.c         \
272         print.h         \
273         remote.c        \
274         remote.h        \
275         rcfile.c        \
276         rcfile.h        \
277         search.c        \
278         search.h        \
279         search_and_run.c        \
280         search_and_run.h        \
281         secure_save.c   \
282         secure_save.h   \
283         shortcuts.c     \
284         shortcuts.h     \
285         similar.c       \
286         similar.h       \
287         slideshow.c     \
288         slideshow.h     \
289         typedefs.h      \
290         thumb.c         \
291         thumb.h         \
292         thumb_standard.c        \
293         thumb_standard.h        \
294         toolbar.c       \
295         toolbar.h       \
296         trash.c         \
297         trash.h         \
298         uri_utils.c     \
299         uri_utils.h     \
300         utilops.c       \
301         utilops.h       \
302         view_dir.c      \
303         view_dir.h      \
304         view_dir_list.c \
305         view_dir_list.h \
306         view_dir_tree.c \
307         view_dir_tree.h \
308         view_file.h     \
309         whereami.c      \
310         whereami.h      \
311         window.c        \
312         window.h        \
313         lua.c           \
314         glua.h          \
315         zonedetect.c    \
316         zonedetect.h
317
318 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) $(PDF_LIBS) $(HEIF_LIBS) $(WEBP_LIBS) $(SPELL_LIBS) $(DJVU_LIBS) $(J2K_LIBS) $(RAW_LIBS) $(JPEGXL_LIBS) $(ARCHIVE_LIBS)
319
320 EXTRA_DIST = \
321         $(extra_SLIK)
322
323 image-load.o: gq-marshal.h
324
325 gq-marshal.h: gq-marshal.list
326         $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --header >$@
327
328 gq-marshal.c: gq-marshal.list gq-marshal.h
329         (echo "#include \"gq-marshal.h\"" ; $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --body ) >$@