555b3b14476ed486ebf8423ff8ad2181f89ed1dc
[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)
40         gdk-pixbuf-csource --raw --extern --build-list $(ICON_PAIRS) > ui_icons.h
41
42 ui_spinner.o: ui_icons.h
43
44
45 noinst_DATA = ui_icons.h
46 CLEANFILES = $(noinst_DATA)
47                                                                                                                      
48 extra_SLIK = \
49         $(extra_ICONS)
50
51 bin_PROGRAMS = gqview
52
53 gqview_SOURCES = \
54         $(module_SLIK)  \
55         bar_info.c      \
56         bar_info.h      \
57         bar_exif.c      \
58         bar_exif.h      \
59         bar_sort.c      \
60         bar_sort.h      \
61         cache.c         \
62         cache.h         \
63         cache-loader.c  \
64         cache-loader.h  \
65         cache_maint.c   \
66         cache_maint.h   \
67         cellrenderericon.c      \
68         cellrenderericon.h      \
69         collect.c       \
70         collect.h       \
71         collect-dlg.c   \
72         collect-dlg.h   \
73         collect-io.c    \
74         collect-io.h    \
75         collect-table.c \
76         collect-table.h \
77         dnd.c           \
78         dnd.h           \
79         dupe.c          \
80         dupe.h          \
81         editors.c       \
82         editors.h       \
83         exif.c          \
84         exif.h          \
85         filelist.c      \
86         filelist.h      \
87         format_canon.c  \
88         format_canon.h  \
89         format_fuji.c   \
90         format_fuji.h   \
91         format_nikon.c  \
92         format_nikon.h  \
93         format_raw.c    \
94         format_raw.h    \
95         fullscreen.c    \
96         fullscreen.h    \
97         globals.c       \
98         gqview.h        \
99         image.c         \
100         image.h         \
101         image-load.c    \
102         image-load.h    \
103         image-overlay.c \
104         image-overlay.h \
105         img-view.c      \
106         img-view.h      \
107         info.c          \
108         info.h          \
109         layout.c        \
110         layout.h        \
111         layout_config.c \
112         layout_config.h \
113         layout_image.c  \
114         layout_image.h  \
115         layout_util.c   \
116         layout_util.h   \
117         main.c          \
118         md5-util.c      \
119         md5-util.h      \
120         menu.c          \
121         menu.h          \
122         pan-view.c      \
123         pan-view.h      \
124         pixbuf-renderer.c       \
125         pixbuf-renderer.h       \
126         pixbuf_util.c   \
127         pixbuf_util.h   \
128         preferences.c   \
129         preferences.h   \
130         print.c         \
131         print.h         \
132         remote.c        \
133         remote.h        \
134         rcfile.c        \
135         rcfile.h        \
136         search.c        \
137         search.h        \
138         similar.c       \
139         similar.h       \
140         slideshow.c     \
141         slideshow.h     \
142         typedefs.h      \
143         thumb.c         \
144         thumb.h         \
145         thumb_standard.c        \
146         thumb_standard.h        \
147         utilops.c       \
148         utilops.h       \
149         view_dir_list.c \
150         view_dir_list.h \
151         view_dir_tree.c \
152         view_dir_tree.h \
153         view_file_list.c        \
154         view_file_list.h        \
155         view_file_icon.c        \
156         view_file_icon.h
157
158 gqview_LDADD = $(GTK_LIBS) $(INTLLIBS)
159
160 EXTRA_DIST = \
161         $(extra_SLIK)
162