diff options
author | fhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-15 01:22:54 +0000 |
---|---|---|
committer | fhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-15 01:22:54 +0000 |
commit | e1c9cf6f5bb6a72e5ab9d4ff3f4e9678c3f207c8 (patch) | |
tree | b7cddb63bc10e1d1e5677a8debc79f0f52416662 /include | |
parent | 9b042570bac3b5d481ee54b840b0bebf903172ca (diff) | |
download | ATCD-e1c9cf6f5bb6a72e5ab9d4ff3f4e9678c3f207c8.tar.gz |
ChangeLogTag: Mon Oct 14 19:20:35 2002 Frank Hunleth <frank@hunleth.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_openbsd.GNU | 48 | ||||
-rw-r--r-- | include/makeinclude/platform_openbsd_pthread.GNU | 8 |
2 files changed, 56 insertions, 0 deletions
diff --git a/include/makeinclude/platform_openbsd.GNU b/include/makeinclude/platform_openbsd.GNU new file mode 100644 index 00000000000..2922bdbaf9e --- /dev/null +++ b/include/makeinclude/platform_openbsd.GNU @@ -0,0 +1,48 @@ +# $Id$ + +# platform_openbsd.GNU + +# ***** Notice: This file is still under testing. ***** +# To be used on an OpenBSD platform without pthread support. + +versioned_so = 1 + +ifndef exceptions + exceptions = 1 +endif + +ifeq (,$(debug)) + debug = 1 +endif + +ifeq (,$(optimize)) + optimize = 1 +endif + +CC = gcc +CXX = g++ + +# Setting the internal name and version of shared libraries isn't supported +# by OpenBSD. In fact, the -h option gives an error and interestingly +# enough, the -soname option doesn't but just ignores its parameter. +SONAME = + +include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU + +CFLAGS += -W -Wall -Wpointer-arith -pipe +CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) +DCFLAGS += -g +LDFLAGS += -Wl,-rpath $(ACE_ROOT)/ace +DLD = $(CXX) +LD = $(CXX) +LIBS += -lstdc++ +OCFLAGS += -O2 +PIC = -fpic +AR = ar +ARFLAGS = ruv +RANLIB = ranlib + +#SOFLAGS += -Bshareable -x /usr/lib/c++rt0.o +SOFLAGS += $(CPPFLAGS) -shared +SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< +PRELIB = @echo diff --git a/include/makeinclude/platform_openbsd_pthread.GNU b/include/makeinclude/platform_openbsd_pthread.GNU new file mode 100644 index 00000000000..5a297431549 --- /dev/null +++ b/include/makeinclude/platform_openbsd_pthread.GNU @@ -0,0 +1,8 @@ +# $Id$ + +# platform_openbsd_pthread.GNU + +include $(ACE_ROOT)/include/makeinclude/platform_openbsd.GNU + +LDFLAGS += -pthread +CFLAGS += -D_THREAD_SAFE |