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