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