10. (Mike Brasher) - Changed CIMOMHandle to carry repository pointer.
+11. (Mike Brasher) - Ported to TRU64.
+
+12. (Mike Brasher) - Fixed compiler error on Linux.
+
------------------------------------------------------------------------------
--
$(LINK_COMMAND) $(LINK_ARGUMENTS) -L$(LIB_DIR) $(LINK_OUT)$(FULL_LIB) $(OBJECTS) $(DYNAMIC_LIBRARIES)
else
$(LINK_COMMAND) $(LINK_ARGUMENTS) $(LINK_OUT) $(FULL_LIB) $(OBJECTS) $(LIBRARIES)
- $(TOUCH) $(FULL_LIB)
endif
else
ar crv $(PEGASUS_PLATFORM).lib $(OBJECTS) $(LIBRARIES)
$(LINK_COMMAND) $(LINK_ARGUMENTS) $(LINK_OUT)$(FULL_LIB) $(PEGASUS_PLATFORM).lib
rm -f $(PEGASUS_PLATFORM).lib
- $(TOUCH) $(FULL_LIB)
endif
+ $(TOUCH) $(FULL_LIB)
@ $(ECHO)
clean-lib: $(ERROR)
//%/////////////////////////////////////////////////////////////////////////////
#include <cctype>
+#include <cstdio>
#include "ClientConnection.h"
#include <Pegasus/Common/XmlParser.h>
#include <Pegasus/Common/XmlReader.h>
#ifndef _Config_h
#define _Config_h
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
# define for if (0) ; else for
namespace std { };
using namespace std;
#include <cassert>
#include "DependCmd.h"
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
# define OBJ_EXT ".obj"
#else
# define OBJ_EXT ".o"
#endif
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
using namespace std;
#endif
string pattern = pattern_;
while (pattern.size() > 0 && pattern[pattern.size()-1] == '/')
+ {
+#ifdef OS_TRU64
pattern.remove(pattern.size() - 1);
+#else
+ pattern.erase(pattern.end() - 1);
+#endif
+ }
// Split the pattern into directory name and base name:
{
// Open input file:
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
ifstream is(from_file.c_str(), ios::binary);
#else
ifstream is(from_file.c_str());
// Open output file:
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
ofstream os(to_file.c_str(), ios::binary);
#else
ofstream os(to_file.c_str());
const string& filename2,
size_t& offset)
{
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
ifstream is1(filename1.c_str(), ios::binary);
#else
ifstream is1(filename1.c_str());
if (!is1)
return false;
-#ifdef OS_TYPE_WINDOWS
+#ifdef OS_WINDOWS
ifstream is2(filename2.c_str(), ios::binary);
#else
ifstream is2(filename2.c_str());
LIBFLAGS = /usr/lib/crtlmain.o -obey /usr/lib/libc.obey
SRLFLAGS = -l zrwslsrl -l zcplsrl -verbose
LXX = nld
- DEFINES = -DOS_TYPE_OSS
+ DEFINES = -DOS_OSS
PROGRAM = mu
EXE_OUT = -o
RM = rm -f
CXX = cl
LXX = $(CXX)
CXXFLAGS = -nologo -W3 -GX
- DEFINES = -DOS_TYPE_WINDOWS
+ DEFINES = -DOS_WINDOWS
PROGRAM = mu.exe
EXE_OUT = -Fe
RM = erase
CXX = g++
LXX = $(CXX)
CXXFLAGS = -O2 -Wall -Wno-unused -pedantic
- DEFINES = -DOS_TYPE_UNIX
+ DEFINES = -DOS_UNIX
PROGRAM = mu
EXE_OUT = -o
RM = rm -f
CXX = g++
LXX = $(CXX)
CXXFLAGS = -O2 -Wall -Wno-unused -pedantic -I../../stdcxx/stream
- DEFINES = -DOS_TYPE_UNIX
+ DEFINES = -DOS_TRU64
PROGRAM = mu
EXE_OUT = -o
RM = rm -f
const char HELP[] =
"\n"
-"MU (MakeUtility) Version 1.3\n"
+"MU (MakeUtility) Version 1.4\n"
"\n"
"Usage: mu command arguments ...\n"
"\n"