xref: /haiku/src/tests/add-ons/translators/Jamfile (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
1SubDir HAIKU_TOP src tests add-ons translators ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6local libtranslation = translation ;
7
8# Let Jam know where to find some of our source files
9SEARCH_SOURCE += [ FDirName $(SUBDIR) bmptranslator ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) pngtranslator ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) stxttranslator ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) tgatranslator ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) tifftranslator ] ;
14
15if $(TARGET_PLATFORM) = libbe_test {
16	UsePublicHeaders translation ;
17	libtranslation = <tests!unittests>libtranslation.so ;
18}
19
20UnitTestLib libtranslatorstest.so
21	: TranslatorTestAddOn.cpp
22		BMPTranslatorTest.cpp
23		PNGTranslatorTest.cpp
24		STXTTranslatorTest.cpp
25		TGATranslatorTest.cpp
26		TIFFTranslatorTest.cpp
27	: $(libtranslation) be $(TARGET_LIBSTDC++)
28;
29