xref: /haiku/src/kits/tracker/Jamfile (revision a906d0a031e721e2f2ec9d95274103e74a3a774f)
1SubDir HAIKU_TOP src kits tracker ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UsePrivateHeaders interface mount shared storage tracker ;
7
8UseLibraryHeaders icon ;
9
10AddResources libtracker.so : TrackerIcons.rdef libtracker.rdef ;
11
12SubDirC++Flags
13	-D_BUILDING_tracker=1
14#	-D_INCLUDES_CLASS_DEVICE_MAP=1
15	-D_SUPPORTS_RESOURCES=1
16	-D_SUPPORTS_FEATURE_SCRIPTING=1
17#	-D_SILENTLY_CORRECT_FILE_NAMES=1
18	;
19
20local vector_icon_libs ;
21if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) && $(TARGET_PLATFORM) != libbe_test {
22	vector_icon_libs = libicon.a libagg.a ;
23}
24
25SharedLibrary libtracker.so :
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	SettingsHandler.cpp
72	SettingsViews.cpp
73	SlowContextPopup.cpp
74	SlowMenu.cpp
75	StatusWindow.cpp
76	TaskLoop.cpp
77	TemplatesMenu.cpp
78	Tests.cpp
79	TextWidget.cpp
80	Thread.cpp
81	TitleView.cpp
82	Tracker.cpp
83	TrackerInitialState.cpp
84	TrackerScripting.cpp
85	TrackerSettings.cpp
86	TrackerSettingsWindow.cpp
87	TrackerString.cpp
88	TrashWatcher.cpp
89	Utilities.cpp
90	ViewState.cpp
91	VolumeWindow.cpp
92	WidgetAttributeText.cpp
93
94	: be translation $(vector_icon_libs) $(TARGET_LIBSTDC++) $(HAIKU_LOCALE_LIBS) libshared.a
95	;
96
97DoCatalogs libtracker.so :
98	x-vnd.Haiku-libtracker
99	:
100	Tracker.cpp
101	AutoMounterSettings.cpp
102	ContainerWindow.cpp
103	CountView.cpp
104	DeskWindow.cpp
105	DirMenu.cpp
106	FavoritesMenu.cpp
107	FilePanelPriv.cpp
108	FilePermissionsView.cpp
109	FindPanel.cpp
110	FSClipboard.cpp
111	FSUtils.cpp
112	InfoWindow.cpp
113	Model.cpp
114	MountMenu.cpp
115	NavMenu.cpp
116	OpenWithWindow.cpp
117	PoseView.cpp
118	QueryContainerWindow.cpp
119	QueryPoseView.cpp
120	RegExp.cpp
121	SelectionWindow.cpp
122	SettingsViews.cpp
123	SlowContextPopup.cpp
124	StatusWindow.cpp
125	TemplatesMenu.cpp
126	TextWidget.cpp
127	Tracker.cpp
128	TrackerInitialState.cpp
129	TrackerSettingsWindow.cpp
130	VolumeWindow.cpp
131	WidgetAttributeText.cpp
132;
133
134
135if $(TARGET_PLATFORM) = libbe_test {
136	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libtracker.so
137		: tests!apps ;
138}
139