xref: /haiku/src/tests/servers/input/prefs/Jamfile (revision 95bac3fda53a4cb21880712d7b43f8c21db32a2e)
1SubDir OBOS_TOP src tests servers input prefs ;
2
3UsePrivateHeaders interface ;
4UsePrivateHeaders app ;
5UsePrivateHeaders input ;
6
7AddResources KeymapTest : Keymap.rdef ;
8
9if $(COMPILE_FOR_R5) {
10	SubDirC++Flags -DCOMPILE_FOR_R5 ;
11}
12
13SimpleTest KeymapTest :
14	KeymapApplication.cpp
15	KeymapWindow.cpp
16	KeymapListItem.cpp
17	Keymap.cpp
18	KeymapTextView.cpp
19
20	InterfaceDefs.cpp
21	Input.cpp
22	: be tracker ;
23
24if $(COMPILE_FOR_R5) {
25} else {
26	LinkSharedOSLibs KeymapTest : <boot!home!config!lib>libopenbeos.so ;
27}
28
29SEARCH on [ FGristFiles
30	KeymapApplication.cpp
31	KeymapWindow.cpp
32	KeymapListItem.cpp
33	Keymap.cpp
34	KeymapTextView.cpp
35	Keymap.rdef ]
36	= [ FDirName $(OBOS_TOP) src prefs keymap ] ;
37
38AddResources KeyboardTest : Keyboard.rdef ;
39
40SimpleTest KeyboardTest :
41	Keyboard.cpp
42	KeyboardSettings.cpp
43	KeyboardView.cpp
44	KeyboardWindow.cpp
45
46	InterfaceDefs.cpp
47	Input.cpp
48	: translation be ;
49
50if $(COMPILE_FOR_R5) {
51} else {
52	LinkSharedOSLibs KeyboardTest : <boot!home!config!lib>libopenbeos.so ;
53}
54
55SEARCH on [ FGristFiles
56	Keyboard.cpp
57	KeyboardSettings.cpp
58	KeyboardView.cpp
59	KeyboardWindow.cpp
60	Keyboard.rdef ]
61	= [ FDirName $(OBOS_TOP) src prefs keyboard ] ;
62
63AddResources MouseTest : Mouse.rdef ;
64
65SimpleTest MouseTest :
66	Mouse.cpp
67	MouseSettings.cpp
68	MouseWindow.cpp
69	MouseView.cpp
70	SettingsView.cpp
71
72	InterfaceDefs.cpp
73	Input.cpp
74	: translation be
75	;
76
77if $(COMPILE_FOR_R5) {
78} else {
79	LinkSharedOSLibs MouseTest : <boot!home!config!lib>libopenbeos.so ;
80}
81
82SEARCH on [ FGristFiles
83	Mouse.cpp
84	MouseSettings.cpp
85	MouseWindow.cpp
86	MouseView.cpp
87	SettingsView.cpp
88	Mouse.rdef
89	]
90	= [ FDirName $(OBOS_TOP) src prefs mouse ] ;
91
92SimpleTest keymapTest :
93	key_map.cpp
94	Keymap.cpp
95
96	InterfaceDefs.cpp
97	Input.cpp
98	: be ;
99
100if $(COMPILE_FOR_R5) {
101} else {
102	LinkSharedOSLibs keymapTest : <boot!home!config!lib>libopenbeos.so ;
103}
104
105SEARCH on [ FGristFiles
106	key_map.cpp
107	Keymap.cpp
108	]
109	= [ FDirName $(OBOS_TOP) src apps bin keymap ] ;
110
111SEARCH on [ FGristFiles InterfaceDefs.cpp Input.cpp ]
112	= [ FDirName $(OBOS_TOP) src kits interface ] ;
113
114