1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
5 include $(top_srcdir)/src/Make.build
9 # If you change this, you must also change the corresponding line in
11 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
15 MAINTAINERCLEANFILES = Makefile.in
16 EXTRA_DIST = $(q_sources_q) q2c.c
17 ETAGS_ARGS = -l c $(q_sources_c)
20 $(q_sources_c): q2c$(EXEEXT)
38 CLEANFILES=$(q_sources_c)
39 DISTCLEANFILES=version.c
64 chart_sources = dummy-chart.c
236 expressions/libexpressions.a \
237 ../lib/gsl-extras/libgsl-extras.a \
238 ../lib/linreg/liblinreg.a \
242 nodist_pspp_SOURCES = version.c
245 echo "#include <config.h>" > version.c
246 echo "#include \"version.h\"" > version.c
247 echo "const char bare_version[] = \"@VERSION@\";" >> version.c
248 echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> version.c
249 echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \
250 (`date`).\";" >> version.c
251 echo "const char host_system[] = \"$(host_triplet)\";" >> version.c
252 echo "const char build_system[] = \"$(build_triplet)\";" >> version.c
253 echo "const char default_config_path[] =\
254 \"~/.pspp:$(pkgsysconfdir)\";" >> version.c
255 echo "const char include_path[] =\
256 \"./:~/.pspp/include:$(pkgdatadir)\";" >> version.c
257 echo "const char groff_font_path[] = \"~/.pspp/font:\" \\" >> version.c
258 echo " \"$(pkgdatadir)/font:\" \\" >> version.c
259 echo " \"/usr/local/lib/groff/font:\" \\" >> version.c
260 echo " \"/usr/lib/groff/font:\" \\" >> version.c
261 echo " \"/usr/local/share/groff/font:\" \\" >> version.c
262 echo " \"/usr/share/groff/font\";" >> version.c
263 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> version.c
265 noinst_PROGRAMS = q2c