blob: af072940b9a6dd5c1a1b7d0b32983136064ceeff (
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
52
|
# $Id$
# UnixWare V2.2.1.2 with g++ version 2.7.2.2 *not* using Orbix
#ifndef debug
debug = 0
#endif
#ifndef exceptions
exceptions = 1
#endif
#ifndef threads
threads = 1
#endif
CC = gcc
CXX = g++
#CFLAGS += #-frepo -fexternal-templates
#CFLAGS += -D__STDC__=0
#CCFLAGS += $(CFLAGS) -fno-implicit-templates
#CCFLAGS += $(CFLAGS) #-fexceptions #-fno-implicit-templates or -frepo
CFLAGS += -W -Wall -Wpointer-arith -pipe #### -Winline
CCFLAGS += $(CFLAGS) -fno-implicit-templates
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
|