server/dep/ACE_wrappers/include/makeinclude/platform_netbsd.GNU
cipherCOM 571f510ee4 [11162] Changed ACE lib to same version but with configure script
(based on cipherCOM's repo commit d3d8934)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-14 12:51:16 +03:00

43 lines
931 B
Gnuplot

# $Id: platform_netbsd.GNU 91285 2010-08-05 08:29:30Z johnnyw $
# platform_netbsd.GNU
versioned_so = 1
debug ?= 1
optimize ?= 1
threads ?= 1
pipes ?= 1
no_hidden_visibility ?= 1
CC = gcc
CXX = g++
CFLAGS += -W -Wall -Wpointer-arith
DCFLAGS += -g
LDFLAGS += -Wl,-rpath $(ACE_ROOT)/lib
DLD = $(CXX)
LD = $(CXX)
LIBS +=
OCFLAGS += -O2
PIC = -fpic
AR = ar
ARFLAGS = ruv
RANLIB = ranlib
SOFLAGS += $(CPPFLAGS) -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB = @echo
ifeq ($(threads),1)
LDFLAGS += -pthread
CFLAGS += -D_REENTRANT -DACE_HAS_THREADS
endif # threads
# Test for template instantiation, add to SOFLAGS if versioned_so set,
# add -E to LDFLAGS if using GNU ld
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)