1 bin_PROGRAMS = gcalctool gcalccmd
2 noinst_PROGRAMS = test-number test-equation
4 TESTS = test-number test-equation
7 -DUI_DIR=\""$(datadir)/gcalctool"\" \
8 -DVERSION=\""$(VERSION)"\" \
9 -DLOCALE_DIR=\""$(localedir)"\" \
10 -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
20 equation-parser.vala \
26 math-preferences.vala \
28 math-variable-popup.vala \
34 gcalctool_VALAFLAGS = \
50 equation-parser.vala \
55 gcalccmd_VALAFLAGS = \
65 test_number_SOURCES = \
71 test_number_VALAFLAGS = \
81 test_equation_SOURCES = \
87 equation-parser.vala \
92 test_equation_VALAFLAGS = \
98 test_equation_LDADD = \
102 # Install a symlink between gcalctool and gnome-calculator
104 test -e "$(DESTDIR)$(bindir)/gnome-calculator" \
105 || (cd "$(DESTDIR)$(bindir)" && ln -s gcalctool gnome-calculator)
107 # Remove the symlink between gcalctool and gnome-calculator
109 test -h "$(DESTDIR)$(bindir)/gnome-calculator" \
110 && rm -f "$(DESTDIR)$(bindir)/gnome-calculator"