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