SubDir HAIKU_TOP src apps deskbar ; UsePrivateHeaders app ; UsePrivateHeaders shared ; UsePrivateHeaders 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 -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 ; if $(TARGET_PLATFORM) = haiku { # link for Haiku LinkAgainst Deskbar : libbe.so libtracker.so ; } else { # link against build platform libs LinkAgainst Deskbar : be tracker ; }