blob: 84b611af5bb1b293f5e0597d5531b6671f7b974d (
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
|
# $Id$
# This platform macros file is intended to work with
# Digital UNIX 4.0 (OSF/1 4.0).
debug = 1
CC = cxx
CXX = $(CC)
CFLAGS += -pthread
#### These flags can only be used with cxx Version 6.0 and later.
# WARNING_FLAGS +=
# 9: nested comment not allowed, but there's one in /usr/include/pdsc.h
# 111: statement is unreachable
# 174: expr_has_no_effect
# 193: zero used for undefined preprocessing identifier
# 236: controlling expression is constant
# 340: value copied to temporary, reference to temporary used
# 401: base_class_with_nonvirtual_dtor
# 550: set_but_not_used
# 835: unreferenced_function_param
# WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \
# -msg_disable 9,111,174,193,236,340,401,550,835
CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS)
DCFLAGS += -g -O0
DLD = $(CXX)
LD = $(CXX)
LIBS += $(CFLAGS) -ptr ptrepository -ltli -lrt
OCFLAGS += -O4
PIC =
ARFLAGS = cruvZ
# When libraries are archived, a hash index is automatically created
# so there is no need for ranlib
RANLIB = /usr/bin/true
SOFLAGS = -shared -use_ld_input $(ACELIB)
SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \
ln $(VSHDIR)$*.o $@
|