Enable C++14 for clang 5/6/7/8
[ACE_TAO.git] / ACE / include / makeinclude / platform_netbsd.GNU
blob8e0abe72a32e8719a9c1294bc209fcb0bdb22088
1 # -*- Makefile -*-
3 # platform_netbsd.GNU
5 debug ?= 1
6 optimize ?= 1
7 threads ?= 1
8 versioned_so ?= 1
10 CC              = gcc
11 CXX             = g++
13 AR              = ar
14 ARFLAGS         = ruv
15 CPPFLAGS        += -I/usr/local/include
16 DCFLAGS         += -g
17 DCCFLAGS        += $(DCFLAGS)
18 DLD             = $(CXX)
19 LD              = $(CXX)
20 LDFLAGS         += -L/usr/local/lib
21 OCFLAGS         += -O2
22 OCCFLAGS        = $(OCFLAGS)
23 PIC             = -fpic
24 PRELIB          = @true
25 RANLIB          = ranlib
26 SOFLAGS         += -shared
28 SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
30 ifeq ($(threads),1)
31   LDFLAGS       += -pthread
32   CPPFLAGS      += -D_REENTRANT -DACE_HAS_THREADS
33 endif # threads
35 # Test for template instantiation, add to versioned_so if versioned_so set,
36 # add -E to LDFLAGS if using GNU ld
38 include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU