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