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 ;
|
|
|
|
}
|
|
|
|
|
2006-06-03 19:33:26 +04:00
|
|
|
rule MkKeymapHeader {
|
2004-08-31 20:51:53 +04:00
|
|
|
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) ;
|
|
|
|
}
|
|
|
|
|
2006-06-03 19:33:26 +04:00
|
|
|
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-])" ;
|
|
|
|
}
|
|
|
|
|
2006-06-03 19:33:26 +04:00
|
|
|
MkKeymapHeader [ FGristFiles SystemKeymap.h ] : US-International.keymap ;
|
2004-08-31 20:51:53 +04:00
|
|
|
|
|
|
|
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
|
|
|
|
2005-11-16 20:25:58 +03:00
|
|
|
UsePrivateHeaders app input interface shared 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-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
|
|
|
|
|
* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true.
Library names are now mapped for all targets but "host" (not only for
"haiku") -- added one more level of indirection to achieve that.
(TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*).
* Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h
(auto-included when compiling something that uses the Be API for platform
"host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h,
which can be included when compiling something that can be built for both,
Haiku and BeOS compatible platforms.
* Introduced libhaikucompat.a, a library that adds a few functions existing
under Haiku, but not under BeOS.
* New rule AddSubDirSupportedPlatforms.
* Renamed libopenbeos.so to libbe_haiku.so.
* Introduced new target platform "libbe_test", which is basically equivalent
to a BeOS compatible host platform target, with the exception, that instead
of the host platform's libbe.so a special build of Haiku's libbe.so
(libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore
Haiku's public app, interface, storage, and support kit headers are used
when compiling. This replaces the less nice way in which the test app server
and applications for this test environment were built.
When building for platform "libbe_test", the library name "be" is
autotranslated to "libbe_haiku.so". Thus most applications don't need
special fiddling when them building them for the app server test environment;
usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice.
* Reduced the dependencies of <syscalls.h> and fixed problems caused by this
(e.g. source files not including the needed headers directly).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 19:07:25 +03:00
|
|
|
: be $(TARGET_LIBSTDC++)
|
2002-07-10 23:33:56 +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 :
|
2006-06-03 19:33:26 +04:00
|
|
|
input_server :
|
|
|
|
boot beos system servers ;
|
2004-10-07 17:59:12 +04:00
|
|
|
|
|
|
|
Packages haiku-inputkit-cvs :
|
2006-06-03 19:33:26 +04:00
|
|
|
README LICENSE install.sh ;
|