From: erg Date: Mon, 12 Mar 2007 23:03:37 +0000 (+0000) Subject: Fix CPP flags for Windows. X-Git-Tag: LAST_LIBGRAPH~32^2~5635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1145ab3642f9214b8e596a3cac4b2610769157f;p=graphviz Fix CPP flags for Windows. --- diff --git a/cmd/lefty/Makefile.am b/cmd/lefty/Makefile.am index 6935c4dbb..0c1d677bb 100644 --- a/cmd/lefty/Makefile.am +++ b/cmd/lefty/Makefile.am @@ -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@