##### Note: GQview CVS on sourceforge is not always up to date, please use #####
[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_maint.c   \
64         cache_maint.h   \
65         cellrenderericon.c      \
66         cellrenderericon.h      \
67         collect.c       \
68         collect.h       \
69         collect-dlg.c   \
70         collect-dlg.h   \
71         collect-io.c    \
72         collect-io.h    \
73         collect-table.c \
74         collect-table.h \
75         dnd.c           \
76         dnd.h           \
77         dupe.c          \
78         dupe.h          \
79         editors.c       \
80         editors.h       \
81         exif.c          \
82         exif.h          \
83         filelist.c      \
84         filelist.h      \
85         fullscreen.c    \
86         fullscreen.h    \
87         globals.c       \
88         gqview.h        \
89         image.c         \
90         image.h         \
91         image-load.c    \
92         image-load.h    \
93         image-overlay.c \
94         image-overlay.h \
95         img-view.c      \
96         img-view.h      \
97         info.c          \
98         info.h          \
99         layout.c        \
100         layout.h        \
101         layout_config.c \
102         layout_config.h \
103         layout_image.c  \
104         layout_image.h  \
105         layout_util.c   \
106         layout_util.h   \
107         main.c          \
108         md5-util.c      \
109         md5-util.h      \
110         menu.c          \
111         menu.h          \
112         pan-view.c      \
113         pan-view.h      \
114         pixbuf-renderer.c       \
115         pixbuf-renderer.h       \
116         pixbuf_util.c   \
117         pixbuf_util.h   \
118         preferences.c   \
119         preferences.h   \
120         print.c         \
121         print.h         \
122         remote.c        \
123         remote.h        \
124         rcfile.c        \
125         rcfile.h        \
126         search.c        \
127         search.h        \
128         similar.c       \
129         similar.h       \
130         slideshow.c     \
131         slideshow.h     \
132         typedefs.h      \
133         thumb.c         \
134         thumb.h         \
135         thumb_standard.c        \
136         thumb_standard.h        \
137         utilops.c       \
138         utilops.h       \
139         view_dir_list.c \
140         view_dir_list.h \
141         view_dir_tree.c \
142         view_dir_tree.h \
143         view_file_list.c        \
144         view_file_list.h        \
145         view_file_icon.c        \
146         view_file_icon.h
147
148 gqview_LDADD = $(GTK_LIBS) $(INTLLIBS)
149
150 EXTRA_DIST = \
151         $(extra_SLIK)
152