Sun May 15 21:40:26 2005 John Ellis <johne@verizon.net>
[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_raw.c    \
88         format_raw.h    \
89         fullscreen.c    \
90         fullscreen.h    \
91         globals.c       \
92         gqview.h        \
93         image.c         \
94         image.h         \
95         image-load.c    \
96         image-load.h    \
97         image-overlay.c \
98         image-overlay.h \
99         img-view.c      \
100         img-view.h      \
101         info.c          \
102         info.h          \
103         layout.c        \
104         layout.h        \
105         layout_config.c \
106         layout_config.h \
107         layout_image.c  \
108         layout_image.h  \
109         layout_util.c   \
110         layout_util.h   \
111         main.c          \
112         md5-util.c      \
113         md5-util.h      \
114         menu.c          \
115         menu.h          \
116         pan-view.c      \
117         pan-view.h      \
118         pixbuf-renderer.c       \
119         pixbuf-renderer.h       \
120         pixbuf_util.c   \
121         pixbuf_util.h   \
122         preferences.c   \
123         preferences.h   \
124         print.c         \
125         print.h         \
126         remote.c        \
127         remote.h        \
128         rcfile.c        \
129         rcfile.h        \
130         search.c        \
131         search.h        \
132         similar.c       \
133         similar.h       \
134         slideshow.c     \
135         slideshow.h     \
136         typedefs.h      \
137         thumb.c         \
138         thumb.h         \
139         thumb_standard.c        \
140         thumb_standard.h        \
141         utilops.c       \
142         utilops.h       \
143         view_dir_list.c \
144         view_dir_list.h \
145         view_dir_tree.c \
146         view_dir_tree.h \
147         view_file_list.c        \
148         view_file_list.h        \
149         view_file_icon.c        \
150         view_file_icon.h
151
152 gqview_LDADD = $(GTK_LIBS) $(INTLLIBS)
153
154 EXTRA_DIST = \
155         $(extra_SLIK)
156