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