Bläddra i källkod

HPCC-10940 Update daliservix binary for Solaris

Compiled daliservix.cpp on Solaris 10 sparc/x86
Update makefile and sourcedoc.xml
Xiaoming Wang 11 år sedan
förälder
incheckning
e768613d4d
4 ändrade filer med 14 tillägg och 7 borttagningar
  1. BIN
      dali/remote/daliservix
  2. BIN
      dali/remote/daliservix_s86
  3. 9 7
      dali/remote/makefile
  4. 5 0
      dali/remote/sourcedoc.xml

BIN
dali/remote/daliservix


BIN
dali/remote/daliservix_s86


+ 9 - 7
dali/remote/makefile

@@ -42,20 +42,22 @@ OBJECTS    = $(SOURCES:%.cpp=$(OBJDIR)/%.o)
 
 CCFLAGS    = -w $(DB) -mt -D_PTHREADS -Dsun
 
+
 all: daliservix
-    @echo Build Complete
+	@echo Build Complete
 
 
 daliservix: $(OBJECTS)
-    CC $(CCFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS); 
+	CC $(CCFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS);
 
 %.o: $(SOURCES)
-    @if test "$(*F).cpp" -nt "$@"; then   \
-       echo "     Compiling $(*F).cpp";   \
-       CC $(CCFLAGS) $(INCFLAGS) -c $(*F).cpp -o $@;   \
-    fi
+	@if test "$(*F).cpp" -nt "$@"; then   \
+	echo "     Compiling $(*F).cpp";   \
+	mkdir -p $(OBJDIR); \
+	CC $(CCFLAGS) $(INCFLAGS) -c $(*F).cpp -o $@;   \
+	fi
 
 clean:
-    @rm -rf $(OBJDIR) *.log *.trc 
+	@rm -rf $(OBJDIR) *.log *.trc
 
 

+ 5 - 0
dali/remote/sourcedoc.xml

@@ -23,4 +23,9 @@
     <para>
         The dali/remote directory contains the sources for the dali/remote library.
     </para>
+    <para>
+        The makefile is for SunOS compiler which is available for download from Oracle Solaris Studio (not in Solaris OS image).
+        Two compiled binaries: 1) daliservix: compiled on Solaris 10 Sparc with SunOS compiler. 2) daliservix_s86: compiled
+        on Solaris 10 x86 with SunOS compiler. The makefle can be run with either SunOS make or GNU gmake.
+    </para>
 </section>