diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 14:51:23 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 14:51:23 +0000 |
commit | 99aa8c60282c7b8072eb35eb9ac815702f5bf586 (patch) | |
tree | bda96bf8c3a4c2875a083d7b16720533c8ffeaf4 /ACE/include/makeinclude/platform_linux_pgi.GNU | |
parent | c4078c377d74290ebe4e66da0b4975da91732376 (diff) | |
download | ATCD-99aa8c60282c7b8072eb35eb9ac815702f5bf586.tar.gz |
undoing accidental deletion
Diffstat (limited to 'ACE/include/makeinclude/platform_linux_pgi.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_linux_pgi.GNU | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_linux_pgi.GNU b/ACE/include/makeinclude/platform_linux_pgi.GNU new file mode 100644 index 00000000000..9233d146f1d --- /dev/null +++ b/ACE/include/makeinclude/platform_linux_pgi.GNU @@ -0,0 +1,48 @@ +# $Id$ + +# This file should allow ACE to be built on Linux, using the +# Portland Group PGI compilers +# +# This is just a copy of platform_linux.GNU, with a few things changed. + +include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU + +static_libs_only ?= 1 + +CC ?= pgcc +CXX ?= pgCC + +CFLAGS += --one_instantiation_per_object --prelink_objects -Wc,-tused +ifeq ($(threads),1) + CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) +endif # threads + +CCFLAGS += $(CFLAGS) $(IMPLICIT_TEMPLATES_FLAG) +DCFLAGS += -g +DLD = $(CXX) +LD = $(CXX) +LIBS += -ldl + +ifeq ($(threads),1) + LIBS += -lpthread + ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) + LIBS += -lrt + endif +endif + +OCFLAGS += -O3 + +SOFLAGS += $(CPPFLAGS) -shared $(PIC) --one_instantiation_per_object --prelink_objects +SOBUILD = $(COMPILE.cc) $(PIC) --one_instantiation_per_object --prelink_objects -o $(VSHDIR)$*.so $<; \ + $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o +PRELIB = @true + +# Added line below to support "Executable Shared Object" files (as +# needed by the service configurator). +# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> +ifeq ($(threads),1) + ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< + ifndef PRELIB + PRELIB = @true + endif # ! PRELIB +endif |