blob: 08a5ca29f13debd673e86d4e4caaa10d181f980c (
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
|
# $Id$
# UnixWare V2.2.1.2 with g++ version 2.7.2.2
debug ?= 0
exceptions ?= 1
threads ?= 1
CC = gcc
CXX = g++
ACE_GNUG_ON_UNIXWARE = 1
#ifeq ($(exceptions),1)
CCFLAGS += -fexceptions
#endif
DCFLAGS += -g
#DCFLAGS += -g
OCCFLAGS += -O2
DLD = $(CXX) -g
LD = $(CXX)
LIBS += -lsocket -lnsl -lgen -lthread
PIC = -fpic
AR = ar
ARFLAGS = ruv
RANLIB = /bin/true
#SOFLAGS = -assert pure-text
SOFLAGS += -shared
# SOBUILD - compile into .so directly
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $<
PRELIB = @true
# Test for template instantiation, add to SOFLAGS if SONAME set,
# add -E to LDFLAGS if using GNU ld
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
pipes ?= 1
CFLAGS += -W -Wall -Wpointer-arith #### -Winline
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)
|