# HG changeset patch # User John W. Eaton # Date 1455748818 18000 # Node ID c1c601b8e3df330f3934b956dc78d9cdd0d8bfb1 # Parent b4f7932a31248ef38e48f2b95bc9d318bf7acf48 don't install template source files for octave_value classes * libinterp/octave-value/module.mk (OCTAVE_VALUE_INC): Remove ov-base-diag.cc, ov-base-mat.cc, and ov-base-scalar.cc from the list. (OV_INTTYPE_INC): Remove ov-base-int.cc from the list. (libinter_EXTRA_DIST): Add ov-base-diag.cc, ov-base-mat.cc, ov-base-scalar.cc, and ov-base-int.cc to the list. diff -r b4f7932a3124 -r c1c601b8e3df libinterp/octave-value/module.mk --- a/libinterp/octave-value/module.mk Wed Feb 17 17:29:16 2016 -0500 +++ b/libinterp/octave-value/module.mk Wed Feb 17 17:40:18 2016 -0500 @@ -1,6 +1,5 @@ OV_INTTYPE_INC = \ libinterp/octave-value/ov-base-int.h \ - libinterp/octave-value/ov-base-int.cc \ libinterp/octave-value/ov-int-traits.h \ libinterp/octave-value/ov-int16.h \ libinterp/octave-value/ov-int32.h \ @@ -20,11 +19,8 @@ OCTAVE_VALUE_INC = \ libinterp/octave-value/ov-base-diag.h \ - libinterp/octave-value/ov-base-diag.cc \ libinterp/octave-value/ov-base-mat.h \ - libinterp/octave-value/ov-base-mat.cc \ libinterp/octave-value/ov-base-scalar.h \ - libinterp/octave-value/ov-base-scalar.cc \ libinterp/octave-value/ov-base.h \ libinterp/octave-value/ov-bool-mat.h \ libinterp/octave-value/ov-bool.h \ @@ -127,6 +123,16 @@ $(OV_INTTYPE_SRC) \ $(OV_SPARSE_SRC) +## These source files contain template definitions that are included +## in other files. They are not supposed to be compiled separately, +## so they should not appear in the OCTAVE_VALUE_SRC list. + +libinterp_EXTRA_DIST += \ + libinterp/octave-value/ov-base-diag.cc \ + libinterp/octave-value/ov-base-int.cc \ + libinterp/octave-value/ov-base-mat.cc \ + libinterp/octave-value/ov-base-scalar.cc + OV_JAVA_DF = \ libinterp/octave-value/ov.df \ libinterp/octave-value/ov-class.df \