SubDir OBOS_TOP src tests kits interface ;

# Let Jam know where to find some of our source files
SEARCH_SOURCE += [ FDirName $(SUBDIR) bbitmap ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) bdeskbar ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) bpolygon ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) bregion ] ;

SEARCH_SOURCE += [ FDirName $(TOP) src kits interface ] ;

CommonTestLib libinterfacetest.so
	: InterfaceKitTestAddon.cpp

		# BBitmap
		BitmapTest.cpp
		BBitmapTester.cpp
		SetBitsTester.cpp

		# BDeskbar
		DeskbarTest.cpp
		DeskbarGetItemTest.cpp
		DeskbarLocationTest.cpp
		DeskbarAddItemTest.cpp

		# BPolygon
		PolygonTest.cpp
		DummyPolygon.cpp
		CreatePolygonTest.cpp
		MapPolygonTest.cpp

		# BRegion
		RegionTest.cpp
		RegionTestcase.cpp
		RegionConstruction.cpp
		RegionExclude.cpp
		RegionInclude.cpp
		RegionIntersect.cpp
		RegionOffsetBy.cpp

	: <boot!home!config!lib>libopenbeos.so
		be stdc++.r4
	: be stdc++.r4
	: 
	: app support
;

SimpleTest ScrollViewTest_r5 :
	ScrollViewTest.cpp
	: be
	;

SimpleTest ScrollViewTest :
	ScrollViewTest.cpp
	ScrollView.cpp
	: be
	;

SEARCH on [ FGristFiles
		ScrollView.cpp
	] = [ FDirName $(OBOS_TOP) src kits interface ] ;

SubInclude OBOS_TOP src tests kits interface bprintjob ;
SubInclude OBOS_TOP src tests kits interface picture ;
