1 bin_PROGRAMS = gcalctool gcalccmd
2 noinst_PROGRAMS = test-mp test-mp-equation
4 TESTS = test-mp test-mp-equation
7 -DUI_DIR=\""$(datadir)/gcalctool"\" \
8 -DVERSION=\""$(VERSION)"\" \
9 -DLOCALE_DIR=\""$(localedir)"\" \
10 -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
32 math-variable-popup.c \
33 math-variable-popup.h \
117 test_mp_equation_SOURCES = \
147 test_mp_equation_LDADD = \
155 # Generate enum types
156 mp-enums.h: mp-enums.h.template mp-serializer.h
157 $(AM_V_GEN)$(GLIB_MKENUMS) --template $(srcdir)/mp-enums.h.template $(srcdir)/mp-serializer.h > mp-enums.h
159 mp-enums.c: mp-enums.c.template mp-enums.h mp-serializer.h
160 $(AM_V_GEN)$(GLIB_MKENUMS) --template $(srcdir)/mp-enums.c.template $(srcdir)/mp-serializer.h > mp-enums.c
163 math-serializer.c: mp-enums.h
164 math-equation.c: mp-enums.h
166 # Install a symlink between gcalctool and gnome-calculator
168 test -e "$(DESTDIR)$(bindir)/gnome-calculator" \
169 || (cd "$(DESTDIR)$(bindir)" && ln -s gcalctool gnome-calculator)
171 # Remove the symlink between gcalctool and gnome-calculator
173 test -h "$(DESTDIR)$(bindir)/gnome-calculator" \
174 && rm -f "$(DESTDIR)$(bindir)/gnome-calculator"
177 mp-enums.c.template \