]> granicus.if.org Git - graphviz/commitdiff
Fix CPP flags for Windows.
authorerg <devnull@localhost>
Mon, 12 Mar 2007 23:03:37 +0000 (23:03 +0000)
committererg <devnull@localhost>
Mon, 12 Mar 2007 23:03:37 +0000 (23:03 +0000)
cmd/lefty/Makefile.am

index 6935c4dbbcdea264d5c62023f97d181b121cb585..0c1d677bbabc53acb13938972d2c1f6023336446 100644 (file)
@@ -25,10 +25,17 @@ SUBDIRS = ws os dot2l examples
 leftydir = $(pkgdatadir)/lefty
 pdfdir = $(pkgdatadir)/doc/pdf
 
+if WITH_WIN32
+AM_CPPFLAGS = \
+       -I$(top_srcdir)/cmd/lefty/ws/mswin32 \
+       -I$(top_srcdir)/cmd/lefty/os/mswin32 \
+       -I$(top_srcdir)/cmd/lefty/dot2l @XAW_INCLUDES@
+else
 AM_CPPFLAGS = \
        -I$(top_srcdir)/cmd/lefty/ws/x11 \
        -I$(top_srcdir)/cmd/lefty/os/unix \
        -I$(top_srcdir)/cmd/lefty/dot2l @XAW_INCLUDES@
+endif
 
 AM_CFLAGS = -DLEFTYDATADIR=\"$(leftydir)\" -DHAVE_CONFIG_H @X_CFLAGS@