1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/devel/ace+tao/files/platform_macros.GNU
Kirill Ponomarev 87f43fa80f Add ace+tao ,
The ADAPTIVE Communication Environment (ACE) is an
object-oriented (OO) toolkit that implements fundamental design
patterns for communication software.  ACE provides a rich set
of reusable C++ wrappers and frameworks that perform common
communication software tasks across a range of OS platforms.

TAO is a freely available, open-source implementation of a
CORBA 2.x-compliant ORB that supports real-time extensions.

WWW: http://www.cs.wustl.edu/~schmidt/ACE.html
WWW: http://www.cs.wustl.edu/~schmidt/TAO.html

PR:		60634
Submitted by:	Sergey Matveychuk <sem@ciam.ru>
2003-12-27 23:47:14 +00:00

60 lines
1.1 KiB
Gnuplot

# platform_freebsd.GNU,v 4.21 2003/08/09 04:43:51 dhinton Exp
# platform_freebsd.GNU
VERSION := $(shell uname -r | sed -e "s/`uname -r | sed -e 's/.//'`//")
ifeq ($(VERSION),2)
versioned_so = 1
endif
ifndef exceptions
exceptions = 1
endif
ifeq (,$(threads))
threads = 1
endif
ifeq (,$(debug))
debug = 0
endif
ifeq (,$(optimize))
optimize = 1
endif
ssl=1
interface_repo=1
corba_messaging=1
CC = gcc
CXX = g++
CFLAGS += %%CFLAGS%%
DCFLAGS += -g
ifneq ($(VERSION),3)
LDFLAGS += -Wl,-rpath $(ACE_ROOT)/ace
endif
DLD = $(CXX)
LD = $(CXX)
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_LIBS%%
CFLAGS += %%PTHREAD_CFLAGS%%
endif # threads
# 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
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)