Merge commit 'origin/stable'
[pspp] / src / output / charts / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 noinst_LTLIBRARIES += src/output/charts/libcharts.la
4
5 chart_sources = \
6         src/output/charts/barchart.c \
7         src/output/charts/barchart.h \
8         src/output/charts/box-whisker.c \
9         src/output/charts/box-whisker.h \
10         src/output/charts/cartesian.c \
11         src/output/charts/cartesian.h \
12         src/output/charts/piechart.c \
13         src/output/charts/piechart.h \
14         src/output/charts/plot-chart.h \
15         src/output/charts/plot-chart.c \
16         src/output/charts/plot-hist.c \
17         src/output/charts/plot-hist.h
18
19 if WITHCHARTS
20 src_output_charts_libcharts_la_SOURCES = \
21         $(chart_sources)
22
23 EXTRA_DIST += src/output/charts/dummy-chart.c
24 else
25 src_output_charts_libcharts_la_SOURCES =  \
26         src/output/charts/dummy-chart.c
27
28 EXTRA_DIST += $(chart_sources)
29
30 AM_CPPFLAGS += -DNO_CHARTS
31
32 endif
33
34 EXTRA_DIST += src/output/charts/OChangeLog