SET(vmalloc_SRCDIR ${CMAKE_SOURCE_DIR}/lib/vmalloc)
SET(vpsc_SRCDIR ${CMAKE_SOURCE_DIR}/lib/vpsc)
-SET(gvplugin_core_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_core)
-SET(gvplugin_dot_layout_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_dot_layout)
-SET(gvplugin_gd_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_gd)
-SET(gvplugin_gtk_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_gtk)
-SET(gvplugin_neato_layout_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_neato_layout)
-SET(gvplugin_pango_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_pango)
-SET(gvplugin_xlib_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gvplugin_xlib)
+SET(gvplugin_core_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/core)
+SET(gvplugin_dot_layout_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/dot_layout)
+SET(gvplugin_gd_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/gd)
+SET(gvplugin_gtk_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/gtk)
+SET(gvplugin_neato_layout_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/neato_layout)
+SET(gvplugin_pango_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/pango)
+SET(gvplugin_xlib_SRCDIR ${CMAKE_SOURCE_DIR}/plugin/xlib)
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_core_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_core MODULE ${gvplugin_core_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_dot_layout_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_dot_layout MODULE ${gvplugin_dot_layout_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_gd_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_gd MODULE ${gvplugin_gd_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_gtk_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_gtk MODULE ${gvplugin_gtk_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_neato_layout_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_neato_layout MODULE ${gvplugin_neato_layout_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_pango_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_pango MODULE ${gvplugin_pango_SRCS})
# $Id$ $Revision$
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(SRCDIRs)
INCLUDE(${gvplugin_xlib_SRCDIR}/sources.cmake)
ADD_LIBRARY(gvplugin_xlib MODULE ${gvplugin_xlib_SRCS})
# $Id$ $Revision$
+INCLUDE( FindX11 )
+INCLUDE( UsePkgConfig )
+PKGCONFIG( gnomeui GNOMEUI_INCLUDE_DIR GNOMEUI_LIB_DIR GNOMEUI_LINK_FLAGS GNOMEUI_CFLAGS )
+PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS )
+ADD_DEFINITIONS(${GNOMEUI_CFLAGS} ${PANGOCAIRO_CFLAGS})
+
INCLUDE_DIRECTORIES(
${gvplugin_xlib_SRCDIR}
${top_SRCDIR}
${common_SRCDIR}
- ${graph_SRCDIR}
- ${cdt_SRCDIR}
${pathplan_SRCDIR}
${gvc_SRCDIR}
+ ${graph_SRCDIR}
+ ${cdt_SRCDIR}
)
SET(gvplugin_xlib_SRCS