xref: /haiku/src/kits/tracker/Jamfile (revision d284f7cc43cc0d1106c3b0c40e62c58107648573)
1SubDir HAIKU_TOP src kits tracker ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UseHeaders [ FDirName $(HAIKU_TOP) src add-ons input_server filters shortcut_catcher ] ;
7UsePrivateHeaders interface mount shared storage support tracker ;
8UsePrivateSystemHeaders ;
9
10SubDirC++Flags
11	-D_BUILDING_tracker=1
12#	-D_INCLUDES_CLASS_DEVICE_MAP=1
13	-D_SUPPORTS_RESOURCES=1
14#	-D_SILENTLY_CORRECT_FILE_NAMES=1
15	;
16
17local architectureObject ;
18for architectureObject in [ MultiArchSubDirSetup ] {
19	on $(architectureObject) {
20		local libtracker = [ MultiArchDefaultGristFiles libtracker.so ] ;
21		AddResources $(libtracker) : TrackerIcons.rdef libtracker.rdef ;
22
23		SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons input_server
24			filters shortcut_catcher ] ;
25
26		SharedLibrary $(libtracker) :
27			AttributeStream.cpp
28			AutoMounterSettings.cpp
29			BackgroundImage.cpp
30			Bitmaps.cpp
31			ContainerWindow.cpp
32			CountView.cpp
33			DeskWindow.cpp
34			DesktopPoseView.cpp
35			DialogPane.cpp
36			DirMenu.cpp
37			EntryIterator.cpp
38			FBCPadding.cpp
39			FSClipboard.cpp
40			FSUndoRedo.cpp
41			FSUtils.cpp
42			FavoritesMenu.cpp
43			FilePanel.cpp
44			FilePanelPriv.cpp
45			FilePermissionsView.cpp
46			FindPanel.cpp
47			GroupedMenu.cpp
48			IconCache.cpp
49			IconMenuItem.cpp
50			InfoWindow.cpp
51			MimeTypeList.cpp
52			MiniMenuField.cpp
53			Model.cpp
54			MountMenu.cpp
55			Navigator.cpp
56			NavMenu.cpp
57			NodePreloader.cpp
58			NodeWalker.cpp
59			OpenWithWindow.cpp
60			OverrideAlert.cpp
61			PendingNodeMonitorCache.cpp
62			Pose.cpp
63			PoseList.cpp
64			PoseView.cpp
65			PoseViewScripting.cpp
66			QueryContainerWindow.cpp
67			QueryPoseView.cpp
68			RecentItems.cpp
69			RegExp.cpp
70			SelectionWindow.cpp
71			Settings.cpp
72			SettingsHandler.cpp
73			SettingsViews.cpp
74			SlowContextPopup.cpp
75			SlowMenu.cpp
76			StatusWindow.cpp
77			TaskLoop.cpp
78			TemplatesMenu.cpp
79			Tests.cpp
80			TextWidget.cpp
81			TitleView.cpp
82			Tracker.cpp
83			TrackerInitialState.cpp
84			TrackerScripting.cpp
85			TrackerSettings.cpp
86			TrackerSettingsWindow.cpp
87			TrackerString.cpp
88			TrashWatcher.cpp
89			Utilities.cpp
90			ViewState.cpp
91			VirtualDirectoryEntryList.cpp
92			VirtualDirectoryManager.cpp
93			VirtualDirectoryPoseView.cpp
94			VirtualDirectoryWindow.cpp
95			WidgetAttributeText.cpp
96
97			:
98			be localestub shared translation
99			[ TargetLibstdc++ ] [ TargetLibsupc++ ]
100			[ MultiArchDefaultGristFiles libshortcuts_shared.a ]
101			;
102	}
103}
104
105DoCatalogs libtracker.so :
106	x-vnd.Haiku-libtracker
107	:
108	Tracker.cpp
109	AutoMounterSettings.cpp
110	ContainerWindow.cpp
111	CountView.cpp
112	DeskWindow.cpp
113	DirMenu.cpp
114	FavoritesMenu.cpp
115	FilePanelPriv.cpp
116	FilePermissionsView.cpp
117	FindPanel.cpp
118	FSClipboard.cpp
119	FSUtils.cpp
120	InfoWindow.cpp
121	LocalizedFolders.h
122	Model.cpp
123	MountMenu.cpp
124	NavMenu.cpp
125	OpenWithWindow.cpp
126	PoseView.cpp
127	QueryContainerWindow.cpp
128	QueryPoseView.cpp
129	RegExp.cpp
130	SelectionWindow.cpp
131	SettingsViews.cpp
132	SlowContextPopup.cpp
133	StatusWindow.cpp
134	TemplatesMenu.cpp
135	TextWidget.cpp
136	Tracker.cpp
137	TrackerInitialState.cpp
138	TrackerSettingsWindow.cpp
139	WidgetAttributeText.cpp
140;
141
142
143if $(TARGET_PLATFORM) = libbe_test {
144	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libtracker.so
145		: tests!apps ;
146}
147