moved safe delete functions to separate file
[geeqie.git] / src / Makefile.am
1 SUBDIRS = icons
2 DIST_SUBDIRS = icons
3
4 INCLUDES = -I$(srcdir) -I$(builddir)    \
5         -I$(top_srcdir) -I$(top_builddir)       \
6         -I$(includedir) $(GTK_CFLAGS)
7
8 module_SLIK = \
9         intl.h          \
10         ui_bookmark.c   \
11         ui_bookmark.h   \
12         ui_fileops.c    \
13         ui_fileops.h    \
14         ui_help.c       \
15         ui_help.h       \
16         ui_menu.c       \
17         ui_menu.h       \
18         ui_misc.c       \
19         ui_misc.h       \
20         ui_pathsel.c    \
21         ui_pathsel.h    \
22         ui_spinner.c    \
23         ui_spinner.h    \
24         ui_tabcomp.c    \
25         ui_tabcomp.h    \
26         ui_tree_edit.c  \
27         ui_tree_edit.h  \
28         ui_utildlg.c    \
29         ui_utildlg.h
30
31 extra_ICONS = \
32         ui_spinner.png  \
33         ui_tabcomp.png
34
35 ICON_PAIRS = \
36         icon_spinner            $(srcdir)/ui_spinner.png        \
37         icon_tabcomp            $(srcdir)/ui_tabcomp.png
38
39 ui_icons.h: $(extra_ICONS) Makefile.in
40         @(echo '/* Auto generated file, do not edit */'; echo; \
41          echo '#ifndef UI_ICONS_H'; \
42          echo '#define UI_ICONS_H'; echo; \
43          $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
44          echo '#endif /* UI_ICONS_H */') > $@ || echo "!!! Failed to generate $@ !!!"
45
46 ClayRGB1998_icc.h: ClayRGB1998.icc
47         echo "/*" > $@ 
48         echo " * This file was generated from ClayRGB1998.icc, DO NOT EDIT " >> $@
49         echo " * http://www.argyllcms.com/ClayRGB1998.zip " >> $@
50         echo " */ " >> $@
51         xxd -i $^ >> $@
52
53 ui_spinner.o: ui_icons.h
54
55
56 noinst_DATA = ui_icons.h
57 CLEANFILES = $(noinst_DATA)
58                                                                                                                      
59 extra_SLIK = \
60         $(extra_ICONS)
61
62 bin_PROGRAMS = geeqie
63
64 geeqie_SOURCES = \
65         $(module_SLIK)  \
66         ClayRGB1998.icc \
67         ClayRGB1998_icc.h \
68         bar_info.c      \
69         bar_info.h      \
70         bar_exif.c      \
71         bar_exif.h      \
72         bar_sort.c      \
73         bar_sort.h      \
74         cache.c         \
75         cache.h         \
76         cache-loader.c  \
77         cache-loader.h  \
78         cache_maint.c   \
79         cache_maint.h   \
80         cellrenderericon.c      \
81         cellrenderericon.h      \
82         collect.c       \
83         collect.h       \
84         collect-dlg.c   \
85         collect-dlg.h   \
86         collect-io.c    \
87         collect-io.h    \
88         collect-table.c \
89         collect-table.h \
90         color-man.c     \
91         color-man.h     \
92         compat.c        \
93         compat.h        \
94         debug.c         \
95         debug.h         \
96         dnd.c           \
97         dnd.h           \
98         dupe.c          \
99         dupe.h          \
100         editors.c       \
101         editors.h       \
102         exif.c          \
103         exif.h          \
104         exif-int.h      \
105         exif-common.c   \
106         exiv2.cc        \
107         filedata.c      \
108         filedata.h      \
109         filefilter.c    \
110         filefilter.h    \
111         format_canon.c  \
112         format_canon.h  \
113         format_fuji.c   \
114         format_fuji.h   \
115         format_nikon.c  \
116         format_nikon.h  \
117         format_olympus.c        \
118         format_olympus.h        \
119         format_raw.c    \
120         format_raw.h    \
121         fullscreen.c    \
122         fullscreen.h    \
123         histogram.c     \
124         histogram.h     \
125         image.c         \
126         image.h         \
127         image-load.c    \
128         image-load.h    \
129         image-overlay.c \
130         image-overlay.h \
131         img-view.c      \
132         img-view.h      \
133         info.c          \
134         info.h          \
135         layout.c        \
136         layout.h        \
137         layout_config.c \
138         layout_config.h \
139         layout_image.c  \
140         layout_image.h  \
141         layout_util.c   \
142         layout_util.h   \
143         lirc.c          \
144         lirc.h          \
145         main.c          \
146         main.h          \
147         md5-util.c      \
148         md5-util.h      \
149         menu.c          \
150         menu.h          \
151         options.c       \
152         options.h       \
153         pan-calendar.c  \
154         pan-folder.c    \
155         pan-grid.c      \
156         pan-item.c      \
157         pan-timeline.c  \
158         pan-types.h     \
159         pan-util.c      \
160         pan-view.c      \
161         pan-view.h      \
162         pixbuf-renderer.c       \
163         pixbuf-renderer.h       \
164         pixbuf_util.c   \
165         pixbuf_util.h   \
166         preferences.c   \
167         preferences.h   \
168         print.c         \
169         print.h         \
170         remote.c        \
171         remote.h        \
172         rcfile.c        \
173         rcfile.h        \
174         search.c        \
175         search.h        \
176         secure_save.c   \
177         secure_save.h   \
178         similar.c       \
179         similar.h       \
180         slideshow.c     \
181         slideshow.h     \
182         typedefs.h      \
183         thumb.c         \
184         thumb.h         \
185         thumb_standard.c        \
186         thumb_standard.h        \
187         trash.c         \
188         utilops.c       \
189         utilops.h       \
190         view_dir.c      \
191         view_dir.h      \
192         view_dir_list.c \
193         view_dir_list.h \
194         view_dir_tree.c \
195         view_dir_tree.h \
196         view_file.c     \
197         view_file.h     \
198         view_file_list.c        \
199         view_file_list.h        \
200         view_file_icon.c        \
201         view_file_icon.h
202
203 geeqie_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
204
205 EXTRA_DIST = \
206         $(extra_SLIK)
207