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