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