]> granicus.if.org Git - graphviz/commitdiff
Amend quartz driver makefile to handle cgraph
authorEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:46:48 +0000 (14:46 -0400)
committerEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:46:48 +0000 (14:46 -0400)
plugin/quartz/Makefile.am

index 9bb6e54d5a7100d717a72fe8457ae00127d67123..d8869c9ef3aee6e25582b2eb7bf457e1acdd3a8c 100644 (file)
@@ -1,12 +1,18 @@
 # $Id$ $Revision$
 ## Process this file with automake to produce Makefile.in
 
+if WITH_CGRAPH
+GRAPH = cgraph
+else
+GRAPH = graph
+endif
+
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib/common \
        -I$(top_srcdir)/lib/pathplan \
        -I$(top_srcdir)/lib/gvc \
-       -I$(top_srcdir)/lib/graph \
+       -I$(top_srcdir)/lib/$(GRAPH) \
        -I$(top_srcdir)/lib/cdt \
        $(QUARTZ_CFLAGS)