xref: /haiku/src/kits/tracker/Jamfile (revision e711e6e42fd7ec3111ba9dc2324fa8efedd6674b)
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 translation $(vectorIconLibs)
104			[ TargetLibstdc++ ] [ TargetLibsupc++ ]
105			[ MultiArchDefaultGristFiles libshared.a ]
106			[ MultiArchDefaultGristFiles libshortcuts_shared.a ]
107			;
108	}
109}
110
111DoCatalogs libtracker.so :
112	x-vnd.Haiku-libtracker
113	:
114	Tracker.cpp
115	AutoMounterSettings.cpp
116	ContainerWindow.cpp
117	CountView.cpp
118	DeskWindow.cpp
119	DirMenu.cpp
120	FavoritesMenu.cpp
121	FilePanelPriv.cpp
122	FilePermissionsView.cpp
123	FindPanel.cpp
124	FSClipboard.cpp
125	FSUtils.cpp
126	InfoWindow.cpp
127	LocalizedFolders.h
128	Model.cpp
129	MountMenu.cpp
130	NavMenu.cpp
131	OpenWithWindow.cpp
132	PoseView.cpp
133	QueryContainerWindow.cpp
134	QueryPoseView.cpp
135	RegExp.cpp
136	SelectionWindow.cpp
137	SettingsViews.cpp
138	SlowContextPopup.cpp
139	StatusWindow.cpp
140	TemplatesMenu.cpp
141	TextWidget.cpp
142	Tracker.cpp
143	TrackerInitialState.cpp
144	TrackerSettingsWindow.cpp
145	WidgetAttributeText.cpp
146;
147
148
149if $(TARGET_PLATFORM) = libbe_test {
150	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libtracker.so
151		: tests!apps ;
152}
153