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