summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sunos5_sunc++.GNU
blob: 870edce6f8fd863ad8a7f86cbd6abd3778fe0801 (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
# SunOS 5.x (Solaris 2.x) with SunC++ 4.0.1 or earlier
# *not* using Orbix
#
# Note:  with the +w option, some ACE files might generate warnings of
# one of these types:
# 1) "template manager : Warning: No valid template database available.
#     Creating default repository "Templates.DB"":
#    self explanatory, and apparently harmless.
# 2) "Warning: Could not find source for " one of the following:
#    default constructor, copy constructor, destructor, or assignment
#    operator.  It appears that with +w, Sun C++ 4.x issues this warning
#    whenever it has to generate one of these functions (because it wasn't
#    defined by the user).  This isn't really a problem.
# 3) "Warning: <foo> hides the function " or "hides the same name in an
#    outer scope".  A useful warning, perhaps, but not really a problem.
# There should be no other warnings from Sun C++ when building ACE.
#
CC              = cc
CXX             = CC
CFLAGS          += +w -mt
CCFLAGS         += $(CFLAGS) -noex -pta
DLD		= $(CXX) 
LD		= $(CXX)
LDFLAGS		+= -R $(WRAPPER_ROOT)/ace 
LIBS		+= -lsocket -ldl -lnsl -lgen # -lposix4
PIC		= -PIC
AR		= CC
ARFLAGS		= -xar -o
RANLIB		= echo
SOFLAGS		= -G $(CPPFLAGS)
SOBUILD		= $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
		  $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o