summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_mvs.GNU
blob: 683d53e8d4096020f3968f63474a8beb7443d407 (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
# $Id$

# For MVS OpenEdition platform

debug = 0

CXX           = cxx
DCFLAGS	      += -g
DCCFLAGS      += -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
PIC           = -W c,exportall
static_libs   = 1