# FreeType2 demo graph Jamfile (c) 2001 David Turner
#

SubDir  FT2DEMO_TOP graph ;

GRAPH_INCLUDE = $(FT2DEMO_GRAPH) ;
GRAPH_LIB     = $(LIBPREFIX)graph$(SUFLIB) ;

graph_sources = grblit
                grobjs
                grfont
                grdevice
                grinit
                gblender
                gblblit
                grfill
                grswizzle
                ;

if $(OS) = BEOS
{
  DEVICE_DEFINE = -DDEVICE_BEOS ;
}
else if $(UNIX)
{
  DEVICE_DEFINE = -DDEVICE_X11 ;
}
else if $(NT)
{
  DEVICE_DEFINE = -DDEVICE_WIN32 ;
}
else if $(OS2)
{
  DEVICE_DEFINE = -DDEVICE_OS2 ;
}

CCFLAGS on <graph>grinit$(SUFOBJ) = $(CCFLAGS) $(DEVICE_DEFINE) ;

Library  $(GRAPH_LIB) : $(graph_sources).c ;

if $(OS) = BEOS
{
  SubInclude  FT2DEMO_TOP graph beos ;
}
else if $(UNIX)
{
  SubInclude  FT2DEMO_TOP graph x11 ;
}
else if $(NT)
{
  SubInclude  FT2DEMO_TOP graph win32 ;
}
else if $(OS2)
{
  SubInclude  FT2DEMO_TOP graph os2 ;
}

# end of graph Jamfile
