Better cut cursors and better chosen hot spots.
[gliv.git] / src / Makefile.am
blobd498b6d5a4d9d56c76b72c1dde6a707f1eafc78e
1 bin_PROGRAMS =      gliv
3 gliv_SOURCES =      include/about.h include/all_cursors.h   \
4                     callbacks.c include/callbacks.h         \
5                     cmdline.c include/cmdline.h             \
6                     collection.c include/collection.h       \
7                     cursors.c include/cursors.h             \
8                     decompression.c include/decompression.h \
9                     dithering.c include/dithering.h         \
10                     files_list.c include/files_list.h       \
11                     foreach_file.c include/foreach_file.h   \
12                     formats.c include/formats.h             \
13                     gl_widget.c include/gl_widget.h         \
14                     include/glade_options.h                 \
15                     include/gliv.h                          \
16                     include/gliv_image.h                    \
17                     help.c include/help.h                   \
18                     help_text.c include/help_text.h         \
19                     history.c include/history.h             \
20                     images_menus.c include/images_menus.h   \
21                     loading.c include/loading.h             \
22                     main.c include/main.h                   \
23                     include/math_floats.h                   \
24                     matrix.c include/matrix.h               \
25                     menus.c include/menus.h                 \
26                     include/messages.h                      \
27                     mnemonics.c include/mnemonics.h         \
28                     move_pointer.c include/move_pointer.h   \
29                     next_image.c include/next_image.h       \
30                     open_dialog.c include/open_dialog.h     \
31                     options.c include/options.h             \
32                     include/params.h                        \
33                     rcfile.c include/rcfile.h               \
34                     rendering.c include/rendering.h         \
35                     scrollbars.c include/scrollbars.h       \
36                     str_utils.c include/str_utils.h         \
37                     textures.c include/textures.h           \
38                     thread.c include/thread.h               \
39                     thumbnails.c include/thumbnails.h       \
40                     timestamp.c include/timestamp.h         \
41                     tree.c include/tree.h                   \
42                     windows.c include/windows.h             \
43                     zoom_frame.c include/zoom_frame.h
45 if NEED_REPLACEMENTS
46 gliv_DEPENDENCIES = ../lib/libreplacements.a
47 gliv_LDADD =        -L../lib -lreplacements
48 endif
50 AM_CPPFLAGS = -I$(srcdir)/include -D_REENTRANT -D_THREAD_SAFE
52 datadir = @datadir@
53 localedir = $(datadir)/locale
54 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
56 EXTRA_DIST = glade_options.c autogenerated
59 include/all_cursors.h: $(top_srcdir)/tools/cursors/*.xbm
60         cat $(top_srcdir)/tools/cursors/*.xbm > $@
62 cmdline.c include/cmdline.h: $(top_srcdir)/tools/gliv.ggo
63         gengetopt --input=$< --unamed-opts --no-handle-error  &&        \
64         (test "$(srcdir)" = "." || mv cmdline.[ch] $(srcdir)) &&        \
65         mv $(srcdir)/cmdline.h $(srcdir)/include/cmdline.h
67 formats.c: $(top_srcdir)/tools/formats.gperf
68         gperf -n --multiple-iterations 64 --output $@ $<
70 help_text.c: $(top_srcdir)/README $(top_srcdir)/tools/help2c.awk
71         awk -f $(top_srcdir)/tools/help2c.awk < $(top_srcdir)/README > $(srcdir)/$@
73 glade_options.c include/glade_options.h: $(top_srcdir)/tools/glade/gliv-options.glade
74         cd $(top_srcdir)/tools/glade && ./make_glade_option.sh