blob: 4ad5f368a0e292cde9e60d7c70c783bd65457a96 (
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
42
43
44
45
46
47
48
49
50
51
|
# $Id$
# Irix 6.[234] with SGI C++
debug = 1
optimize = 1
# Instead of setting the ABI here we rely on the the macro SGI_ABI.
CC = cc
CXX = CC
DLD = $(CXX)
LD = $(CXX)
# Basic flags
# In Irix 6.2 w/o the thread patches this macro should have no effect.
CPPFLAGS += -D_SGI_MP_SOURCE
OCCFLAGS += -O
# Enable exceptions even in the o32 bit ABI.
CCFLAGS += -exceptions
# Instantiate no templates automatically, do not run prelinker. There
# are other choices available, but those have not been used in a while.
CCFLAGS += -ptnone -no_prelink
# Instantiate everything; without this, apps/Gateway/Gateway/gatewayd might
# not build due to missing template instantiations. NOTE: it seems
# this setting no longer works for ACE.
#CCFLAGS += -ptall
# Instantiate used templates, plus prelinking instantiation
#CCFLAGS += -ptused -prelink
# Instantiate used templates, but do not run prelinker
#CCFLAGS += -ptused
LDFLAGS += -rpath "$(ACE_ROOT)/ace"
LDFLAGS += -Wl,-woff,15
LDFLAGS += -Wl,-woff,84
LDFLAGS += -Wl,-woff,85
LDFLAGS += -Wl,-woff,133
# You may need to remove this if you are using 6.2 without the Pthread
# patches.
LIBS += -lpthread
PIC = -KPIC
AR = ar
ARFLAGS = r
RANLIB = echo
SOFLAGS = -shared $(CCFLAGS) $(CPPFLAGS) -all
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
$(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o
|