1SubDir HAIKU_TOP src tools keymap ; 2 3SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin keymap ] ; 4 5USES_BE_API on <build>keymap = true ; 6 7local reSources ; 8if $(HOST_PLATFORM) = cygwin || $(HOST_PLATFORM) = sunos { 9 reSources = regex.c ; 10} 11 12BuildPlatformMain <build>keymap : 13 main.cpp 14 Keymap.cpp 15 $(reSources) 16 : $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) 17; 18 19LinkAgainst <build>keymap : $(HOST_LIBBE) ; 20 21SEARCH on [ FGristFiles $(reSources) ] 22 = [ FDirName $(HAIKU_TOP) src system libroot posix glibc regex ] ; 23