blob: c1bfbd40fadf2aa1b6a1c55dfc0efa264143c6ee (
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
32
33
|
# $Id$
# platform_freebsd.GNU
VERSION := $(shell uname -r | sed -e "s/`uname -r | sed -e 's/.//'`//")
ifneq ($(VERSION),3)
versioned_so = 1
endif
optimize = 1
debug = 1
CC = gcc
CXX = g++
CFLAGS += -W -Wall -Wpointer-arith -pipe
CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g
ifeq ($(VERSION),3)
LDFLAGS += -Wl,-rpath $(ACE_ROOT)/ace
endif
DLD = $(CXX)
LD = $(CXX)
LIBS += -lstdc++
OCFLAGS += -O2
PIC = -fpic
AR = ar
ARFLAGS = ruv
RANLIB = ranlib
SOFLAGS = $(CPPFLAGS) -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB = @echo
|