SubDir HAIKU_TOP src apps deskbar ; SetSubDirSupportedPlatformsBeOSCompatible ; AddSubDirSupportedPlatforms libbe_test ; UsePrivateHeaders app interface shared tracker ; SubDirHdrs $(HAIKU_TOP) src kits tracker ; AddResources Deskbar : Deskbar.rdef icon-freelogo.rdef icons.rdef ; SubDirC++Flags -DDB_ADDONS -DOPEN_TRACKER=1 -D_INCLUDES_CLASS_DEVICE_MAP=1 -D_SUPPORTS_RESOURCES=1 -D_SUPPORTS_FEATURE_SCRIPTING=1 ; local targetLib ; local targetSource ; if $(TARGET_PLATFORM) = haiku { targetLib = libshared.a ; targetSource = CalendarMenuWindow.cpp ; SubDirC++Flags -D_SHOW_CALENDAR_MENU_WINDOW=1 ; } else { SubDirC++Flags -D_SHOW_CALENDAR_MENU_ITEM=1 ; } Application Deskbar : BarApp.cpp BarMenuBar.cpp BarMenuTitle.cpp BarView.cpp BarWindow.cpp BeMenu.cpp CalendarMenuItem.cpp DeskBarUtils.cpp ExpandoMenuBar.cpp ShowHideMenuItem.cpp StatusView.cpp StatusViewShelf.cpp TeamMenu.cpp TeamMenuItem.cpp TimeView.cpp WindowMenu.cpp WindowMenuItem.cpp ResourceSet.cpp Switcher.cpp $(targetSource) : be tracker $(targetLib) ; if $(TARGET_PLATFORM) = libbe_test { HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Deskbar : tests!apps ; }