## Process this file with automake to produce Makefile.in -*- makefile -*-
+AM_CPPFLAGS += -I$(top_srcdir)/src/language/stats
-src/language/stats/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \
- -I$(top_srcdir)/src/data \
- -I$(top_srcdir)/src/math \
- -I$(top_srcdir)/src/math/linreg \
- -I$(top_srcdir)/src/output \
- -I$(top_srcdir)/src/output/charts \
- -I$(top_srcdir)/src/language/lexer \
- -I$(top_srcdir)/src/language/stats \
- -I$(top_srcdir)/src/language
-
-noinst_LIBRARIES += src/language/stats/libstats.a
-
-src_language_stats_q_sources_q = \
- src/language/stats/correlations.q \
- src/language/stats/crosstabs.q \
- src/language/stats/examine.q \
- src/language/stats/frequencies.q \
- src/language/stats/means.q \
- src/language/stats/oneway.q \
- src/language/stats/rank.q \
- src/language/stats/regression.q \
- src/language/stats/t-test.q
-
-src_language_stats_q_sources_c = \
- src/language/stats/correlations.c \
+src_language_stats_built_sources = \
src/language/stats/crosstabs.c \
src/language/stats/examine.c \
src/language/stats/frequencies.c \
- src/language/stats/means.c \
- src/language/stats/oneway.c \
src/language/stats/rank.c \
src/language/stats/regression.c \
src/language/stats/t-test.c
-
-EXTRA_DIST += $(src_language_stats_q_sources_q)
-nodist_src_language_stats_libstats_a_SOURCES = $(src_language_stats_q_sources_c)
-CLEANFILES += $(src_language_stats_q_sources_c)
-
-src_language_stats_libstats_a_SOURCES = \
- src/language/stats/aggregate.c \
+language_stats_sources = \
+ src/language/stats/aggregate.c src/language/stats/aggregate.h \
src/language/stats/autorecode.c \
+ src/language/stats/binomial.c src/language/stats/binomial.h \
+ src/language/stats/chisquare.c src/language/stats/chisquare.h \
+ src/language/stats/correlations.c \
src/language/stats/descriptives.c \
- src/language/stats/sort-cases.c \
- src/language/stats/sort-criteria.c \
- src/language/stats/sort-criteria.h \
+ src/language/stats/factor.c \
src/language/stats/flip.c \
- src/language/stats/regression-export.h
+ src/language/stats/freq.c src/language/stats/freq.h \
+ src/language/stats/friedman.c src/language/stats/friedman.h \
+ src/language/stats/glm.c \
+ src/language/stats/kruskal-wallis.c src/language/stats/kruskal-wallis.h \
+ src/language/stats/mann-whitney.c src/language/stats/mann-whitney.h \
+ src/language/stats/npar.c src/language/stats/npar.h \
+ src/language/stats/npar-summary.c src/language/stats/npar-summary.h \
+ src/language/stats/oneway.c \
+ src/language/stats/reliability.c \
+ src/language/stats/roc.c src/language/stats/roc.h \
+ src/language/stats/runs.h src/language/stats/runs.c \
+ src/language/stats/sign.c src/language/stats/sign.h \
+ src/language/stats/sort-cases.c \
+ src/language/stats/sort-criteria.c src/language/stats/sort-criteria.h \
+ src/language/stats/wilcoxon.c src/language/stats/wilcoxon.h
+
+all_q_sources += $(src_language_stats_built_sources:.c=.q)
+EXTRA_DIST += $(src_language_stats_built_sources:.c=.q)
+CLEANFILES += $(src_language_stats_built_sources)
+
+EXTRA_DIST += src/language/stats/OChangeLog