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)
24 q_sources_c = correlations.c crosstabs.c examine.c file-handle.c \
25 frequencies.c list.c means.c oneway.c rank.c regression.c set.c t-test.c
27 CLEANFILES=$(q_sources_c)
28 DISTCLEANFILES=version.c
30 q_sources_q = correlations.q crosstabs.q examine.q file-handle.q \
31 frequencies.q list.q means.q oneway.q rank.q regression.q set.q t-test.q
34 chart_sources = barchart.c \
41 chart_sources = dummy-chart.c
44 pspp_SOURCES = $(q_sources_c) $(chart_sources) aggregate.c algorithm.c \
45 algorithm.h alloc.c alloc.h apply-dict.c ascii.c autorecode.c \
46 bitvector.h calendar.c calendar.h case.c case.h casefile.c casefile.h \
47 cat.c cat.h chart.c chart.h cmdline.c cmdline.h command.c command.def \
48 command.h compute.c copyleft.c copyleft.h count.c data-in.c data-in.h \
49 data-list.c data-list.h data-out.c date.c debug-print.h descript.c \
50 devind.c devind.h dfm-read.c dfm-read.h dfm-write.c dfm-write.h \
51 dictionary.c dictionary.h do-if.c do-ifP.h echo.c error.c error.h \
52 factor_stats.c factor_stats.h file-handle.h file-type.c filename.c \
53 filename.h flip.c font.h format.c format-prs.c format.def format.h formats.c get.c \
54 getl.c getl.h glob.c glob.h groff-font.c group.c group.h group_proc.h \
55 hash.c hash.h histogram.c histogram.h html.c htmlP.h include.c \
56 inpt-pgm.c lexer.c lexer.h lex-def.h lex-def.c levene.c levene.h linked-list.c \
57 linked-list.h log.h loop.c magic.c magic.h main.c main.h matrix-data.c \
58 mis-val.c misc.c misc.h missing-values.c missing-values.h \
59 modify-vars.c moments.c moments.h numeric.c output.c output.h \
60 percentiles.c percentiles.h permissions.c pfm-read.c pfm-read.h \
61 pfm-write.c pfm-write.h pool.c pool.h postscript.c print.c recode.c \
62 rename-vars.c repeat.c repeat.h sample.c sel-if.c settings.h \
63 sfm-read.c sfm-read.h sfm-write.c sfm-write.h sfmP.h som.c som.h \
64 sort.c sort.h sort-prs.c sort-prs.h split-file.c str.c str.h \
65 subclist.c subclist.h sysfile-info.c tab.c tab.h temporary.c mkfile.c \
66 mkfile.h title.c val.h val-labs.c value-labels.c value-labels.h \
67 var-display.c var-labs.c var.h vars-atr.c vars-prs.c vector.c \
68 version.h vfm.c vfm.h vfmP.h weight.c
72 expressions/libexpressions.a \
73 ../lib/gsl-extras/libgsl-extras.a \
74 ../lib/linreg/liblinreg.a \
78 nodist_pspp_SOURCES = version.c
81 echo "#include <config.h>" > version.c
82 echo "#include \"version.h\"" > version.c
83 echo "const char bare_version[] = \"@VERSION@\";" >> version.c
84 echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> version.c
85 echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \
86 (`date`).\";" >> version.c
87 echo "const char host_system[] = \"$(host_triplet)\";" >> version.c
88 echo "const char build_system[] = \"$(build_triplet)\";" >> version.c
89 echo "const char default_config_path[] =\
90 \"~/.pspp:$(pkgsysconfdir)\";" >> version.c
91 echo "const char include_path[] =\
92 \"./:~/.pspp/include:$(pkgdatadir)\";" >> version.c
93 echo "const char groff_font_path[] = \"~/.pspp/font:\" \\" >> version.c
94 echo " \"$(pkgdatadir)/font:\" \\" >> version.c
95 echo " \"/usr/local/lib/groff/font:\" \\" >> version.c
96 echo " \"/usr/lib/groff/font:\" \\" >> version.c
97 echo " \"/usr/local/share/groff/font:\" \\" >> version.c
98 echo " \"/usr/share/groff/font\";" >> version.c
99 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> version.c
102 noinst_PROGRAMS = q2c