Ticket #11280: Jamfile

File Jamfile, 1.5 KB (added by vidrep, 9 years ago)
Line 
1SubDir HAIKU_TOP src servers input ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5DEBUG = 1 ;
6
7rule MkKeymapHeader {
8 local binary = $(1) ;
9 local source = $(2) ;
10
11 SEARCH on $(source) = $(SEARCH_SOURCE) ;
12 MakeLocateArch $(binary) ;
13
14 Depends $(binary) : $(source) <build>keymap ;
15 MkKeymapHeader1 $(binary) : <build>keymap $(source) ;
16 LocalClean clean : $(binary) ;
17}
18
19actions MkKeymapHeader1 {
20 $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
21 $(2[1]) -o "$(1)" -h "$(2[2-])" ;
22}
23
24MkKeymapHeader [ FGristFiles SystemKeymap.h ] : US-International.keymap ;
25
26SEARCH on US-International.keymap += [ FDirName $(HAIKU_TOP) src data keymaps ] ;
27
28AddResources input_server : input_server.rdef ;
29
30UsePrivateHeaders app input interface shared storage support ;
31UsePrivateSystemHeaders ;
32
33if $(TARGET_PLATFORM) != haiku {
34 #APPSERVER_TEST_MODE = 1 ;
35 if $(APPSERVER_TEST_MODE) {
36 SubDirC++Flags -DAPPSERVER_TEST_MODE ;
37 } else {
38 SubDirC++Flags -DAPPSERVER_R5_COMM ;
39 }
40} else {
41 APPSERVER_TEST_MODE = 0 ;
42}
43
44Server input_server :
45 InputServer.cpp
46 InputServerDevice.cpp
47 InputServerFilter.cpp
48 InputServerMethod.cpp
49
50 AddOnManager.cpp
51
52 MouseSettings.cpp
53 KeyboardSettings.cpp
54
55 MethodReplicant.cpp
56 MethodMenuItem.cpp
57 BottomlineWindow.cpp
58
59 PathList.cpp
60
61 # storage
62 AddOnMonitor.cpp
63 AddOnMonitorHandler.cpp
64 NodeMonitorHandler.cpp
65
66 : be [ TargetLibstdc++ ]
67;
68
69Includes [ FGristFiles InputServer.cpp ] : [ FGristFiles SystemKeymap.h ] ;
70
71SEARCH on [ FGristFiles AddOnMonitor.cpp
72 AddOnMonitorHandler.cpp
73 NodeMonitorHandler.cpp ]
74 += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ;