Introduce a new struct ViewDir to handle directory views common
[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 ui_spinner.o: ui_icons.h
47
48
49 noinst_DATA = ui_icons.h
50 CLEANFILES = $(noinst_DATA)
51                                                                                                                      
52 extra_SLIK = \
53         $(extra_ICONS)
54
55 bin_PROGRAMS = geeqie
56
57 geeqie_SOURCES = \
58         $(module_SLIK)  \
59         bar_info.c      \
60         bar_info.h      \
61         bar_exif.c      \
62         bar_exif.h      \
63         bar_sort.c      \
64         bar_sort.h      \
65         cache.c         \
66         cache.h         \
67         cache-loader.c  \
68         cache-loader.h  \
69         cache_maint.c   \
70         cache_maint.h   \
71         cellrenderericon.c      \
72         cellrenderericon.h      \
73         collect.c       \
74         collect.h       \
75         collect-dlg.c   \
76         collect-dlg.h   \
77         collect-io.c    \
78         collect-io.h    \
79         collect-table.c \
80         collect-table.h \
81         color-man.c     \
82         color-man.h     \
83         dnd.c           \
84         dnd.h           \
85         dupe.c          \
86         dupe.h          \
87         editors.c       \
88         editors.h       \
89         exif.c          \
90         exif.h          \
91         exif-int.h      \
92         exif-common.c   \
93         exiv2.cc        \
94         filelist.c      \
95         filelist.h      \
96         format_canon.c  \
97         format_canon.h  \
98         format_fuji.c   \
99         format_fuji.h   \
100         format_nikon.c  \
101         format_nikon.h  \
102         format_olympus.c        \
103         format_olympus.h        \
104         format_raw.c    \
105         format_raw.h    \
106         fullscreen.c    \
107         fullscreen.h    \
108         globals.c       \
109         histogram.c     \
110         histogram.h     \
111         image.c         \
112         image.h         \
113         image-load.c    \
114         image-load.h    \
115         image-overlay.c \
116         image-overlay.h \
117         img-view.c      \
118         img-view.h      \
119         info.c          \
120         info.h          \
121         layout.c        \
122         layout.h        \
123         layout_config.c \
124         layout_config.h \
125         layout_image.c  \
126         layout_image.h  \
127         layout_util.c   \
128         layout_util.h   \
129         main.c          \
130         main.h          \
131         md5-util.c      \
132         md5-util.h      \
133         menu.c          \
134         menu.h          \
135         pan-calendar.c  \
136         pan-folder.c    \
137         pan-grid.c      \
138         pan-item.c      \
139         pan-timeline.c  \
140         pan-types.h     \
141         pan-util.c      \
142         pan-view.c      \
143         pan-view.h      \
144         pixbuf-renderer.c       \
145         pixbuf-renderer.h       \
146         pixbuf_util.c   \
147         pixbuf_util.h   \
148         preferences.c   \
149         preferences.h   \
150         print.c         \
151         print.h         \
152         remote.c        \
153         remote.h        \
154         rcfile.c        \
155         rcfile.h        \
156         search.c        \
157         search.h        \
158         secure_save.c   \
159         secure_save.h   \
160         similar.c       \
161         similar.h       \
162         slideshow.c     \
163         slideshow.h     \
164         typedefs.h      \
165         thumb.c         \
166         thumb.h         \
167         thumb_standard.c        \
168         thumb_standard.h        \
169         utilops.c       \
170         utilops.h       \
171         view_dir.c      \
172         view_dir.h      \
173         view_dir_list.c \
174         view_dir_list.h \
175         view_dir_tree.c \
176         view_dir_tree.h \
177         view_file_list.c        \
178         view_file_list.h        \
179         view_file_icon.c        \
180         view_file_icon.h
181
182 geeqie_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)
183
184 EXTRA_DIST = \
185         $(extra_SLIK)
186