xref: /haiku/src/apps/deskbar/Jamfile (revision fef6144999c2fa611f59ee6ffe6dd7999501385c)
1SubDir OBOS_TOP src apps deskbar ;
2
3UsePrivateHeaders app ;
4UsePrivateHeaders shared ;
5UsePrivateHeaders tracker ;
6SubDirHdrs $(OBOS_TOP) src kits tracker ;
7
8AddResources Deskbar : Deskbar.rdef icon-freelogo.rdef icons.rdef ;
9
10SubDirC++Flags -DDB_ADDONS -DOPEN_TRACKER=1
11	-D_INCLUDES_CLASS_DEVICE_MAP=1
12	-D_SUPPORTS_RESOURCES=1
13	-D_SUPPORTS_FEATURE_SCRIPTING=1
14	-D_SHOW_CALENDAR_MENU_ITEM=1 ;
15
16App Deskbar :
17	BarApp.cpp
18	BarMenuBar.cpp
19	BarMenuTitle.cpp
20	BarView.cpp
21	BarWindow.cpp
22	BeMenu.cpp
23	CalendarMenuItem.cpp
24	DeskBarUtils.cpp
25	ExpandoMenuBar.cpp
26	ShowHideMenuItem.cpp
27	StatusView.cpp
28	StatusViewShelf.cpp
29	TeamMenu.cpp
30	TeamMenuItem.cpp
31	TimeView.cpp
32	WindowMenu.cpp
33	WindowMenuItem.cpp
34	ResourceSet.cpp
35	Switcher.cpp
36	;
37
38MakeLocate Deskbar : [ FDirName $(OBOS_KERNEL_DIR) ] ;
39
40if $(TARGET_PLATFORM) = haiku {
41	# link for Haiku
42
43	LinkSharedOSLibs Deskbar :
44		libbe.so libtracker.so
45	;
46
47} else {
48	# link against build platform libs
49
50	LinkSharedOSLibs Deskbar :
51		be tracker
52	;
53}
54