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