xref: /haiku/src/apps/deskbar/Jamfile (revision 959ff00ddee8411dabb09211f3bfbd52d87229da)
1SubDir HAIKU_TOP src apps deskbar ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UsePrivateHeaders app interface shared tracker ;
7SubDirHdrs $(HAIKU_TOP) src kits tracker ;
8
9AddResources Deskbar : Deskbar.rdef icon-freelogo.rdef icons.rdef ;
10
11SubDirC++Flags -DDB_ADDONS -DOPEN_TRACKER=1
12	-D_INCLUDES_CLASS_DEVICE_MAP=1
13	-D_SUPPORTS_RESOURCES=1
14	-D_SUPPORTS_FEATURE_SCRIPTING=1 ;
15
16local targetLib ;
17local targetSource ;
18
19if $(TARGET_PLATFORM) = haiku {
20targetLib = libshared.a ;
21targetSource = CalendarMenuWindow.cpp ;
22SubDirC++Flags -D_SHOW_CALENDAR_MENU_WINDOW=1 ;
23} else {
24SubDirC++Flags -D_SHOW_CALENDAR_MENU_ITEM=1 ;
25}
26
27Application Deskbar :
28	BarApp.cpp
29	BarMenuBar.cpp
30	BarMenuTitle.cpp
31	BarView.cpp
32	BarWindow.cpp
33	BeMenu.cpp
34	CalendarMenuItem.cpp
35	DeskBarUtils.cpp
36	ExpandoMenuBar.cpp
37	ShowHideMenuItem.cpp
38	StatusView.cpp
39	StatusViewShelf.cpp
40	TeamMenu.cpp
41	TeamMenuItem.cpp
42	TimeView.cpp
43	WindowMenu.cpp
44	WindowMenuItem.cpp
45	ResourceSet.cpp
46	Switcher.cpp
47	$(targetSource)
48	: be tracker $(targetLib)
49	;
50
51if $(TARGET_PLATFORM) = libbe_test {
52	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Deskbar
53		: tests!apps ;
54}
55