blob: 05c5b3ad787c23cc6821f36233e0ff04c66883e3 (
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
|
# $Id$
# DG/UX 4.x using Green Hills Multi's C++ compiler.
debug = 1
#shared_libs_only = 0
#static_libs_only = 1
#static_libs = 1
CC = cc
CXX = ghcx
CCFLAGS += $(CFLAGS) -elf -template=noauto # -ansicxx
# There was a link-time failure if -g (debugging) was turned on, and Green
# Hills was not able to try to fix it, so debugging is via ACE_OS::printf :-(
DCFLAGS += # -g
DLD = $(CXX) -shared
LD = $(CXX)
LIBS += -lthread -lrte -lgen -lsocket -ldl -lnsl # -lc
PIC = -pic
AR = $(CXX) -archive -o
ARFLAGS =
RANLIB = echo
#SOFLAGS = -G $(CPPFLAGS)
#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
# $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o
#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o
|