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