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