summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_unixware_udk.GNU
blob: b00958ac84f91a5e78921574fe3fc0d495851db9 (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
# $Id$

# UnixWare V2.2.1.2 with g++ version 2.7.2.2

#ifndef debug
debug = 1
#endif

#ifndef exceptions
exceptions = 1
#endif

#ifndef threads
threads = 1
#endif


CC              = CC
CXX             = CC

CFLAGS         += -Kthread

#CFLAGS          += -W -Wall -Wpointer-arith
CCFLAGS         += $(CFLAGS) -Tno_implicit,no_auto,none -Wf,--display_error_number

#ifeq ($(exceptions),1)
#  CCFLAGS += -fexceptions
#endif

DCFLAGS         += -g
#DCFLAGS         += -g

OCCFLAGS         += -O2

DLD             = $(CXX) -g
LD              = $(CXX)
LIBS            += -lsocket -lnsl -lgen
PIC             = -KPIC
AR              = ar
ARFLAGS         = ruv
RANLIB          = /bin/true
#SOFLAGS        = -assert pure-text
SOFLAGS         += -G
# SOBUILD - compile into .so directly
SOBUILD         = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
# SOLINK        = $(SOLINK.cc) -o $@ $(LDFLAGS) $<
PRELIB          = @true