Added LIRC patch written by Matteo Beniamino
[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         filelist.c      \
108         filelist.h      \
109         format_canon.c  \
110         format_canon.h  \
111         format_fuji.c   \
112         format_fuji.h   \
113         format_nikon.c  \
114         format_nikon.h  \
115         format_olympus.c        \
116         format_olympus.h        \
117         format_raw.c    \
118         format_raw.h    \
119         fullscreen.c    \
120         fullscreen.h    \
121         histogram.c     \
122         histogram.h     \
123         image.c         \
124         image.h         \
125         image-load.c    \
126         image-load.h    \
127         image-overlay.c \
128         image-overlay.h \
129         img-view.c      \
130         img-view.h      \
131         info.c          \
132         info.h          \
133         layout.c        \
134         layout.h        \
135         layout_config.c \
136         layout_config.h \
137         layout_image.c  \
138         layout_image.h  \
139         layout_util.c   \
140         layout_util.h   \
141         lirc.c          \
142         lirc.h          \
143         main.c          \
144         main.h          \
145         md5-util.c      \
146         md5-util.h      \
147         menu.c          \
148         menu.h          \
149         options.c       \
150         options.h       \
151         pan-calendar.c  \
152         pan-folder.c    \
153         pan-grid.c      \
154         pan-item.c      \
155         pan-timeline.c  \
156         pan-types.h     \
157         pan-util.c      \
158         pan-view.c      \
159         pan-view.h      \
160         pixbuf-renderer.c       \
161         pixbuf-renderer.h       \
162         pixbuf_util.c   \
163         pixbuf_util.h   \
164         preferences.c   \
165         preferences.h   \
166         print.c         \
167         print.h         \
168         remote.c        \
169         remote.h        \
170         rcfile.c        \
171         rcfile.h        \
172         search.c        \
173         search.h        \
174         secure_save.c   \
175         secure_save.h   \
176         similar.c       \
177         similar.h       \
178         slideshow.c     \
179         slideshow.h     \
180         typedefs.h      \
181         thumb.c         \
182         thumb.h         \
183         thumb_standard.c        \
184         thumb_standard.h        \
185         utilops.c       \
186         utilops.h       \
187         view_dir.c      \
188         view_dir.h      \
189         view_dir_list.c \
190         view_dir_list.h \
191         view_dir_tree.c \
192         view_dir_tree.h \
193         view_file_list.c        \
194         view_file_list.h        \
195         view_file_icon.c        \
196         view_file_icon.h
197
198 geeqie_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
199
200 EXTRA_DIST = \
201         $(extra_SLIK)
202