converted image loader to a GObject and use signals for notification
[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         gq-marshal.c    \
125         gq-marshal.h    \
126         format_canon.c  \
127         format_canon.h  \
128         format_fuji.c   \
129         format_fuji.h   \
130         format_nikon.c  \
131         format_nikon.h  \
132         format_olympus.c        \
133         format_olympus.h        \
134         format_raw.c    \
135         format_raw.h    \
136         fullscreen.c    \
137         fullscreen.h    \
138         histogram.c     \
139         histogram.h     \
140         history_list.c  \
141         history_list.h  \
142         image.c         \
143         image.h         \
144         image-load.c    \
145         image-load.h    \
146         image-overlay.c \
147         image-overlay.h \
148         img-view.c      \
149         img-view.h      \
150         info.c          \
151         info.h          \
152         layout.c        \
153         layout.h        \
154         layout_config.c \
155         layout_config.h \
156         layout_image.c  \
157         layout_image.h  \
158         layout_util.c   \
159         layout_util.h   \
160         lirc.c          \
161         lirc.h          \
162         logwindow.c     \
163         logwindow.h     \
164         main.c          \
165         main.h          \
166         md5-util.c      \
167         md5-util.h      \
168         menu.c          \
169         menu.h          \
170         options.c       \
171         options.h       \
172         pan-calendar.c  \
173         pan-folder.c    \
174         pan-grid.c      \
175         pan-item.c      \
176         pan-timeline.c  \
177         pan-types.h     \
178         pan-util.c      \
179         pan-view.c      \
180         pan-view.h      \
181         pixbuf-renderer.c       \
182         pixbuf-renderer.h       \
183         pixbuf_util.c   \
184         pixbuf_util.h   \
185         preferences.c   \
186         preferences.h   \
187         print.c         \
188         print.h         \
189         remote.c        \
190         remote.h        \
191         rcfile.c        \
192         rcfile.h        \
193         search.c        \
194         search.h        \
195         secure_save.c   \
196         secure_save.h   \
197         similar.c       \
198         similar.h       \
199         slideshow.c     \
200         slideshow.h     \
201         typedefs.h      \
202         thumb.c         \
203         thumb.h         \
204         thumb_standard.c        \
205         thumb_standard.h        \
206         trash.c         \
207         trash.h         \
208         uri_utils.c     \
209         uri_utils.h     \
210         utilops.c       \
211         utilops.h       \
212         view_dir.c      \
213         view_dir.h      \
214         view_dir_list.c \
215         view_dir_list.h \
216         view_dir_tree.c \
217         view_dir_tree.h \
218         view_file.c     \
219         view_file.h     \
220         view_file_list.c        \
221         view_file_list.h        \
222         view_file_icon.c        \
223         view_file_icon.h        \
224         window.c        \
225         window.h
226
227 geeqie_LDADD = $(GTK_LIBS) $(GLIB_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
228
229 EXTRA_DIST = \
230         $(extra_SLIK)
231
232 gq-marshal.h: gq-marshal.list
233         $(GLIB_GENMARSHAL) --prefix=gq_marshal gq-marshal.list --header >$@
234
235 gq-marshal.c: gq-marshal.list
236         (echo "#include \"gq-marshal.h\"" ; $(GLIB_GENMARSHAL) --prefix=gq_marshal gq-marshal.list --body ) >$@
237
238
239