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