From 6c0e9c80976c10bc229249ca56cc31c1cfb65299 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Thu, 3 Aug 2006 17:53:43 +0000 Subject: [PATCH] Moved Haiku-dependent command line apps to just Haiku build targets Added an include to dstcheck to build for R5. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18374 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/Jamfile | 32 +++++++++++++++++++++++--------- src/bin/dstcheck.cpp | 1 + 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 1f8558207c..0e80c89667 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -32,28 +32,29 @@ StdBinCommands listsem.c logger.cpp lsindex.cpp - mount.c prio.c ps.c release.c renice.c rescan.c - rmattr.cpp - rmindex.cpp - safemode.c sysinfo.c unchop.c - unmount.c uptime.cpp waitfor.c # whoami.c ; -# Haiku-only commands which don't need another library -if $(TARGET_PLATFORM) != haiku { +# Commands which don't need another library that depend on +# Haiku-specific code +if $(TARGET_PLATFORM) = haiku { StdBinCommands boot_process_done.cpp fdinfo.cpp + mount.c + rmattr.cpp + rmindex.cpp + safemode.c + unmount.c ; } @@ -90,19 +91,32 @@ StdBinCommands roster.cpp settype.cpp setversion.cpp - shutdown.cpp version.cpp # yes.cpp : be ; +# Haiku-specific apps which need libbe.so +if $(TARGET_PLATFORM) = haiku { +StdBinCommands + shutdown.cpp + : be ; +} + # standard commands that need libbe.so, libstdc++.so StdBinCommands copyattr.cpp - mountvolume.cpp xres.cpp : be $(TARGET_LIBSTDC++) ; +# Haiku-specific apps which need libbe., libstdc++.so +if $(TARGET_PLATFORM) = haiku { +StdBinCommands + mountvolume.cpp + : be $(TARGET_LIBSTDC++) + ; +} + # standard commands that need libbe.so, libtranslation.so StdBinCommands translate.cpp diff --git a/src/bin/dstcheck.cpp b/src/bin/dstcheck.cpp index 4063daffbc..5cf30db8ac 100644 --- a/src/bin/dstcheck.cpp +++ b/src/bin/dstcheck.cpp @@ -12,6 +12,7 @@ #include #include #include +#include const uint32 TIMEDALERT_UPDATE = 'taup';