1SubDir HAIKU_TOP src servers input ; 2 3rule MkKeymapHeader { 4 local binary = $(1) ; 5 local source = $(2) ; 6 7 SEARCH on $(source) = $(SEARCH_SOURCE) ; 8 MakeLocateArch $(binary) ; 9 10 Depends $(binary) : $(source) <build>keymap ; 11 MkKeymapHeader1 $(binary) : <build>keymap $(source) ; 12 LocalClean clean : $(binary) ; 13} 14 15actions MkKeymapHeader1 { 16 $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) 17 $(2[1]) -o "$(1)" -h "$(2[2-])" ; 18} 19 20MkKeymapHeader [ FGristFiles SystemKeymap.h ] : US-International.keymap ; 21 22SEARCH on US-International.keymap += [ FDirName $(HAIKU_TOP) src data keymaps ] ; 23 24AddResources input_server : input_server.rdef ; 25 26UsePrivateHeaders app input interface shared storage support ; 27UsePrivateSystemHeaders ; 28 29if $(TARGET_PLATFORM) != haiku { 30 #APPSERVER_TEST_MODE = 1 ; 31 if $(APPSERVER_TEST_MODE) { 32 SubDirC++Flags -DAPPSERVER_TEST_MODE ; 33 } else { 34 SubDirC++Flags -DAPPSERVER_R5_COMM ; 35 } 36} else { 37 APPSERVER_TEST_MODE = 0 ; 38} 39 40Server input_server : 41 InputServer.cpp 42 InputServerDevice.cpp 43 InputServerFilter.cpp 44 InputServerMethod.cpp 45 46 AddOnManager.cpp 47 48 MouseSettings.cpp 49 KeyboardSettings.cpp 50 51 MethodReplicant.cpp 52 MethodMenuItem.cpp 53 BottomlineWindow.cpp 54 55 PathList.cpp 56 57 # storage 58 AddOnMonitor.cpp 59 AddOnMonitorHandler.cpp 60 NodeMonitorHandler.cpp 61 62 : be [ TargetLibstdc++ ] 63; 64 65Includes [ FGristFiles InputServer.cpp ] : [ FGristFiles SystemKeymap.h ] ; 66 67SEARCH on [ FGristFiles AddOnMonitor.cpp 68 AddOnMonitorHandler.cpp 69 NodeMonitorHandler.cpp ] 70 += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ; 71