xref: /haiku/src/kits/tracker/Jamfile (revision 82bffcc3a75c7064cf7d031c01ad6c932a13cbce)
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 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			WidgetAttributeText.cpp
102
103			:
104			be localestub shared translation $(vectorIconLibs)
105			[ TargetLibstdc++ ] [ TargetLibsupc++ ]
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