first support for AdobeRGB colorspace
[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         dnd.c           \
93         dnd.h           \
94         dupe.c          \
95         dupe.h          \
96         editors.c       \
97         editors.h       \
98         exif.c          \
99         exif.h          \
100         exif-int.h      \
101         exif-common.c   \
102         exiv2.cc        \
103         filelist.c      \
104         filelist.h      \
105         format_canon.c  \
106         format_canon.h  \
107         format_fuji.c   \
108         format_fuji.h   \
109         format_nikon.c  \
110         format_nikon.h  \
111         format_olympus.c        \
112         format_olympus.h        \
113         format_raw.c    \
114         format_raw.h    \
115         fullscreen.c    \
116         fullscreen.h    \
117         globals.c       \
118         histogram.c     \
119         histogram.h     \
120         image.c         \
121         image.h         \
122         image-load.c    \
123         image-load.h    \
124         image-overlay.c \
125         image-overlay.h \
126         img-view.c      \
127         img-view.h      \
128         info.c          \
129         info.h          \
130         layout.c        \
131         layout.h        \
132         layout_config.c \
133         layout_config.h \
134         layout_image.c  \
135         layout_image.h  \
136         layout_util.c   \
137         layout_util.h   \
138         main.c          \
139         main.h          \
140         md5-util.c      \
141         md5-util.h      \
142         menu.c          \
143         menu.h          \
144         pan-calendar.c  \
145         pan-folder.c    \
146         pan-grid.c      \
147         pan-item.c      \
148         pan-timeline.c  \
149         pan-types.h     \
150         pan-util.c      \
151         pan-view.c      \
152         pan-view.h      \
153         pixbuf-renderer.c       \
154         pixbuf-renderer.h       \
155         pixbuf_util.c   \
156         pixbuf_util.h   \
157         preferences.c   \
158         preferences.h   \
159         print.c         \
160         print.h         \
161         remote.c        \
162         remote.h        \
163         rcfile.c        \
164         rcfile.h        \
165         search.c        \
166         search.h        \
167         secure_save.c   \
168         secure_save.h   \
169         similar.c       \
170         similar.h       \
171         slideshow.c     \
172         slideshow.h     \
173         typedefs.h      \
174         thumb.c         \
175         thumb.h         \
176         thumb_standard.c        \
177         thumb_standard.h        \
178         utilops.c       \
179         utilops.h       \
180         view_dir.c      \
181         view_dir.h      \
182         view_dir_list.c \
183         view_dir_list.h \
184         view_dir_tree.c \
185         view_dir_tree.h \
186         view_file_list.c        \
187         view_file_list.h        \
188         view_file_icon.c        \
189         view_file_icon.h
190
191 geeqie_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
192
193 EXTRA_DIST = \
194         $(extra_SLIK)
195