haiku/src/servers/input/Jamfile
Jérôme Duval dbf6aa568b integration of the system keymap, loaded when settings one loading fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:06:54 +00:00

68 lines
1.3 KiB
Plaintext

SubDir OBOS_TOP src servers input ;
if $(COMPILE_FOR_R5) {
SubDirC++Flags -DCOMPILE_FOR_R5 ;
}
rule MkKeymapHeader
{
local binary = $(1) ;
local source = $(2) ;
SetupObjectsDir ;
SEARCH on $(source) = $(SEARCH_SOURCE) ;
MakeLocate $(binary) : $(LOCATE_TARGET) ;
Depends $(binary) : $(source) keymap ;
MkKeymapHeader1 $(binary) : keymap $(source) ;
LocalClean clean : $(binary) ;
}
actions MkKeymapHeader1
{
$(2[1]) -o "$(1)" -h "$(2[2-])" ;
}
MkKeymapHeader [ FGristFiles SystemKeymap.cpp ] : US-International.keymap ;
SEARCH on US-International.keymap
+= [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) apps bin keymap ] ;
AddResources input_server : input_server.rdef ;
UsePrivateHeaders app ;
UsePrivateHeaders input ;
UsePrivateHeaders storage ;
Server input_server :
InputServer.cpp
InputServerDevice.cpp
InputServerFilter.cpp
InputServerMethod.cpp
AddOnManager.cpp
DeviceManager.cpp
MouseSettings.cpp
KeyboardSettings.cpp
SystemKeymap.cpp
# storage
AddOnMonitor.cpp
AddOnMonitorHandler.cpp
NodeMonitorHandler.cpp
: be
;
if $(COMPILE_FOR_R5) {
} else {
LinkSharedOSLibs input_server : <boot!home!config!lib>libopenbeos.so ;
}
SEARCH on [ FGristFiles AddOnMonitor.cpp
AddOnMonitorHandler.cpp
NodeMonitorHandler.cpp ] += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ;