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) apps bin keymap ] ; 31 32AddResources input_server : input_server.rdef ; 33 34UsePrivateHeaders app ; 35UsePrivateHeaders input ; 36UsePrivateHeaders storage ; 37 38SubDirC++Flags -DADD_ON_STABLE_SECONDS=1 ; # for AddOnMonitorHandler.cpp 39 40Server input_server : 41 InputServer.cpp 42 InputServerDevice.cpp 43 InputServerFilter.cpp 44 InputServerMethod.cpp 45 46 AddOnManager.cpp 47 DeviceManager.cpp 48 49 MouseSettings.cpp 50 KeyboardSettings.cpp 51 52 SystemKeymap.cpp 53 54 # storage 55 AddOnMonitor.cpp 56 AddOnMonitorHandler.cpp 57 NodeMonitorHandler.cpp 58 59 : be 60; 61 62if $(COMPILE_FOR_R5) { 63 LinkSharedOSLibs input_server : stdc++.r4 ; 64} else { 65 LinkSharedOSLibs input_server : <boot!home!config!lib>libopenbeos.so stdc++.r4 ; 66} 67 68SEARCH on [ FGristFiles AddOnMonitor.cpp 69 AddOnMonitorHandler.cpp 70 NodeMonitorHandler.cpp ] += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ; 71 72Package haiku-inputkit-cvs : 73 input_server : 74 boot beos system servers ; 75 76Packages haiku-inputkit-cvs : 77 README LICENSE install.sh ; 78