dot_builtins_LDADD += $(top_builddir)/plugin/lasi/libgvplugin_lasi.la $(LASI_LIBS) -lstdc++
endif
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_dot_static_SOURCES = fake.cxx
+nodist_EXTRA_dot_builtins_SOURCES = fake.cxx
+
EXTRA_DIST = dot.1 osage.1 patchwork.1 $(pdf) dot.vcxproj*
DISTCLEANFILES = dot.1.pdf osage.1.pdf dot.1.ps osage.1.ps patchwork.1.pdf patchwork.1.ps
$(top_builddir)/lib/cdt/libcdt.la \
$(ANN_LIBS) -lstdc++ -lm
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_edgepaint_SOURCES = fake.cxx
+
if HAVE_PS2PDF
edgepaint.1.pdf: edgepaint.1.ps
@PS2PDF@ $< $@
$(top_builddir)/lib/cdt/libcdt.la \
$(ANN_LIBS) -lstdc++ -lm
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_mingle_SOURCES = fake.cxx
+
if HAVE_PS2PDF
mingle.1.pdf: mingle.1.ps
@PS2PDF@ $< $@
$(top_builddir)/lib/cdt/libcdt.la \
$(top_builddir)/plugin/neato_layout/libgvplugin_neato_layout.la
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_gvpack_SOURCES = fake.cxx
+
if ENABLE_STATIC
gvpack_static_SOURCES = gvpack.c
gvpack_static_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=0
$(top_builddir)/lib/pathplan/libpathplan.la \
$(GTS_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_libgvplugin_neato_layout_la_SOURCES = fake.cxx
+
if WITH_SFDP
libgvplugin_neato_layout_C_la_LIBADD += $(top_builddir)/lib/sfdpgen/libsfdpgen_C.la
endif
libtcldot_builtin_la_LIBADD += $(EXPAT_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
+# add a non-existent C++ source to force the C++ compiler to be used for
+# linking, so the C++ standard library is included for our C++ dependencies
+nodist_EXTRA_libtcldot_builtin_la_SOURCES = fake.cxx
+
if WITH_TCL
all-local: pkgIndex.tcl