2005-10-29 20:27:43 +04:00
|
|
|
SubDir HAIKU_TOP src servers input ;
|
|
|
|
|
|
|
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
2002-07-10 23:33:56 +04:00
|
|
|
|
2004-09-01 02:06:54 +04:00
|
|
|
if $(COMPILE_FOR_R5) {
|
|
|
|
SubDirC++Flags -DCOMPILE_FOR_R5 ;
|
|
|
|
}
|
|
|
|
|
2004-08-31 20:51:53 +04:00
|
|
|
rule MkKeymapHeader
|
|
|
|
{
|
|
|
|
local binary = $(1) ;
|
|
|
|
local source = $(2) ;
|
|
|
|
|
|
|
|
SEARCH on $(source) = $(SEARCH_SOURCE) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
MakeLocateArch $(binary) ;
|
2004-08-31 20:51:53 +04:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
Depends $(binary) : $(source) <build>keymap ;
|
|
|
|
MkKeymapHeader1 $(binary) : <build>keymap $(source) ;
|
2004-08-31 20:51:53 +04:00
|
|
|
LocalClean clean : $(binary) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
actions MkKeymapHeader1
|
|
|
|
{
|
2005-10-29 20:27:43 +04:00
|
|
|
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
|
2004-08-31 20:51:53 +04:00
|
|
|
$(2[1]) -o "$(1)" -h "$(2[2-])" ;
|
|
|
|
}
|
|
|
|
|
|
|
|
MkKeymapHeader [ FGristFiles SystemKeymap.cpp ] : US-International.keymap ;
|
|
|
|
|
|
|
|
SEARCH on US-International.keymap
|
2005-03-18 22:05:19 +03:00
|
|
|
+= [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) data etc keymaps ] ;
|
2004-08-31 20:51:53 +04:00
|
|
|
|
2003-11-20 04:40:54 +03:00
|
|
|
AddResources input_server : input_server.rdef ;
|
2003-02-10 00:05:37 +03:00
|
|
|
|
2003-10-19 04:46:44 +04:00
|
|
|
UsePrivateHeaders app ;
|
2004-07-29 17:29:24 +04:00
|
|
|
UsePrivateHeaders input ;
|
2005-02-02 18:32:33 +03:00
|
|
|
UsePrivateHeaders interface ;
|
2004-08-19 15:43:20 +04:00
|
|
|
UsePrivateHeaders storage ;
|
2003-10-19 04:46:44 +04:00
|
|
|
|
2005-04-28 17:47:59 +04:00
|
|
|
|
2004-10-06 00:42:08 +04:00
|
|
|
SubDirC++Flags -DADD_ON_STABLE_SECONDS=1 ; # for AddOnMonitorHandler.cpp
|
2005-04-28 17:47:59 +04:00
|
|
|
if $(TARGET_PLATFORM) != haiku {
|
|
|
|
SubDirC++Flags -DCOMPILE_FOR_R5 ;
|
|
|
|
#APPSERVER_TEST_MODE = 1 ;
|
|
|
|
if $(APPSERVER_TEST_MODE) {
|
|
|
|
SubDirC++Flags -DAPPSERVER_TEST_MODE ;
|
|
|
|
} else {
|
|
|
|
SubDirC++Flags -DAPPSERVER_R5_COMM ;
|
|
|
|
}
|
|
|
|
} else {
|
2005-06-15 01:28:56 +04:00
|
|
|
APPSERVER_TEST_MODE = 0 ;
|
2005-04-28 17:47:59 +04:00
|
|
|
}
|
2004-10-06 00:42:08 +04:00
|
|
|
|
2002-07-10 23:33:56 +04:00
|
|
|
Server input_server :
|
|
|
|
InputServer.cpp
|
|
|
|
InputServerDevice.cpp
|
|
|
|
InputServerFilter.cpp
|
|
|
|
InputServerMethod.cpp
|
2004-08-19 15:43:20 +04:00
|
|
|
|
2004-08-19 20:00:09 +04:00
|
|
|
AddOnManager.cpp
|
2004-08-26 20:11:24 +04:00
|
|
|
DeviceManager.cpp
|
2004-08-19 20:00:09 +04:00
|
|
|
|
2004-08-29 19:20:34 +04:00
|
|
|
MouseSettings.cpp
|
|
|
|
KeyboardSettings.cpp
|
|
|
|
|
2004-08-31 20:51:53 +04:00
|
|
|
SystemKeymap.cpp
|
|
|
|
|
2004-10-22 17:05:35 +04:00
|
|
|
MethodReplicant.cpp
|
|
|
|
MethodMenuItem.cpp
|
2005-01-26 02:42:59 +03:00
|
|
|
BottomlineWindow.cpp
|
2004-10-22 17:05:35 +04:00
|
|
|
|
2004-08-19 15:43:20 +04:00
|
|
|
# storage
|
|
|
|
AddOnMonitor.cpp
|
|
|
|
AddOnMonitorHandler.cpp
|
|
|
|
NodeMonitorHandler.cpp
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
: $(TARGET_LIBSTDC++)
|
2002-07-10 23:33:56 +04:00
|
|
|
;
|
2004-08-19 15:43:20 +04:00
|
|
|
|
2005-04-28 17:47:59 +04:00
|
|
|
if $(TARGET_PLATFORM) = haiku {
|
|
|
|
# link for Haiku
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
LinkAgainst input_server :
|
2005-04-28 17:47:59 +04:00
|
|
|
libroot.so libbe.so ;
|
|
|
|
|
2004-08-20 16:55:31 +04:00
|
|
|
} else {
|
2005-04-28 17:47:59 +04:00
|
|
|
# link as test application under R5
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
LinkAgainst input_server :
|
2005-04-28 17:47:59 +04:00
|
|
|
be ;
|
|
|
|
if $(APPSERVER_TEST_MODE) {
|
2005-10-29 20:27:43 +04:00
|
|
|
LinkAgainst input_server :
|
2005-04-28 17:47:59 +04:00
|
|
|
<boot!home!config!lib>libopenbeos.so ;
|
|
|
|
}
|
2004-08-20 16:55:31 +04:00
|
|
|
}
|
|
|
|
|
2005-04-28 17:47:59 +04:00
|
|
|
|
2004-08-19 15:43:20 +04:00
|
|
|
SEARCH on [ FGristFiles AddOnMonitor.cpp
|
|
|
|
AddOnMonitorHandler.cpp
|
|
|
|
NodeMonitorHandler.cpp ] += [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) kits storage ] ;
|
2004-10-07 13:45:36 +04:00
|
|
|
|
|
|
|
Package haiku-inputkit-cvs :
|
|
|
|
input_server :
|
|
|
|
boot beos system servers ;
|
2004-10-07 17:59:12 +04:00
|
|
|
|
|
|
|
Packages haiku-inputkit-cvs :
|
|
|
|
README LICENSE install.sh ;
|