xref: /haiku/src/apps/deskbar/Jamfile (revision 981f1b1135291a4fca290fbdf69910dc2f24abdd)
1SubDir HAIKU_TOP src apps deskbar ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders app interface shared tracker ;
6SubDirHdrs $(HAIKU_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
15local targetLib ;
16local targetSource ;
17
18if $(TARGET_PLATFORM) = haiku {
19targetLib = libshared.a ;
20targetSource = CalendarMenuWindow.cpp ;
21SubDirC++Flags -D_SHOW_CALENDAR_MENU_WINDOW=1 -DMOUNT_MENU_IN_DESKBAR=1 ;
22} else {
23SubDirC++Flags -D_SHOW_CALENDAR_MENU_ITEM=1 ;
24}
25
26Application Deskbar :
27	BarApp.cpp
28	BarMenuBar.cpp
29	BarMenuTitle.cpp
30	BarView.cpp
31	BarWindow.cpp
32	BeMenu.cpp
33	CalendarMenuItem.cpp
34	DeskBarUtils.cpp
35	ExpandoMenuBar.cpp
36	ShowHideMenuItem.cpp
37	StatusView.cpp
38	StatusViewShelf.cpp
39	TeamMenu.cpp
40	TeamMenuItem.cpp
41	TimeView.cpp
42	WindowMenu.cpp
43	WindowMenuItem.cpp
44	ResourceSet.cpp
45	Switcher.cpp
46	$(targetSource)
47	: be tracker $(targetLib) $(TARGET_LIBSUPC++)
48	;
49