summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_mvs.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-19 05:34:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-19 05:34:34 +0000
commit84b3fcbb4a5f3fa3abf91bf7f0c980283b486e2c (patch)
tree71197655ce02a20cec5fee88530143f0976f6b13 /include/makeinclude/platform_mvs.GNU
parentf7835991ad9c3322001514537eac002900e0df5d (diff)
downloadATCD-84b3fcbb4a5f3fa3abf91bf7f0c980283b486e2c.tar.gz
foo
Diffstat (limited to 'include/makeinclude/platform_mvs.GNU')
-rw-r--r--include/makeinclude/platform_mvs.GNU29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/makeinclude/platform_mvs.GNU b/include/makeinclude/platform_mvs.GNU
new file mode 100644
index 00000000000..4b9563ce504
--- /dev/null
+++ b/include/makeinclude/platform_mvs.GNU
@@ -0,0 +1,29 @@
+# For MVS OpenEdition platform
+
+CXX = cxx
+CPPFLAGS = -+
+DEFFLAGS = -D_ALL_SOURCE -DNDEBUG
+CC = $(CXX)
+LD = $(CXX)
+DLD = $(CXX)
+AR = ar
+ARFLAGS = ruv
+#LDFLAGS = -W l,p,map
+
+# MVCMD needed because cxx does not use the -o option to place objects
+MVCMD = @test ! -s $(@F) || mv $(@F) $(@D)/$(@F)
+
+# Used to build static executables
+MVSLIB_STATIC = -lACE
+
+# Used to build shared executables (much smaller in size)
+MVSLIB_DLL = $(WRAPPER_ROOT)/ace/libACE.x
+
+# set accordingly to build either static or shared executables
+MVSLIB = $(MVSLIB_DLL)
+
+SOFLAGS = -W l,dll
+SOBUILD = @echo $(COMPILE.cc) -W c,exportall -o $(VSHDIR)$*.o $<; \
+ $(COMPILE.cc) -W c,exportall $<; \
+ test ! -s $*.o || mv $*.o $(VSHDIR)/$*.o; \
+ test -s $@ || ln -s $*.o $@