2001-12-05 02:22:05 +01:00
|
|
|
# FreeType 2 src Jamfile (c) 2001 David Turner
|
|
|
|
#
|
|
|
|
|
|
|
|
SubDir FT2_TOP tests ;
|
2001-10-18 13:50:31 +02:00
|
|
|
|
|
|
|
test_programs = gview ;
|
|
|
|
|
2001-12-05 02:22:05 +01:00
|
|
|
SubDirHdrs [ FT2_SubDir .. nirvana include ] ;
|
2001-10-18 13:50:31 +02:00
|
|
|
|
2002-08-19 08:06:44 +02:00
|
|
|
NV_TOP = [ FT2_SubDir .. .. nirvana ] ;
|
2001-10-18 13:50:31 +02:00
|
|
|
|
2002-08-19 08:06:44 +02:00
|
|
|
NIRVANA_LINKLIBS = $(NV_TOP)/objs/libnirvana$(SUFLIB) ;
|
2001-10-18 13:50:31 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
local t ;
|
2002-08-19 08:06:44 +02:00
|
|
|
|
2001-10-18 13:50:31 +02:00
|
|
|
for t in $(test_programs)
|
|
|
|
{
|
|
|
|
Main $(t) : $(t).c ;
|
2002-08-19 08:06:44 +02:00
|
|
|
|
2001-10-18 13:50:31 +02:00
|
|
|
LinkLibraries $(t) : $(FT2_LIB) ;
|
2002-08-19 08:06:44 +02:00
|
|
|
|
|
|
|
if $(WIN)
|
2001-10-18 13:50:31 +02:00
|
|
|
{
|
2002-08-19 08:06:44 +02:00
|
|
|
if $(TOOLSET) = MINGW
|
|
|
|
{
|
|
|
|
LINKKLIBS on $(t)$(SUFEXE) = "-luser32 -lgdi32" ;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
LINKLIBS on $(t)$(SUFEXE) = user32.lib gdi32.lib ;
|
|
|
|
}
|
2001-10-18 13:50:31 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2002-08-19 08:06:44 +02:00
|
|
|
LINKLIBS on $(t)$(SUFEXE) = -L/usr/X11R6/lib -lX11 -lm ;
|
2001-10-18 13:50:31 +02:00
|
|
|
}
|
2002-08-19 08:06:44 +02:00
|
|
|
|
2001-10-18 13:50:31 +02:00
|
|
|
NEEDLIBS on $(t)$(SUFEXE) += $(NIRVANA_LINKLIBS) ;
|
|
|
|
}
|
|
|
|
}
|