initial load of upstream version 1.06.32
[xmlrpc-c] / src / cpp / irix.make
diff --git a/src/cpp/irix.make b/src/cpp/irix.make
new file mode 100644 (file)
index 0000000..22793f7
--- /dev/null
@@ -0,0 +1,22 @@
+# -*-makefile-*-    <-- an Emacs control
+
+# This is stuff for creating Irix shared libraries
+
+# This is to be included by 'Makefile'.  Most of the make variables here
+# come from the main make file.
+
+
+TARGET_LINKNAMES = $(TARGET_LIBRARY_NAMES:%=%.$(SHLIB_SUFFIX)
+
+$(TARGET_LINKNAMES): % : %.$(MAJ).$(MIN)
+       rm -f $@
+       $(SYMLINK) $< $@
+
+LDSHLIB = -lc \
+         -soname $(@:%.$(MAJ)=%) \
+         -set_version `perl -e 'print "sgi$(MAJ).".join(":sgi$(MAJ).",(0..$(MIN)))."\n"'` \
+
+
+libxmlrpc++.$(SHLIB_SUFFIX).$(MAJ): $(LIBXMLRPCPP_OBJS)
+       $(LD) $(LDSHLIB) -o $@ $^ $(LADD)
+