summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_irix6.x_kcc.GNU
blob: f68058a9cf5c4c5c89b951a2c75fe799e72776b3 (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
37
38
39
40
41
# $Id$

# Irix 6.x with KCC 3.4d

include $(ACE_ROOT)/include/makeinclude/platform_irix6.x_common.GNU

# WARNING_FLAGS +=
# 111: statement is unreachable.    There's a whole bunch of these
#                                   in the ace code.
# 280: declaration of a member with the same name as its class
#                                   Get this from <netinet/in.h>.
# 608: this pragma must immediately precede a declaration or statement
#                                   Get this from <ucontext.h>
WARNING_FLAGS += --diag_suppress 111,280,608

debug = 1
optimize = 1

CC              = KCC
CXX             = $(CC)
CFLAGS          += -n32
KCCOPTS         = --thread_safe --one_per
CCFLAGS         += $(CFLAGS) -DNULL=0 $(WARNING_FLAGS) $(KCCOPTS)
ifeq ($(optimize),1)
DCFLAGS         += -g
else
DCFLAGS         += +K0 -g
endif
DLD             = $(CC)
LD              = $(CC)
# warning 84: "" is not used for resolving any symbol.
LDFLAGS         += -n32 -L$(ACE_ROOT)/lib -L. --backend -Wl,-woff,84
#LIBS            += -lpthread
OCFLAGS         += +K3 -O2
PIC             =
AR              = $(CC)
ARFLAGS         = $(KCCOPTS) -o
RANLIB          = @true
SOFLAGS         += $(CPPFLAGS) $(KCCOPTS) -L$(ACE_ROOT)/lib $(ACELIB)
SOBUILD         = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB          = @true