# HG changeset patch # User Michael Goffioul # Date 1346338370 -3600 # Node ID cd8248cc6020b7783dd1b89d6a83a828145c3b90 # Parent 7ee62f559a73b87bbdfe18c05cfdf0a4122bcd3f Use -DOCTINTERP_DLL when compiling convenience libaries in libinterp. * libinterp/corefcn/module.mk (corefcn_libcorefcn_la_CPPFLAGS): New variable, defined to $(liboctinterp_la_CPPFLAGS). * libinterp/interp-core/module.mk (interp_core_libinterp_core_la_CPPFLAGS): Likewise. * libinterp/interpfcn/module.mk (interpfcn_libinterpfcn_la_CPPFLAGS): Likewise. * libinterp/octave-value/module.mk (octave_value_liboctave_value_la_CPPFLAGS): Likewise. * libinterp/parse-tree/module.mk (parse_tree_libparse_tree_la_CPPFLAGS): Likewise. diff -r 7ee62f559a73 -r cd8248cc6020 libinterp/corefcn/module.mk --- a/libinterp/corefcn/module.mk Thu Aug 30 15:52:44 2012 +0100 +++ b/libinterp/corefcn/module.mk Thu Aug 30 15:52:50 2012 +0100 @@ -95,4 +95,5 @@ noinst_LTLIBRARIES += corefcn/libcorefcn.la corefcn_libcorefcn_la_SOURCES = $(COREFCN_SRC) +corefcn_libcorefcn_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) diff -r 7ee62f559a73 -r cd8248cc6020 libinterp/interp-core/module.mk --- a/libinterp/interp-core/module.mk Thu Aug 30 15:52:44 2012 +0100 +++ b/libinterp/interp-core/module.mk Thu Aug 30 15:52:50 2012 +0100 @@ -132,3 +132,4 @@ noinst_LTLIBRARIES += interp-core/libinterp-core.la interp_core_libinterp_core_la_SOURCES = $(INTERP_CORE_SRC) +interp_core_libinterp_core_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) diff -r 7ee62f559a73 -r cd8248cc6020 libinterp/interpfcn/module.mk --- a/libinterp/interpfcn/module.mk Thu Aug 30 15:52:44 2012 +0100 +++ b/libinterp/interpfcn/module.mk Thu Aug 30 15:52:50 2012 +0100 @@ -75,3 +75,4 @@ noinst_LTLIBRARIES += interpfcn/libinterpfcn.la interpfcn_libinterpfcn_la_SOURCES = $(INTERPFCN_SRC) +interpfcn_libinterpfcn_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) diff -r 7ee62f559a73 -r cd8248cc6020 libinterp/octave-value/module.mk --- a/libinterp/octave-value/module.mk Thu Aug 30 15:52:44 2012 +0100 +++ b/libinterp/octave-value/module.mk Thu Aug 30 15:52:50 2012 +0100 @@ -127,3 +127,4 @@ noinst_LTLIBRARIES += octave-value/liboctave-value.la octave_value_liboctave_value_la_SOURCES = $(OCTAVE_VALUE_SRC) +octave_value_liboctave_value_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) diff -r 7ee62f559a73 -r cd8248cc6020 libinterp/parse-tree/module.mk --- a/libinterp/parse-tree/module.mk Thu Aug 30 15:52:44 2012 +0100 +++ b/libinterp/parse-tree/module.mk Thu Aug 30 15:52:50 2012 +0100 @@ -91,3 +91,4 @@ noinst_LTLIBRARIES += parse-tree/libparse-tree.la parse_tree_libparse_tree_la_SOURCES = $(PARSE_TREE_SRC) +parse_tree_libparse_tree_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS)