]> granicus.if.org Git - graphviz/commitdiff
lefty: autotools: add 'lib' to include directories
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 17 Jan 2022 07:07:40 +0000 (08:07 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 31 Jan 2022 07:26:19 +0000 (08:26 +0100)
An upcoming commit need this in order to be able to add an include of
cgraph/exit.h.

Towards https://gitlab.com/graphviz/graphviz/-/issues/2178.

cmd/lefty/Makefile.am
cmd/lefty/ws/mswin32/Makefile.am
cmd/lefty/ws/x11/Makefile.am

index fb4d41cdab9d868f682356f1a1ce00488ff9deee..ceab3ddd435fdc57b899b2707a7e7cf6e142069b 100644 (file)
@@ -26,12 +26,14 @@ pdfdir = $(pkgdatadir)/doc/pdf
 
 if WITH_WIN32
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
        -I$(top_srcdir)/cmd/lefty/ws/mswin32 \
        -I$(top_srcdir)/cmd/lefty/os/mswin32 \
        -I$(top_srcdir)/cmd/lefty/dot2l \
        $(XMU_CFLAGS) $(XAW_CFLAGS)
 else
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
        -I$(top_srcdir)/cmd/lefty/ws/x11 \
        -I$(top_srcdir)/cmd/lefty/os/unix \
        -I$(top_srcdir)/cmd/lefty/dot2l \
index 082da9e7640839d44bba6ca48073d5dd0d6a99ef..e0313c2c38f7e5a24434349858e3c9fe527e6cdd 100644 (file)
@@ -1,6 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CPPFLAGS = -I$(top_srcdir)/cmd/lefty 
+AM_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
+       -I$(top_srcdir)/cmd/lefty
+
 
 noinst_HEADERS = gcommon.h resource.h
 if WITH_WIN32
index 70191f631561cec4727f02cf38ef90d81f420081..2ec816a20e74d28c12533757c936bbc9bab64af5 100644 (file)
@@ -12,6 +12,7 @@ endif
 libws_la_SOURCES = garray.c gbutton.c gcanvas.c gcommon.c glabel.c \
        gmenu.c gpcanvas.c gquery.c gscroll.c gtext.c gview.c
 libws_la_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
        -I$(top_srcdir)/cmd/lefty \
        -I$(top_srcdir)/cmd/lefty/ws/x11/libfilereq \
        -DFEATURE_X11 \