Files
haiku-beta6/src/tests/Jamfile
T
Oliver Tappe 220d040227 Use libstdc++, libsupc++ and libgcc from gcc_syslibs.
* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
  from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
  x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
  necessary since we're only using libgcc-as-single-object for libroot
  with x86_gcc2, where the filtered object file doesn't exist. Should
  the objects that used to be filtered cause any problems as part of
  libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
  x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
  x86_gcc2, we still build libstdc++.so from the sources in the Haiku
  source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.
2014-08-13 13:32:44 +02:00

35 lines
890 B
Plaintext

SubDir HAIKU_TOP src tests ;
SetSubDirSupportedPlatformsBeOSCompatible ;
AddSubDirSupportedPlatforms libbe_test ;
UnitTestLib libexampletest.so
: ExampleTestAddon.cpp
ExampleTest.cpp
: be [ TargetLibstdc++ ]
:
;
UnitTest UnitTester
: UnitTester.cpp
: be [ TargetLibstdc++ ]
: UnitTester.rsrc
;
# Install libbe and other libraries for target platform libbe_test.
if $(TARGET_PLATFORM) = libbe_test {
local libs = libbe_haiku.so libbeadapter.so libtranslation.so ;
HaikuInstall install-unittest-libs : $(TARGET_UNIT_TEST_LIB_DIR)
: $(libs)
: tests!unittests ;
}
SubInclude HAIKU_TOP src tests add-ons ;
SubInclude HAIKU_TOP src tests apps ;
SubInclude HAIKU_TOP src tests bin ;
SubInclude HAIKU_TOP src tests system ;
SubInclude HAIKU_TOP src tests kits ;
SubInclude HAIKU_TOP src tests libs ;
SubInclude HAIKU_TOP src tests misc ;
SubInclude HAIKU_TOP src tests servers ;