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