From: erg Date: Wed, 14 Mar 2007 20:53:57 +0000 (+0000) Subject: Modify lefty makefile to build and use Windows resource file. X-Git-Tag: LAST_LIBGRAPH~32^2~5627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ae86b052ee3ad2741ba390411f46022fe71933c;p=graphviz Modify lefty makefile to build and use Windows resource file. --- diff --git a/cmd/lefty/Makefile.am b/cmd/lefty/Makefile.am index 36ad871a5..2b012da67 100644 --- a/cmd/lefty/Makefile.am +++ b/cmd/lefty/Makefile.am @@ -71,7 +71,7 @@ lefty_SOURCES = code.c common.c display.c exec.c g.c gfxview.c internal.c \ # problems can occur on some systems. # if WITH_WIN32 -lefty_LDADD = $(top_builddir)/cmd/lefty/dot2l/libdot2l.la \ +lefty_LDADD = lefty.res $(top_builddir)/cmd/lefty/dot2l/libdot2l.la \ $(top_builddir)/cmd/lefty/ws/mswin32/libws.la \ $(top_builddir)/cmd/lefty/os/mswin32/libos.la \ -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 @MATH_LIBS@ @@ -84,6 +84,13 @@ lefty_LDADD = $(top_builddir)/cmd/lefty/dot2l/libdot2l.la \ -lXt -lXmu -lXext -lX11 @SOCKET_LIBS@ @MATH_LIBS@ endif +if WITH_WIN32 +RC_CPPFLAGS = -IC:\\progra~1\\micros~2\\vc\\PlatformSDK\\include + +lefty.res : ws/mswin32/lefty.rc + rc -l 0x409 -Iws/mswin32 $(RC_CPPFLAGS) -DNDEBUG -fo lefty.res ws/mswin32/lefty.rc +endif + .1.pdf: -groff -Tps -man $< | ps2pdf - - >$@