bin/pc: Mark non-returning function as void
[haiku.git] / src / servers / input / Jamfile
blob2aa05699318fd629779d497a647d7cafb567fecb
1 SubDir HAIKU_TOP src servers input ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 rule MkKeymapHeader {
6         local binary = $(1) ;
7         local source = $(2) ;
9         SEARCH on $(source) = $(SEARCH_SOURCE) ;
10         MakeLocateArch $(binary) ;
12         Depends $(binary) : $(source) <build>keymap ;
13         MkKeymapHeader1 $(binary) : <build>keymap $(source) ;
14         LocalClean clean : $(binary) ;
17 actions MkKeymapHeader1 {
18         $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
19         $(2[1]) -o "$(1)" -h "$(2[2-])" ;
22 MkKeymapHeader [ FGristFiles SystemKeymap.h ] : US-International.keymap ;
24 SEARCH on US-International.keymap += [ FDirName $(HAIKU_TOP) src data keymaps ] ;
26 AddResources input_server : input_server.rdef ;
28 UsePrivateHeaders app input interface shared storage support ;
29 UsePrivateSystemHeaders ;
31 if $(TARGET_PLATFORM) != haiku {
32         #APPSERVER_TEST_MODE = 1 ;
33         if $(APPSERVER_TEST_MODE) {
34                 SubDirC++Flags -DAPPSERVER_TEST_MODE ;
35         } else {
36                 SubDirC++Flags -DAPPSERVER_R5_COMM ;
37         }
38 } else {
39         APPSERVER_TEST_MODE = 0 ;
42 Server input_server :
43         InputServer.cpp
44         InputServerDevice.cpp
45         InputServerFilter.cpp
46         InputServerMethod.cpp
48         AddOnManager.cpp
50         MouseSettings.cpp
51         KeyboardSettings.cpp
53         MethodReplicant.cpp
54         MethodMenuItem.cpp
55         BottomlineWindow.cpp
57         PathList.cpp
59         # storage
60         AddOnMonitor.cpp
61         AddOnMonitorHandler.cpp
62         NodeMonitorHandler.cpp
64         : be [ TargetLibstdc++ ]
67 Includes [ FGristFiles InputServer.cpp ] : [ FGristFiles SystemKeymap.h ] ;
69 SEARCH on [ FGristFiles AddOnMonitor.cpp
70                 AddOnMonitorHandler.cpp
71                 NodeMonitorHandler.cpp ]
72         += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ;