summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_mvs.GNU
blob: eea540f42e567e18b878387d2eaa472bede91464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id$

# For MVS OpenEdition platform

debug = 1
 
CXX           = cxx
CCFLAGS       += $(CFLAGS)
DCFLAGS	      += -g
CPPFLAGS      = -+
DEFFLAGS      = -D_ALL_SOURCE -DNDEBUG
CC            = $(CXX)
LD            = $(CXX)
DLD           = $(CXX)
AR            = ar
ARFLAGS       = ruv
RANLIB        = echo
#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
ACELIB_STATIC = -lACE
 
# Used to build shared executables (much smaller in size)
ACELIB_DLL    = $(ACE_ROOT)/ace/libACE.x
 
# set accordingly to build either static or shared executables
ACELIB        = $(ACELIB_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 $@