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