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