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