d691d01eeb94a9d8c4c8cae745cdcb33d651ff60
[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         -DLOCALEDIR=\""$(localedir)"\"          \
7         -I$(includedir) $(GTK_CFLAGS)
8
9 module_SLIK = \
10         intl.h          \
11         ui_bookmark.c   \
12         ui_bookmark.h   \
13         ui_fileops.c    \
14         ui_fileops.h    \
15         ui_help.c       \
16         ui_help.h       \
17         ui_menu.c       \
18         ui_menu.h       \
19         ui_misc.c       \
20         ui_misc.h       \
21         ui_pathsel.c    \
22         ui_pathsel.h    \
23         ui_spinner.c    \
24         ui_spinner.h    \
25         ui_tabcomp.c    \
26         ui_tabcomp.h    \
27         ui_tree_edit.c  \
28         ui_tree_edit.h  \
29         ui_utildlg.c    \
30         ui_utildlg.h
31
32 extra_ICONS = \
33         ui_spinner.png  \
34         ui_tabcomp.png
35
36 ICON_PAIRS = \
37         icon_spinner            $(srcdir)/ui_spinner.png        \
38         icon_tabcomp            $(srcdir)/ui_tabcomp.png
39
40 ui_icons.h: $(extra_ICONS)
41         gdk-pixbuf-csource --raw --extern --build-list $(ICON_PAIRS) > ui_icons.h
42
43 ui_spinner.o: ui_icons.h
44
45
46 noinst_DATA = ui_icons.h
47 CLEANFILES = $(noinst_DATA)
48                                                                                                                      
49 extra_SLIK = \
50         $(extra_ICONS)
51
52 bin_PROGRAMS = gqview
53
54 gqview_SOURCES = \
55         $(module_SLIK)  \
56         bar_info.c      \
57         bar_info.h      \
58         bar_exif.c      \
59         bar_exif.h      \
60         bar_sort.c      \
61         bar_sort.h      \
62         cache.c         \
63         cache.h         \
64         cache_maint.c   \
65         cache_maint.h   \
66         cellrenderericon.c      \
67         cellrenderericon.h      \
68         collect.c       \
69         collect.h       \
70         collect-dlg.c   \
71         collect-dlg.h   \
72         collect-io.c    \
73         collect-io.h    \
74         collect-table.c \
75         collect-table.h \
76         dnd.c           \
77         dnd.h           \
78         dupe.c          \
79         dupe.h          \
80         editors.c       \
81         editors.h       \
82         exif.c          \
83         exif.h          \
84         filelist.c      \
85         filelist.h      \
86         fullscreen.c    \
87         fullscreen.h    \
88         globals.c       \
89         gqview.h        \
90         image.c         \
91         image.h         \
92         image-load.c    \
93         image-load.h    \
94         image-overlay.c \
95         image-overlay.h \
96         img-view.c      \
97         img-view.h      \
98         info.c          \
99         info.h          \
100         layout.c        \
101         layout.h        \
102         layout_config.c \
103         layout_config.h \
104         layout_image.c  \
105         layout_image.h  \
106         layout_util.c   \
107         layout_util.h   \
108         main.c          \
109         md5-util.c      \
110         md5-util.h      \
111         menu.c          \
112         menu.h          \
113         pixbuf_util.c   \
114         pixbuf_util.h   \
115         preferences.c   \
116         preferences.h   \
117         print.c         \
118         print.h         \
119         remote.c        \
120         remote.h        \
121         rcfile.c        \
122         rcfile.h        \
123         search.c        \
124         search.h        \
125         similar.c       \
126         similar.h       \
127         slideshow.c     \
128         slideshow.h     \
129         typedefs.h      \
130         thumb.c         \
131         thumb.h         \
132         thumb_standard.c        \
133         thumb_standard.h        \
134         utilops.c       \
135         utilops.h       \
136         view_dir_list.c \
137         view_dir_list.h \
138         view_dir_tree.c \
139         view_dir_tree.h \
140         view_file_list.c        \
141         view_file_list.h        \
142         view_file_icon.c        \
143         view_file_icon.h
144
145 gqview_LDADD = $(GTK_LIBS) $(INTLLIBS)
146
147 EXTRA_DIST = \
148         $(extra_SLIK)
149