Remove more HOST_PLATFORM_SUNOS cruft.
This commit is contained in:
@@ -503,12 +503,8 @@ if $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
|
|||||||
HOST_NETWORK_LIBS = network ;
|
HOST_NETWORK_LIBS = network ;
|
||||||
HOST_NETAPI_LIB = bnetapi ;
|
HOST_NETAPI_LIB = bnetapi ;
|
||||||
HOST_SELECT_UNAME_ETC_LIB = ; # libroot
|
HOST_SELECT_UNAME_ETC_LIB = ; # libroot
|
||||||
} else if $(HOST_PLATFORM) = "sunos" {
|
|
||||||
HOST_NETWORK_LIBS = xnet ;
|
|
||||||
HOST_NETAPI_LIB = ;
|
|
||||||
HOST_SELECT_UNAME_ETC_LIB = ;
|
|
||||||
} else {
|
} else {
|
||||||
# Linux,...
|
# Linux, ...
|
||||||
HOST_NETWORK_LIBS = ;
|
HOST_NETWORK_LIBS = ;
|
||||||
HOST_NETAPI_LIB = ;
|
HOST_NETAPI_LIB = ;
|
||||||
HOST_SELECT_UNAME_ETC_LIB = ;
|
HOST_SELECT_UNAME_ETC_LIB = ;
|
||||||
|
|||||||
@@ -29,14 +29,8 @@ static struct option const kLongOptions[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#ifndef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
#endif
|
|
||||||
#ifdef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
static const char *kProgramName = "addattr";
|
|
||||||
#else
|
|
||||||
static const char *kProgramName = __progname;
|
static const char *kProgramName = __progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// supported types (if you add any, make sure that writeAttr() handles
|
// supported types (if you add any, make sure that writeAttr() handles
|
||||||
|
|||||||
@@ -19,12 +19,8 @@
|
|||||||
#include "Keymap.h"
|
#include "Keymap.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
static const char *sProgramName = "keymap";
|
|
||||||
#else
|
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
static const char *sProgramName = __progname;
|
static const char *sProgramName = __progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@@ -24,12 +24,8 @@
|
|||||||
using namespace BPrivate::Storage::Mime;
|
using namespace BPrivate::Storage::Mime;
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
static const char* sProgramName = "mimeset";
|
|
||||||
#else
|
|
||||||
extern const char* __progname;
|
extern const char* __progname;
|
||||||
static const char* sProgramName = __progname;
|
static const char* sProgramName = __progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
// options
|
// options
|
||||||
bool gFiles = true;
|
bool gFiles = true;
|
||||||
|
|||||||
@@ -29,16 +29,10 @@
|
|||||||
#include "rdef.h"
|
#include "rdef.h"
|
||||||
|
|
||||||
|
|
||||||
#ifndef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
static const char *kTitle = "Haiku Resource Compiler 1.1";
|
static const char *kTitle = "Haiku Resource Compiler 1.1";
|
||||||
#ifdef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
static const char *kProgramName = "rc";
|
|
||||||
#else
|
|
||||||
static const char *kProgramName = __progname;
|
static const char *kProgramName = __progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static bool sQuiet = false;
|
static bool sQuiet = false;
|
||||||
|
|||||||
@@ -15,13 +15,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAIKU_HOST_PLATFORM_SUNOS
|
|
||||||
const char *kProgramName = "setversion";
|
|
||||||
#else
|
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
|
|
||||||
const char *kProgramName = __progname;
|
const char *kProgramName = __progname;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
enum arg_needed {
|
enum arg_needed {
|
||||||
|
|||||||
Reference in New Issue
Block a user