Closes patch #6359
[pspp] / src / output / charts / automake.mk
index cf3a40998b69fa03897634afb02c6879abea4805..f1d71264fb9e54179667d1a36e4a96a7fb8db615 100644 (file)
@@ -1,16 +1,7 @@
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
-
-
 noinst_LIBRARIES += src/output/charts/libcharts.a
 
-
-src/output/charts/%: AM_CPPFLAGS +=  \
-       -I$(top_srcdir)/src/libpspp \
-       -I$(top_srcdir)/src/output \
-       -I$(top_srcdir)/src/data \
-       -I$(top_srcdir)/src/math
-
 chart_sources = \
        src/output/charts/barchart.c \
        src/output/charts/barchart.h \
@@ -36,4 +27,6 @@ src_output_charts_libcharts_a_SOURCES =  \
 
 EXTRA_DIST += $(chart_sources)
 
+AM_CPPFLAGS += -DNO_CHARTS
+
 endif