File: platform_qnx_gcc.GNU

package info (click to toggle)
ace 6.0.3%2Bdfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,368 kB
  • sloc: cpp: 341,826; perl: 30,850; ansic: 20,952; makefile: 10,144; sh: 4,744; python: 828; exp: 787; yacc: 511; xml: 330; lex: 158; lisp: 116; csh: 48; tcl: 5
file content (41 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (2)
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
# $Id: platform_qnx_gcc.GNU 93845 2011-04-10 17:21:15Z johnnyw $
#
# QNX/RTP hosted, using GCC

inline ?= 1
debug ?= 1
optimize ?= 0
threads ?= 1
pipes ?= 0

CCFLAGS += -fexceptions
LDFLAGS += -fexceptions

ifeq ($(inline),1)
CCFLAGS += -finline-functions
else
CCFLAGS += -fno-inline
endif # inline

DCFLAGS  += -ggdb
DCCFLAGS += -ggdb

ifeq ($(optimize),1)
OCFLAGS += -O3
endif #optimize

DLD     = $(CXX)
LD      = $(CXX)

LIBS    += -lsocket -lstdc++ -lm

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

# Test for template  instantiation, add to SOFLAGS if SONAME set,
# add -E to LDFLAGS if using GNU ld
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU