From: ellson Date: Wed, 27 Jun 2007 16:45:04 +0000 (+0000) Subject: Apply fix suggested in b1111 for potential problems with multiple make X-Git-Tag: LAST_LIBGRAPH~32^2~5530 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8ceb0b9084523b0a3093d240e8dd5c0356f1eec;p=graphviz Apply fix suggested in b1111 for potential problems with multiple make targets when used with "make -j" --- diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index ee0975ba2..02e442b9c 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -20,7 +20,8 @@ nodist_libgv_sharp_la_SOURCES = gv_sharp.cpp $(SHARP_hdr) libgv_sharp_la_SOURCES = $(BASESOURCES) libgv_sharp_la_LIBADD = $(BASELIBS) @SHARP_LIBS@ libgv_sharp_la_LDFLAGS = -gv_sharp.cpp $(SHARP_hdr): gv.i +$(SHARP_hdr): gv_sharp.cpp +gv_sharp.cpp: gv.i $(SWIG) -c++ -csharp -namespace gv -o gv_sharp.cpp $(srcdir)/gv.i pkgguiledir = $(pkglibdir)/guile @@ -29,7 +30,8 @@ nodist_libgv_guile_la_SOURCES = gv_guile.cpp $(GUILE_hdr) libgv_guile_la_SOURCES = $(BASESOURCES) libgv_guile_la_LIBADD = $(BASELIBS) @GUILE_LIBS@ libgv_guile_la_LDFLAGS = -gv_guile.cpp $(GUILE_hdr): gv.i +$(GUILE_hdr): gv_guile.cpp +gv_guile.cpp: gv.i $(SWIG) -c++ -guile -o gv_guile.cpp $(srcdir)/gv.i $(SED) -e 's/SWIG_GUILE_INIT_STATIC void/void/' t mv -f t gv_guile.cpp @@ -40,7 +42,8 @@ nodist_libgv_io_la_SOURCES = gv_io.cpp $(IO_hdr) libgv_io_la_SOURCES = $(BASESOURCES) libgv_io_la_LIBADD = $(BASELIBS) @IO_LIBS@ libgv_io_la_LDFLAGS = -gv_io.cpp $(IO_hdr): gv.i +$(IO_hdr): gv_io.cpp +gv_io.cpp: gv.i $(SWIG) -c++ -io -o gv_io.cpp $(srcdir)/gv.i pkgjavadir = $(pkglibdir)/java @@ -49,7 +52,8 @@ nodist_libgv_java_la_SOURCES = gv_java.cpp libgv_java_la_SOURCES = $(BASESOURCES) libgv_java_la_LIBADD = $(BASELIBS) @JAVA_LIBS@ libgv_java_la_LDFLAGS = -gv_java.cpp $(JAVA_hdr): gv.i +$(JAVA_hdr): gv_java.cpp +gv_java.cpp: gv.i $(SWIG) -c++ -java -o gv_java.cpp $(srcdir)/gv.i pkgluadir = $(pkglibdir)/lua @@ -58,7 +62,8 @@ nodist_libgv_lua_la_SOURCES = gv_lua.cpp $(LUA_hdr) libgv_lua_la_SOURCES = $(BASESOURCES) libgv_lua_la_LIBADD = $(BASELIBS) @LUA_LIBS@ libgv_lua_la_LDFLAGS = -gv_lua.cpp $(LUA_hdr): gv.i +$(LUA_hdr): gv_lua.cpp +gv_lua.cpp: gv.i $(SWIG) -c++ -lua -o gv_lua.cpp $(srcdir)/gv.i pkgocamldir = $(pkglibdir)/ocaml @@ -67,7 +72,8 @@ nodist_libgv_ocaml_la_SOURCES = gv_ocaml.cpp $(OCAML_hdr) libgv_ocaml_la_SOURCES = $(BASESOURCES) libgv_ocaml_la_LIBADD = $(BASELIBS) @OCAML_LIBS@ libgv_ocaml_la_LDFLAGS = -gv_ocaml.cpp $(OCAML_hdr): gv.i +$(OCAML_hdr): gv_ocaml.cpp +gv_ocaml.cpp: gv.i $(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i pkgperldir = $(pkglibdir)/perl @@ -76,7 +82,8 @@ nodist_libgv_perl_la_SOURCES = gv_perl.cpp $(PERL_hdr) libgv_perl_la_SOURCES = $(BASESOURCES) libgv_perl_la_LIBADD = $(BASELIBS) @PERL_LIBS@ libgv_perl_la_LDFLAGS = -gv_perl.cpp $(PERL_hdr): gv.i +$(PERL_hdr): gv_perl.cpp +gv_perl.cpp: gv.i $(SWIG) -c++ -perl -o gv_perl.cpp $(srcdir)/gv.i pkgphpdir = $(pkglibdir)/php @@ -85,7 +92,8 @@ nodist_libgv_php_la_SOURCES = gv_php.cpp $(PHP_hdr) libgv_php_la_SOURCES = $(BASESOURCES) libgv_php_la_LIBADD = $(BASELIBS) @PHP_LIBS@ libgv_php_la_LDFLAGS = -gv_php.cpp $(PHP_hdr): gv.i +$(PHP_hdr): gv_php.cpp +gv_php.cpp: gv.i $(SWIG) -c++ -php -o gv_php.cpp $(srcdir)/gv.i pkgpythondir = $(pkglibdir)/python @@ -103,7 +111,8 @@ nodist_libgv_ruby_la_SOURCES = gv_ruby.cpp $(RUBY_hdr) libgv_ruby_la_SOURCES = $(BASESOURCES) libgv_ruby_la_LIBADD = $(BASELIBS) @RUBY_LIBS@ libgv_ruby_la_LDFLAGS = -gv_ruby.cpp $(RUBY_hdr): gv.i +$(RUBY_hdr): gv_ruby.cpp +gv_ruby.cpp: gv.i $(SWIG) -c++ -ruby -o gv_ruby.cpp $(srcdir)/gv.i pkgtcldir = $(pkglibdir)/tcl @@ -112,7 +121,8 @@ nodist_libgv_tcl_la_SOURCES = gv_tcl.cpp $(TCL_hdr) libgv_tcl_la_SOURCES = $(BASESOURCES) libgv_tcl_la_LIBADD = $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la $(BASELIBS) @TCL_LIBS@ libgv_tcl_la_LDFLAGS = -gv_tcl.cpp $(TCL_hdr): gv.i +$(TCL_hdr): gv_tcl.cpp +gv_tcl.cpp: gv.i $(SWIG) -c++ -tcl -namespace -o gv_tcl.cpp $(srcdir)/gv.i pkginclude_DATA = gv.i gv.cpp