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
202 regression_export.h \
255 expressions/libexpressions.a \
256 ../lib/gsl-extras/libgsl-extras.a \
257 ../lib/linreg/liblinreg.a \
261 nodist_pspp_SOURCES = version.c
264 echo "#include <config.h>" > version.c
265 echo "#include \"version.h\"" > version.c
266 echo "const char bare_version[] = \"@VERSION@\";" >> version.c
267 echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> version.c
268 echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \
269 (`date`).\";" >> version.c
270 echo "const char host_system[] = \"$(host_triplet)\";" >> version.c
271 echo "const char build_system[] = \"$(build_triplet)\";" >> version.c
272 echo "const char default_config_path[] =\
273 \"~/.pspp:$(pkgsysconfdir)\";" >> version.c
274 echo "const char include_path[] =\
275 \"./:~/.pspp/include:$(pkgdatadir)\";" >> version.c
276 echo "const char groff_font_path[] = \"~/.pspp/font:\" \\" >> version.c
277 echo " \"$(pkgdatadir)/font:\" \\" >> version.c
278 echo " \"/usr/local/lib/groff/font:\" \\" >> version.c
279 echo " \"/usr/lib/groff/font:\" \\" >> version.c
280 echo " \"/usr/local/share/groff/font:\" \\" >> version.c
281 echo " \"/usr/share/groff/font\";" >> version.c
282 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> version.c
284 noinst_PROGRAMS = q2c