From 43d3560b2582ab3c13766d432e2cd16bebf76eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 3 Jun 2006 15:33:26 +0000 Subject: [PATCH] * As the generated SystemKeymap source is used as a header, I renamed the generated file from SystemKeymap.cpp to SystemKeymap.h. * The keymap was even compiled into the input_server twice, as it was also listed as source file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17711 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/input/InputServer.cpp | 2 +- src/servers/input/Jamfile | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/servers/input/InputServer.cpp b/src/servers/input/InputServer.cpp index ee057f3ee5..2ca58383b3 100644 --- a/src/servers/input/InputServer.cpp +++ b/src/servers/input/InputServer.cpp @@ -29,7 +29,7 @@ #include -#include "SystemKeymap.cpp" +#include "SystemKeymap.h" // this is an automatically generated file #include diff --git a/src/servers/input/Jamfile b/src/servers/input/Jamfile index 4a99259bf1..d1e929a46d 100644 --- a/src/servers/input/Jamfile +++ b/src/servers/input/Jamfile @@ -6,8 +6,7 @@ if $(COMPILE_FOR_R5) { SubDirC++Flags -DCOMPILE_FOR_R5 ; } -rule MkKeymapHeader -{ +rule MkKeymapHeader { local binary = $(1) ; local source = $(2) ; @@ -19,13 +18,12 @@ rule MkKeymapHeader LocalClean clean : $(binary) ; } -actions MkKeymapHeader1 -{ +actions MkKeymapHeader1 { $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) $(2[1]) -o "$(1)" -h "$(2[2-])" ; } -MkKeymapHeader [ FGristFiles SystemKeymap.cpp ] : US-International.keymap ; +MkKeymapHeader [ FGristFiles SystemKeymap.h ] : US-International.keymap ; SEARCH on US-International.keymap += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) data etc keymaps ] ; @@ -60,8 +58,6 @@ Server input_server : MouseSettings.cpp KeyboardSettings.cpp - SystemKeymap.cpp - MethodReplicant.cpp MethodMenuItem.cpp BottomlineWindow.cpp @@ -79,8 +75,8 @@ SEARCH on [ FGristFiles AddOnMonitor.cpp NodeMonitorHandler.cpp ] += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ; Package haiku-inputkit-cvs : - input_server : - boot beos system servers ; + input_server : + boot beos system servers ; Packages haiku-inputkit-cvs : - README LICENSE install.sh ; + README LICENSE install.sh ;