Official mirror of https://gitlab.freedesktop.org/freetype/freetype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
720 B
41 lines
720 B
# FreeType 2 src Jamfile (c) 2001 David Turner |
|
# |
|
|
|
SubDir FT2_TOP tests ; |
|
|
|
test_programs = gview ; |
|
|
|
SubDirHdrs [ FT2_SubDir .. nirvana include ] ; |
|
|
|
NV_TOP = [ FT2_SubDir .. .. nirvana ] ; |
|
|
|
NIRVANA_LINKLIBS = $(NV_TOP)/objs/libnirvana$(SUFLIB) ; |
|
|
|
{ |
|
local t ; |
|
|
|
for t in $(test_programs) |
|
{ |
|
Main $(t) : $(t).c ; |
|
|
|
LinkLibraries $(t) : $(FT2_LIB) ; |
|
|
|
if $(WIN) |
|
{ |
|
if $(TOOLSET) = MINGW |
|
{ |
|
LINKKLIBS on $(t)$(SUFEXE) = "-luser32 -lgdi32" ; |
|
} |
|
else |
|
{ |
|
LINKLIBS on $(t)$(SUFEXE) = user32.lib gdi32.lib ; |
|
} |
|
} |
|
else |
|
{ |
|
LINKLIBS on $(t)$(SUFEXE) = -L/usr/X11R6/lib -lX11 -lm ; |
|
} |
|
|
|
NEEDLIBS on $(t)$(SUFEXE) += $(NIRVANA_LINKLIBS) ; |
|
} |
|
}
|
|
|