Merged older cs.po file with newest pot file.
[gliv/czech_localization.git] / src / Makefile.am
blobe02af861ae05403a927daa44a07b0723fb6ef168
1 bin_PROGRAMS =      gliv
3 gliv_SOURCES =      include/about.h                         \
4                     actions.c include/actions.h             \
5                     include/all_cursors.h                   \
6                     callbacks.c include/callbacks.h         \
7                     cmdline.c include/cmdline.h             \
8                     collection.c include/collection.h       \
9                     cursors.c include/cursors.h             \
10                     decompression.c include/decompression.h \
11                     dirty_gtk.c include/dirty_gtk.h         \
12                     dithering.c include/dithering.h         \
13                     files_list.c include/files_list.h       \
14                     foreach_file.c include/foreach_file.h   \
15                     formats.c include/formats.h             \
16                     include/gettext.h                       \
17                     gl_widget.c include/gl_widget.h         \
18                     include/glade_actions.h                 \
19                     include/glade_image_nr.h                \
20                     include/glade_options.h                 \
21                     gliv-image.c include/gliv-image.h       \
22                     include/gliv.h                          \
23                     include/gliv_logo.h                     \
24                     help.c include/help.h                   \
25                     help_text.c include/help_text.h         \
26                     history.c include/history.h             \
27                     images_menus.c include/images_menus.h   \
28                     ipc.c include/ipc.h                     \
29                     include/large_files.h                   \
30                     loading.c include/loading.h             \
31                     main.c include/main.h                   \
32                     include/math_floats.h                   \
33                     matrix.c include/matrix.h               \
34                     menus.c include/menus.h                 \
35                     include/messages.h                      \
36                     mnemonics.c include/mnemonics.h         \
37                     move_pointer.c include/move_pointer.h   \
38                     next_image.c include/next_image.h       \
39                     open_dialog.c include/open_dialog.h     \
40                     include/opengl.h                        \
41                     include/opengl_wrapper.h                \
42                     options.c include/options.h             \
43                     include/params.h                        \
44                     pathset.c include/pathset.h             \
45                     rcfile.c include/rcfile.h               \
46                     rendering.c include/rendering.h         \
47                     scrollbars.c include/scrollbars.h       \
48                     str_utils.c include/str_utils.h         \
49                     strnatcmp.c include/strnatcmp.h         \
50                     include/texture_map.h                   \
51                     textures.c include/textures.h           \
52                     thread.c include/thread.h               \
53                     thumbnails.c include/thumbnails.h       \
54                     tiling.c include/tiling.h               \
55                     timestamp.c include/timestamp.h         \
56                     transition.c include/transition.h       \
57                     tree.c include/tree.h                   \
58                     tree_browser.c include/tree_browser.h   \
59                     windows.c include/windows.h             \
60                     zoom_frame.c include/zoom_frame.h
62 if NEED_REPLACEMENTS
63 gliv_DEPENDENCIES = ../lib/libreplacements.a
64 gliv_LDADD =        -L../lib -lreplacements
65 endif
67 AM_CPPFLAGS = -I$(srcdir)/include -D_REENTRANT -D_THREAD_SAFE \
68               -DSYSCONFDIR=\"$(sysconfdir)\"
70 datadir = @datadir@
71 localedir = $(datadir)/locale
72 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
74 EXTRA_DIST = glade_actions.c glade_image_nr.c glade_options.c autogenerated
77 include/all_cursors.h: $(top_srcdir)/tools/cursors/*.xbm
78         cat $(top_srcdir)/tools/cursors/*.xbm | sed 's/unsigned //g' > $@
80 cmdline.c include/cmdline.h: $(top_srcdir)/tools/gliv.ggo
81         gengetopt --input=$< --unamed-opts --no-handle-error && \
82         mv cmdline.h include/
84 formats.c: $(top_srcdir)/tools/formats.gperf
85         gperf -n --multiple-iterations 64 --output $@ $<
87 help_text.c: $(top_srcdir)/README $(top_srcdir)/tools/help2c.awk
88         awk -f $(top_srcdir)/tools/help2c.awk < $(top_srcdir)/README > $@
90 glade_actions.c include/glade_actions.h: $(top_srcdir)/tools/glade/actions/gliv-actions.glade
91         cd $(top_srcdir)/tools/glade/actions && ./make_glade_actions.sh
93 glade_image_nr.c include/glade_image_nr.h: $(top_srcdir)/tools/glade/image_nr/gliv-image_nr.glade
94         cd $(top_srcdir)/tools/glade/image_nr && ./make_glade_image_nr.sh
96 glade_options.c include/glade_options.h: $(top_srcdir)/tools/glade/options/gliv-options.glade
97         cd $(top_srcdir)/tools/glade/options && ./make_glade_options.sh
99 gliv-image.c include/gliv-image.h: $(top_srcdir)/tools/gliv-image.gob
100         gob2 $< && mv gliv-image.h include/
102 include/gliv_logo.h: $(top_srcdir)/gliv.svg
103         (echo '/* Auto-generated */'; gdk-pixbuf-csource --struct --static \
104                                                 --name=gliv_logo $<) >  $@