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

# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file
# should allow ACE to be built on Linux.

debug = 1
optimize = 1

CC              = gcc
CXX             = g++
CFLAGS          += -Wall -Wpointer-arith -fno-strict-prototypes -pipe
CCFLAGS         += $(CFLAGS) -fno-implicit-templates
DCFLAGS         += -g
DLD             = $(CXX)
LD              = $(CXX)
LIBS            += -ldl
OCFLAGS         += -O3
PIC             = -fPIC
AR              = ar
ARFLAGS         = ruv
RANLIB          = ranlib

SOFLAGS = $(CPPFLAGS) -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB  = @true

#### as appears to have a string limit of about 4096 characters.
#### Suppressing the -g for a few files helps.  It really only
#### needs to be suppressed on Alphas, so you can comment this line
#### out if you're on an Intel platform.
SUPPRESS_DASH_G = 1