Adding support for lua scripting
[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         $(LIBCHAMPLAIN_CFLAGS)          \
9         $(LIBCHAMPLAIN_GTK_CFLAGS)      \
10         $(LUA_CFLAGS)                   \
11         -I$(top_srcdir)                 \
12         -I$(top_builddir)
13
14
15 AM_CXXFLAGS =                           \
16         $(GLIB_CFLAGS) $(GTK_CFLAGS)    \
17         $(LCMS_CFLAGS)                  \
18         $(EXIV2_CFLAGS)                 \
19         $(LIBCHAMPLAIN_CFLAGS)          \
20         $(LIBCHAMPLAIN_GTK_CFLAGS)      \
21         $(LUA_CFLAGS)                   \
22         -I$(top_srcdir)                 \
23         -I$(top_builddir)
24
25 module_SLIK = \
26         intl.h          \
27         ui_bookmark.c   \
28         ui_bookmark.h   \
29         ui_fileops.c    \
30         ui_fileops.h    \
31         ui_help.c       \
32         ui_help.h       \
33         ui_menu.c       \
34         ui_menu.h       \
35         ui_misc.c       \
36         ui_misc.h       \
37         ui_pathsel.c    \
38         ui_pathsel.h    \
39         ui_spinner.c    \
40         ui_spinner.h    \
41         ui_tabcomp.c    \
42         ui_tabcomp.h    \
43         ui_tree_edit.c  \
44         ui_tree_edit.h  \
45         ui_utildlg.c    \
46         ui_utildlg.h
47
48 extra_ICONS = \
49         ui_spinner.png  \
50         ui_tabcomp.png
51
52 ICON_PAIRS = \
53         icon_spinner            $(srcdir)/ui_spinner.png        \
54         icon_tabcomp            $(srcdir)/ui_tabcomp.png
55
56 ui_icons.h: $(extra_ICONS) Makefile.in
57         @(echo '/* Auto generated file, do not edit */'; echo; \
58          echo '#ifndef UI_ICONS_H'; \
59          echo '#define UI_ICONS_H'; echo; \
60          $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
61          echo '#endif /* UI_ICONS_H */') > $@ || echo "!!! Failed to generate $@ !!!"
62
63 ClayRGB1998_icc.h: ClayRGB1998.icc
64         echo "/*" > $@
65         echo " * This file was generated from ClayRGB1998.icc, DO NOT EDIT " >> $@
66         echo " * http://www.argyllcms.com/ClayRGB1998.zip " >> $@
67         echo " */ " >> $@
68         xxd -i $^ >> $@
69
70 ui_spinner.o: ui_icons.h
71
72
73 noinst_DATA = ui_icons.h
74 CLEANFILES = $(noinst_DATA)
75
76 extra_SLIK = \
77         $(extra_ICONS)
78
79 bin_PROGRAMS = geeqie
80
81 geeqie_SOURCES = \
82         $(module_SLIK)  \
83         ClayRGB1998.icc \
84         ClayRGB1998_icc.h \
85         advanced_exif.c \
86         advanced_exif.h \
87         bar.c           \
88         bar.h           \
89         bar_comment.c   \
90         bar_comment.h   \
91         bar_gps.c       \
92         bar_gps.h       \
93         bar_histogram.c \
94         bar_histogram.h \
95         bar_keywords.c  \
96         bar_keywords.h  \
97         bar_exif.c      \
98         bar_exif.h      \
99         bar_sort.c      \
100         bar_sort.h      \
101         cache.c         \
102         cache.h         \
103         cache-loader.c  \
104         cache-loader.h  \
105         cache_maint.c   \
106         cache_maint.h   \
107         cellrenderericon.c      \
108         cellrenderericon.h      \
109         collect.c       \
110         collect.h       \
111         collect-dlg.c   \
112         collect-dlg.h   \
113         collect-io.c    \
114         collect-io.h    \
115         collect-table.c \
116         collect-table.h \
117         color-man.c     \
118         color-man.h     \
119         compat.c        \
120         compat.h        \
121         debug.c         \
122         debug.h         \
123         desktop_file.c  \
124         desktop_file.h  \
125         dnd.c           \
126         dnd.h           \
127         dupe.c          \
128         dupe.h          \
129         editors.c       \
130         editors.h       \
131         exif.c          \
132         exif.h          \
133         exif-int.h      \
134         exif-common.c   \
135         exiv2.cc        \
136         filecache.c     \
137         filecache.h     \
138         filedata.c      \
139         filedata.h      \
140         filefilter.c    \
141         filefilter.h    \
142         gq-marshal.c    \
143         gq-marshal.h    \
144         gq-marshal.list \
145         format_canon.c  \
146         format_canon.h  \
147         format_fuji.c   \
148         format_fuji.h   \
149         format_nikon.c  \
150         format_nikon.h  \
151         format_olympus.c        \
152         format_olympus.h        \
153         format_raw.c    \
154         format_raw.h    \
155         fullscreen.c    \
156         fullscreen.h    \
157         histogram.c     \
158         histogram.h     \
159         history_list.c  \
160         history_list.h  \
161         image.c         \
162         image.h         \
163         image-load.c    \
164         image-load.h    \
165         image-overlay.c \
166         image-overlay.h \
167         img-view.c      \
168         img-view.h      \
169         layout.c        \
170         layout.h        \
171         layout_config.c \
172         layout_config.h \
173         layout_image.c  \
174         layout_image.h  \
175         layout_util.c   \
176         layout_util.h   \
177         lirc.c          \
178         lirc.h          \
179         logwindow.c     \
180         logwindow.h     \
181         main.c          \
182         main.h          \
183         md5-util.c      \
184         md5-util.h      \
185         menu.c          \
186         menu.h          \
187         metadata.c      \
188         metadata.h      \
189         misc.c          \
190         misc.h          \
191         options.c       \
192         options.h       \
193         pan-calendar.c  \
194         pan-folder.c    \
195         pan-grid.c      \
196         pan-item.c      \
197         pan-timeline.c  \
198         pan-types.h     \
199         pan-util.c      \
200         pan-view.c      \
201         pan-view.h      \
202         pixbuf-renderer.c       \
203         pixbuf-renderer.h       \
204         pixbuf_util.c   \
205         pixbuf_util.h   \
206         preferences.c   \
207         preferences.h   \
208         print.c         \
209         print.h         \
210         remote.c        \
211         remote.h        \
212         rcfile.c        \
213         rcfile.h        \
214         search.c        \
215         search.h        \
216         secure_save.c   \
217         secure_save.h   \
218         similar.c       \
219         similar.h       \
220         slideshow.c     \
221         slideshow.h     \
222         typedefs.h      \
223         thumb.c         \
224         thumb.h         \
225         thumb_standard.c        \
226         thumb_standard.h        \
227         trash.c         \
228         trash.h         \
229         uri_utils.c     \
230         uri_utils.h     \
231         utilops.c       \
232         utilops.h       \
233         view_dir.c      \
234         view_dir.h      \
235         view_dir_list.c \
236         view_dir_list.h \
237         view_dir_tree.c \
238         view_dir_tree.h \
239         view_file.c     \
240         view_file.h     \
241         view_file_list.c        \
242         view_file_list.h        \
243         view_file_icon.c        \
244         view_file_icon.h        \
245         window.c        \
246         window.h        \
247         lua.c
248
249 geeqie_LDADD = $(GTK_LIBS) $(GLIB_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS) $(LIBCHAMPLAIN_LIBS) $(LIBCHAMPLAIN_GTK_LIBS) $(LUA_LIBS)
250
251 EXTRA_DIST = \
252         $(extra_SLIK)
253
254 gq-marshal.h: gq-marshal.list
255         $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --header >$@
256
257 gq-marshal.c: gq-marshal.list
258         (echo "#include \"gq-marshal.h\"" ; $(GLIB_GENMARSHAL) --prefix=gq_marshal $(srcdir)/gq-marshal.list --body ) >$@
259
260
261