added histogram pane
[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         advanced_exif.c \
80         advanced_exif.h \
81         bar.c           \
82         bar.h           \
83         bar_comment.c   \
84         bar_comment.h   \
85         bar_histogram.c \
86         bar_histogram.h \
87         bar_keywords.c  \
88         bar_keywords.h  \
89         bar_exif.c      \
90         bar_exif.h      \
91         bar_sort.c      \
92         bar_sort.h      \
93         cache.c         \
94         cache.h         \
95         cache-loader.c  \
96         cache-loader.h  \
97         cache_maint.c   \
98         cache_maint.h   \
99         cellrenderericon.c      \
100         cellrenderericon.h      \
101         collect.c       \
102         collect.h       \
103         collect-dlg.c   \
104         collect-dlg.h   \
105         collect-io.c    \
106         collect-io.h    \
107         collect-table.c \
108         collect-table.h \
109         color-man.c     \
110         color-man.h     \
111         compat.c        \
112         compat.h        \
113         debug.c         \
114         debug.h         \
115         dnd.c           \
116         dnd.h           \
117         dupe.c          \
118         dupe.h          \
119         editors.c       \
120         editors.h       \
121         exif.c          \
122         exif.h          \
123         exif-int.h      \
124         exif-common.c   \
125         exiv2.cc        \
126         filecache.c     \
127         filecache.h     \
128         filedata.c      \
129         filedata.h      \
130         filefilter.c    \
131         filefilter.h    \
132         gq-marshal.c    \
133         gq-marshal.h    \
134         gq-marshal.list \
135         format_canon.c  \
136         format_canon.h  \
137         format_fuji.c   \
138         format_fuji.h   \
139         format_nikon.c  \
140         format_nikon.h  \
141         format_olympus.c        \
142         format_olympus.h        \
143         format_raw.c    \
144         format_raw.h    \
145         fullscreen.c    \
146         fullscreen.h    \
147         histogram.c     \
148         histogram.h     \
149         history_list.c  \
150         history_list.h  \
151         image.c         \
152         image.h         \
153         image-load.c    \
154         image-load.h    \
155         image-overlay.c \
156         image-overlay.h \
157         img-view.c      \
158         img-view.h      \
159         layout.c        \
160         layout.h        \
161         layout_config.c \
162         layout_config.h \
163         layout_image.c  \
164         layout_image.h  \
165         layout_util.c   \
166         layout_util.h   \
167         lirc.c          \
168         lirc.h          \
169         logwindow.c     \
170         logwindow.h     \
171         main.c          \
172         main.h          \
173         md5-util.c      \
174         md5-util.h      \
175         menu.c          \
176         menu.h          \
177         metadata.c      \
178         metadata.h      \
179         misc.c          \
180         misc.h          \
181         options.c       \
182         options.h       \
183         pan-calendar.c  \
184         pan-folder.c    \
185         pan-grid.c      \
186         pan-item.c      \
187         pan-timeline.c  \
188         pan-types.h     \
189         pan-util.c      \
190         pan-view.c      \
191         pan-view.h      \
192         pixbuf-renderer.c       \
193         pixbuf-renderer.h       \
194         pixbuf_util.c   \
195         pixbuf_util.h   \
196         preferences.c   \
197         preferences.h   \
198         print.c         \
199         print.h         \
200         remote.c        \
201         remote.h        \
202         rcfile.c        \
203         rcfile.h        \
204         search.c        \
205         search.h        \
206         secure_save.c   \
207         secure_save.h   \
208         similar.c       \
209         similar.h       \
210         slideshow.c     \
211         slideshow.h     \
212         typedefs.h      \
213         thumb.c         \
214         thumb.h         \
215         thumb_standard.c        \
216         thumb_standard.h        \
217         trash.c         \
218         trash.h         \
219         uri_utils.c     \
220         uri_utils.h     \
221         utilops.c       \
222         utilops.h       \
223         view_dir.c      \
224         view_dir.h      \
225         view_dir_list.c \
226         view_dir_list.h \
227         view_dir_tree.c \
228         view_dir_tree.h \
229         view_file.c     \
230         view_file.h     \
231         view_file_list.c        \
232         view_file_list.h        \
233         view_file_icon.c        \
234         view_file_icon.h        \
235         window.c        \
236         window.h
237
238 geeqie_LDADD = $(GTK_LIBS) $(GLIB_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
239
240 EXTRA_DIST = \
241         $(extra_SLIK)
242
243 gq-marshal.h: gq-marshal.list
244         $(GLIB_GENMARSHAL) --prefix=gq_marshal gq-marshal.list --header >$@
245
246 gq-marshal.c: gq-marshal.list
247         (echo "#include \"gq-marshal.h\"" ; $(GLIB_GENMARSHAL) --prefix=gq_marshal gq-marshal.list --body ) >$@
248
249
250