diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 03:00:08 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 03:00:08 +0000 |
commit | d7fba4ec70714ccdf7fb29ce85584a71898b7626 (patch) | |
tree | 94d56571cfade12aedab53a01e77d3498f6de7f4 /include | |
parent | 89479b1202f3656b2eab09efe64b1e9e8fd4ced9 (diff) | |
download | ATCD-TAO-0_1_23.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-0_1_23'.TAO-0_1_23
Diffstat (limited to 'include')
61 files changed, 0 insertions, 2705 deletions
diff --git a/include/makeinclude/macros.GNU b/include/makeinclude/macros.GNU deleted file mode 100644 index 17877c326bf..00000000000 --- a/include/makeinclude/macros.GNU +++ /dev/null @@ -1,22 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Local and nested target definitions -#---------------------------------------------------------------------------- - -TARGETS_LOCAL = \ - all.local \ - debug.local \ - profile.local \ - optimize.local \ - install.local \ - deinstall.local \ - clean.local \ - realclean.local \ - clobber.local \ - depend.local \ - rcs_info.local - -TARGETS_NESTED = \ - $(TARGETS_LOCAL:.local=.nested) - diff --git a/include/makeinclude/platform_aix.GNU b/include/makeinclude/platform_aix.GNU deleted file mode 100644 index e2a7274f791..00000000000 --- a/include/makeinclude/platform_aix.GNU +++ /dev/null @@ -1,42 +0,0 @@ -# $Id$ - -# AIX 4.1.3 -# *not* using Orbix -# This file assumes that the user has installed the AIX patch -# containing the dl*() APIs. To use these APIs, IBM has created a -# separate product (free to AIX licensees) called shared library -# hookable symbols (or slhs/6000). If they don't have this patch, the -# sv* commands for compiling and linking will not be present on the -# system. - -debug = 1 -# xlC builds the shared lib from the static lib, so need to build both. -shared_libs_only = 0 -static_libs = 1 - -CC = xlC -CXX = xlC_r -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = makeC++SharedLib_r -LD = $(CXX) -CPPFLAGS += -qxcall -qtempinc -SHLIBA = $(SHLIB:lib%.so=lib%shr.a) -ifdef SHLIB -ACELIB = -lACEshr -endif -LLIBS = -lsvld -ltli_r $(ACELIB) -LIBS += $(filter-out $(SHLIBA:lib%.a=-l%), $(LLIBS)) -ARFLAGS = ruv -AR = ar -LDFLAGS += -bI:/lib/pse.exp -# Should be set to optimize for your particular computer. This -# is set to be optimized for RS/6000 43P. -# OCCFLAGS is not used by default. To used it, set optimize=1 -# either in this file or on the command line. -OCCFLAGS += -qarch=ppc -qtune=604 -RANLIB = ranlib -SOFLAGS = -p 0 -STATLIB = $(VLIB) -TEMPINCDIR = tempinc -SOBUILD = diff --git a/include/makeinclude/platform_aix4.2.GNU b/include/makeinclude/platform_aix4.2.GNU deleted file mode 100644 index 504ed6b6212..00000000000 --- a/include/makeinclude/platform_aix4.2.GNU +++ /dev/null @@ -1,42 +0,0 @@ -# $Id$ - -# AIX 4.2.0 -# *not* using Orbix -# The AIX fileset bos.rte.bind_cmds must be at version 4.2.0.2 in order to -# build libACEshr.a, and at 4.2.0.4 for dl*() routines to work properly. Best -# apply the update available at: -# ftp://service.boulder.ibm.com/aix/fixes/v4/os/bos.rte.bind_cmds.4.2.0.4.bff - -debug = 1 -# xlC builds the shared lib from the static lib, so need to build both. -shared_libs_only = 0 -static_libs = 1 - -CC = xlC -CXX = xlC_r -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = makeC++SharedLib_r -LD = $(CXX) -CPPFLAGS += -qxcall -qtempinc -qcheck=nobounds:div:null -M -qlanglvl=ansi -qextchk -qflag=w:w -qinfo -SHLIBA = $(SHLIB:lib%.so=lib%shr.a) -ifdef SHLIB -ACELIB = -lACEshr -endif -LLIBS = -ltli_r -ldl $(ACELIB) -LIBS += $(filter-out $(SHLIBA:lib%.a=-l%), $(LLIBS)) -ARFLAGS = ruv -AR = ar -LDFLAGS += -bI:/lib/pse.exp -# Default OCCFLAGS builds common code for all RS/6000 architectures but -# this can be set to optimize for your particular computer. The commented -# out example optimizes for RS/6000 43P. -# OCCFLAGS is not used by default. To used it, set optimize=1 -# either in this file or on the command line. -#OCCFLAGS += -qarch=ppc -qtune=604 -OCCFLAGS += -qarch=com -RANLIB = ranlib -SOFLAGS = -p 0 -STATLIB = $(VLIB) -TEMPINCDIR = tempinc -SOBUILD = diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU deleted file mode 100644 index 587da8bb457..00000000000 --- a/include/makeinclude/platform_chorus.GNU +++ /dev/null @@ -1,52 +0,0 @@ -# $Id$ - -# Chorus 3.1b with GNU g++ 2.7.2 - -CHORUS = 1 -CROSS-COMPILE = 1 - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - -# -# The following file includes definitions such as $(CC), $(XDIR), etc. -# -include $(MERGEDIR)/dtool/htgt-cf.rf -# -# Tool PATH -# -TOOLDIR = $(XDIR)/bin/ -INC_DIR = $(CLASSIXDIR)/include -BIN_DIR = -LIB_DIR = $(CLASSIXDIR)/lib -#CC = gcc -#CXX = g++ -CXX = $(CC) -CFLAGS += -w -CCFLAGS += $(CFLAGS) -fno-implicit-templates \ - -fno-strict-prototypes \ - -nostdinc \ - -D_POSIX_THREADS \ - -D_POSIX_THREAD_SAFE_FUNCTIONS -DCFLAGS += -gstabs+ -INCLDIRS += -I$(INC_DIR)/posix \ - -I$(INC_DIR)/stdc \ - -I$(INC_DIR)/chorus/ \ - -I$(INC_DIR)/chorus/iom \ - -I$(INC_DIR)/CC -DLD = -LD = $(CXX) -LDFLAGS += -r -Ur -nostdlib \ - -L$(LIB_DIR)/CC \ - -L$(LIB_DIR)/classix - -OCFLAGS += -O2 -PIC = -fPIC - -AR = $(TOOLDIR)ar -ARFLAGS = srv - -RANLIB = $(TOOLDIR)ranlib -PRELIB = @true diff --git a/include/makeinclude/platform_chorus_ghs.GNU b/include/makeinclude/platform_chorus_ghs.GNU deleted file mode 100644 index 9ab6bed5ca5..00000000000 --- a/include/makeinclude/platform_chorus_ghs.GNU +++ /dev/null @@ -1,73 +0,0 @@ -# $Id$ -# -# Chorus with Green Hills - -# Locations of Green Hills installation, MVME installation, etc. The -# ifndef protection allows setting via environment variables. -ifndef GHS_DIR - GHS_DIR=/project/doc/mvme/green68k/GreenHills/releases/chorus-m68k -endif # GHS_DIR - -ifndef COOL_DIR - COOL_DIR=/project/doc/mvme/miniCOOL/minicool.r4.3/classix-r3-flm-mvme177-gh -endif # COOL_DIR - -ifndef MVME_DIR - MVME_DIR=/project/doc/mvme/mvme177/appl -endif # MVME_DIR - -ifndef MVME_INCL - MVME_INCL = $(MVME_DIR)/include -endif # MVME_INCL - -ifndef MVME_LIB - MVME_LIB = $(MVME_DIR)/lib -endif # MVME_LIB - -CHORUS = 1 -CROSS-COMPILE = 1 - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - -PATH +=:$(GHS_DIR) - -CC = cxch68 -CXX = $(CC) -CFLAGS = -groot=$(MVME_DIR) -alttools=$(GHS_DIR) -68040 -fprecise \ - -I$(MVME_INCL)/posix \ - -I$(MVME_INCL)/stdc \ - -I$(MVME_INCL)/chorus \ - -I$(MVME_INCL)/CC -CCFLAGS += $(CFLAGS) --mkctors --multibyte_chars --no_rtti --wchar_t_keyword \ - -tnone -DCFLAGS += -g -G -DLD = $(CXX) -LD = $(CXX) -LDFLAGS = --no_auto_instantiation \ - -u __main -u __premain -u _abort -r \ - $(MVME_DIR)/lib/CC/ioassign.o $(MVME_DIR)/lib/CC/iostream.o \ - $(COOL_DIR)/lib/libOrb.a \ - $(MVME_DIR)/lib/CC/libC.a \ - $(GHS_DIR)/ch68/libedg.a \ - $(MVME_DIR)/lib/classix/libcx.s.a -OCFLAGS += -OL -OM -AR = $(GHS_DIR)/gnuch68/bin/ar -ARFLAGS = rv -RANLIB = @true - -ifeq ($(debug),) - CRTH = $(MVME_DIR)/lib/crt/crth.s.o -else - CRTH = $(MVME_DIR)/lib/crt/crth_d.s.o -endif # debug - -POSTLINK = ; $(CC) -groot=$(MVME_DIR) -alttools=$(GHS_DIR) -68040 \ - -nostartfiles -nostdlib -e __start -o $@.final \ - $(CRTH) $(MVME_DIR)/lib/crt/crt0.o \ - $(MVME_DIR)/lib/crt/crti.o $@ \ - $(MVME_DIR)/lib/crt/crtn.o \ - -locatedprogram -r; \ - mv -f $@.final $@; chmod +x $@; /bin/rm -f /tmp/gh_*.[os] diff --git a/include/makeinclude/platform_dgux4_epc.GNU b/include/makeinclude/platform_dgux4_epc.GNU deleted file mode 100644 index 7af2281d13a..00000000000 --- a/include/makeinclude/platform_dgux4_epc.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with SunC++ 4.x -# *not* using Orbix - -debug = 1 - -CC = gcc -CXX = ec++ -## CCFLAGS += -relax -tproff -CCFLAGS += $(CFLAGS) -relax -v -eh -DCFLAGS += -g -DLD = $(CXX) -LIBS += -lgen -lsocket -ldl -lnsl -lc -PIC = -KPIC -AR = ar -ARFLAGS = -ruv -RANLIB = echo -SOFLAGS = -G $(CPPFLAGS) -#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ -# $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_dgux4_ghs.GNU b/include/makeinclude/platform_dgux4_ghs.GNU deleted file mode 100644 index 05c5b3ad787..00000000000 --- a/include/makeinclude/platform_dgux4_ghs.GNU +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ - -# DG/UX 4.x using Green Hills Multi's C++ compiler. - -debug = 1 -#shared_libs_only = 0 -#static_libs_only = 1 -#static_libs = 1 - -CC = cc -CXX = ghcx -CCFLAGS += $(CFLAGS) -elf -template=noauto # -ansicxx -# There was a link-time failure if -g (debugging) was turned on, and Green -# Hills was not able to try to fix it, so debugging is via ACE_OS::printf :-( -DCFLAGS += # -g -DLD = $(CXX) -shared -LD = $(CXX) -LIBS += -lthread -lrte -lgen -lsocket -ldl -lnsl # -lc -PIC = -pic -AR = $(CXX) -archive -o -ARFLAGS = -RANLIB = echo -#SOFLAGS = -G $(CPPFLAGS) -#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ -# $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o -#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ -# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_freebsd.GNU b/include/makeinclude/platform_freebsd.GNU deleted file mode 100644 index 5b1e56f6ad8..00000000000 --- a/include/makeinclude/platform_freebsd.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ - -# platform_freebsd.GNU - -# ***** Notice: This file is still under testing. ***** -# To be used on FreeBSD platform without pthread support. - -debug = 1 -optimize = 1 -versioned_so = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -fno-strict-prototypes -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = ld -LD = $(CXX) -LIBS += -lstdc++ -lcompat -OCFLAGS += -O2 -PIC = -fpic -DPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = -Bshareable -x /usr/lib/c++rt0.o -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo diff --git a/include/makeinclude/platform_freebsd_pthread.GNU b/include/makeinclude/platform_freebsd_pthread.GNU deleted file mode 100644 index f4d942a2287..00000000000 --- a/include/makeinclude/platform_freebsd_pthread.GNU +++ /dev/null @@ -1,29 +0,0 @@ -# $Id$ - -# platform_freebsd_pthread.GNU - -optimize = 1 - -# For pthreads support on FreeBSD, you need - -debug = 1 -versioned_so = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -fno-strict-prototypes -D_THREAD_SAFE -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = ld -LD = $(CXX) -LIBS += -lc_r -lstdc++ -lcompat -OCFLAGS += -O2 -PIC = -fpic -DPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -# SOFLAGS = $(CPPFLAGS) -shared -SOFLAGS = -Bshareable -x /usr/lib/c++rt0.o -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo diff --git a/include/makeinclude/platform_hpux.GNU b/include/makeinclude/platform_hpux.GNU deleted file mode 100644 index ac463221732..00000000000 --- a/include/makeinclude/platform_hpux.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ - -debug = 1 - -# First, extract the OS version number. -HPVERS_WORDS := $(subst ., ,$(shell uname -r)) -HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS))) -# - -CC = /bin/cc -CXX = /usr/bin/CC -pta -ti,/bin/true -tr,/bin/true -CFLAGS = -Aa -z +a1 -CCFLAGS = $(CFLAGS) -D_REENTRANT -DHPUX_VERS=$(HPUX_VERS) -DCFLAGS += -g -DLD = /usr/bin/CC -LD = /usr/bin/CC -PIC = +Z -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -L$(ACE_ROOT)/ace -Wl,+s -LIBS += -lxti -SOFLAGS = -b -SOEXT = sl -SOBUILD = @echo ""; \ - echo "$(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<"; \ - $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - echo "$(SOLINK.cc) -o $@ $(VSHDIR)$*.o"; \ - $(SOLINK.cc) -o $@ $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU deleted file mode 100644 index 7c590823e70..00000000000 --- a/include/makeinclude/platform_hpux_aCC.GNU +++ /dev/null @@ -1,44 +0,0 @@ -# $Id$ -# -# This is for the HP-UX 10.x and 11.x using the aC++ compiler. -# -# For 10.x, most of the difference for threaded vs. non-threaded is -# contained in ace/config-hpux-10.x.h. However, there is a line to verify -# in this file - if you are using DCE threads, "-lcma" needs to be on the -# 10.x version of the LIBS line, below. If you are not using DCE threads, -# then use the LIBS without -lcma. -# -# HP-UX 11 supports both 32-bit and 64-bit builds, regardless of which -# architecture the build is done on. This file is set up to build native -# to the machine it's running on. To cross-build for another platform, add -# the appropriate +DA switch to CCFLAGS. - -debug = 1 - -# First, extract the OS version number. -HPVERS_WORDS := $(subst ., ,$(shell uname -r)) -HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS))) -# -CC = /bin/cc -CXX = /opt/aCC/bin/aCC -CCFLAGS += $(CFLAGS) -D_THREAD_SAFE -D_REENTRANT -DHPUX_VERS=$(HPUX_VERS) -DCFLAGS += -g -DLD = $(CXX) $(CCFLAGS) -LD = $(CXX) $(CCFLAGS) -PIC = +Z - -AR = $(COMPILE.cc) +inst_close $^; /bin/ar -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -Wl,+s -SOFLAGS = -b -SOEXT = sl -# -# Grab the appropriate libraries based on the version of HP-UX we're building -# on. If on HP-UX 10.x and not using DCE threads, remove -lcma. -# -ifeq ($(word 2,$(HPVERS_WORDS)), 11) -LIBS = -lxti -lpthread -lrt -ldld -else -LIBS = -lxti -ldld -lcma -endif diff --git a/include/makeinclude/platform_hpux_gcc.GNU b/include/makeinclude/platform_hpux_gcc.GNU deleted file mode 100644 index ac1ac4f715c..00000000000 --- a/include/makeinclude/platform_hpux_gcc.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -# - -debug = 1 -optimize = 1 - -# First, extract the OS version number. -HPVERS_WORDS := $(subst ., ,$(shell uname -r)) -HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS))) -# -CC = gcc -CXX = g++ -CFLAGS += -w -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DHPUX_VERS=$(HPUX_VERS) -D_REENTRANT -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -OCFLAGS += -O2 -PIC = -fPIC -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -L$(ACE_ROOT)/ace -Wl,+s -LIBS += -lxti -SOFLAGS = $(CPPFLAGS) -shared -nostdlib $(PIC) -SOEXT = sl -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.$(SOEXT) $< -SHLIBBUILD = $(SOLINK.cc) -o $@ $(VSHOBJS1) -PRELIB = @true diff --git a/include/makeinclude/platform_hpux_orbix.GNU b/include/makeinclude/platform_hpux_orbix.GNU deleted file mode 100644 index fa05720bf14..00000000000 --- a/include/makeinclude/platform_hpux_orbix.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ - -# Assume the existence of Orbix with HP/UX... - -debug = 1 - -CC = /bin/cc -CXX = /usr/bin/CC -CFLAGS = -Aa -z +z -CCFLAGS = $(CFLAGS) -pta -ptb -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -INCLDIRS = -I$(ORBIX_ROOT)/include -PIC = -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -L$(ORBIX_ROOT)/lib -L$(ACE_ROOT)/ace -Wl,+s -SOFLAGS = -b -SOBUILD = @echo ""; \ - echo "$(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<"; \ - $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(RM) -rf $(VSHDIR)pt$*; mkdir $(VSHDIR)pt$*; \ - echo "int main() { return 0; }" >dummy.C; \ - echo "$(CXX) $(CCFLAGS) $(PIC) $(CPPFLAGS) $(LDFLAGS) -ptr$(VSHDIR)pt$* -ptr./ptrepository dummy.C $<";\ - YYZ="`$(CXX) $(CCFLAGS) $(PIC) $(CPPFLAGS) $(LDFLAGS) -ptr$(VSHDIR)pt$* -ptr./ptrepository dummy.C $<`"; \ - $(RM) -rf a.out dummy.*; \ - YYZ="`echo $(VSHDIR)pt$*/*.o`"; \ - echo "$(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ)"; \ - $(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ) diff --git a/include/makeinclude/platform_irix5.2.GNU b/include/makeinclude/platform_irix5.2.GNU deleted file mode 100644 index 57a80d16440..00000000000 --- a/include/makeinclude/platform_irix5.2.GNU +++ /dev/null @@ -1,21 +0,0 @@ -# $Id$ - -# Irix 5.2 with gcc 2.6.1 - -debug = 1 -optimize = 1 - -MAKE = gmake -CC = gcc -CXX = g++ -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -LIBS += -ldl -OCFLAGS += -O2 -PIC = -fpic -RANLIB = echo -SOFLAGS = -SOBUILD = diff --git a/include/makeinclude/platform_irix5.3_g++.GNU b/include/makeinclude/platform_irix5.3_g++.GNU deleted file mode 100644 index 2353ab4170d..00000000000 --- a/include/makeinclude/platform_irix5.3_g++.GNU +++ /dev/null @@ -1,21 +0,0 @@ -# $Id$ - -# Irix 5.3 with GNU C++ - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L$(ACE_ROOT)/ace -OCFLAGS += -O2 -PIC = -fpic -RANLIB = echo -SOFLAGS = -shared $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o - diff --git a/include/makeinclude/platform_irix5.3_sgic++.GNU b/include/makeinclude/platform_irix5.3_sgic++.GNU deleted file mode 100644 index 41b1e831b3e..00000000000 --- a/include/makeinclude/platform_irix5.3_sgic++.GNU +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ - -# Irix 5.3 with SGI C++ - -# This suppresses common compiler warnings which appear in the -# ACE code but should not matter. The warnings can be turned on -# again by removing the -woff clause in the CPPFLAGS definition. - -debug = 1 - -CC = cc -CXX = CC -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -CPPFLAGS += -ptused -prelink +pp -woff 3203,3209,3161,3262,3665 -LDFLAGS += -rpath "$(ACE_ROOT)/ace" -LIBS = -PIC = -KPIC -AR = ar -ARFLAGS = r -RANLIB = echo -SOFLAGS = -shared $(CPPFLAGS) -all -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_irix6.x-sgic++.GNU b/include/makeinclude/platform_irix6.x-sgic++.GNU deleted file mode 100644 index 3aef0c98fb2..00000000000 --- a/include/makeinclude/platform_irix6.x-sgic++.GNU +++ /dev/null @@ -1,55 +0,0 @@ -# $Id$ - -# Irix 6.[234] with SGI C++ - -debug = 1 -optimize = 1 - -# Instead of setting the ABI here we rely on the the macro SGI_ABI. -CC = cc -CXX = CC -DLD = $(CXX) -LD = $(CXX) - -# Basic flags - -# In Irix 6.2 w/o the thread patches this macro should have no effect. -CPPFLAGS += -D_SGI_MP_SOURCE -OCCFLAGS += -O -DCCFLAGS += -g - -# Enable exceptions even in the o32 bit ABI. -CCFLAGS += -exceptions - -# Instantiate no templates automatically, do not run prelinker. There -# are other choices available, but those have not been used in a while. -CCFLAGS += -ptnone -no_prelink -# Instantiate everything; without this, apps/Gateway/Gateway/gatewayd might -# not build due to missing template instantiations. NOTE: it seems -# this setting no longer works for ACE. -#CCFLAGS += -ptall -# Instantiate used templates, plus prelinking instantiation -#CCFLAGS += -ptused -prelink -# Instantiate used templates, but do not run prelinker -#CCFLAGS += -ptused - -LDFLAGS += -rpath "$(ACE_ROOT)/ace" -LDFLAGS += -Wl,-woff,15 -LDFLAGS += -Wl,-woff,84 -LDFLAGS += -Wl,-woff,85 -LDFLAGS += -Wl,-woff,133 - -# You need to remove this if you are using 6.2 without the Pthread -# patches or if you want to compile without threads support. -LIBS += -lpthread - -PIC = -KPIC -AR = ar -ARFLAGS = r -RANLIB = echo -SOFLAGS = -shared $(CCFLAGS) $(CPPFLAGS) -all -SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - /bin/ln $(VSHDIR)$*.o $@ - -# The math library -MATHLIB=-lm diff --git a/include/makeinclude/platform_irix6.x_g++.GNU b/include/makeinclude/platform_irix6.x_g++.GNU deleted file mode 100644 index 409ad04c776..00000000000 --- a/include/makeinclude/platform_irix6.x_g++.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ - -# Irix 6.2 with GNU C++ - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += $(DCFLAGS) -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L$(ACE_ROOT)/ace -Wl,-dont_warn_unused -OCFLAGS += -O2 -PIC = -fpic -# AR = ar -ARFLAGS = rv -RANLIB = true -SOFLAGS = -shared $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) $(LDFLAGS) -o $@ $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU deleted file mode 100644 index f50bb19ba6b..00000000000 --- a/include/makeinclude/platform_linux.GNU +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ - -# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file -# should allow ACE to be built on Linux. - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -pipe -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -OCFLAGS += -O3 -PIC = -fPIC -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -#### GNU gas has a string limit of 4096 characters. On Alphas, -#### builds will fail due to running over that limit. There are -#### at least two workarounds: -#### 1) Change the limit to 8192 characters and rebuild gas. See -#### ACE-INSTALL.html for more information. -#### 2) Don't use -g when compiling those files. -#### If you're building on an Alpha and you haven't hacked and -#### rebuilt gas, you might need to uncomment the following. -#### ifeq ($(debug),1) -#### SUPPRESS_DASH_G = 1 -#### endif # debug diff --git a/include/makeinclude/platform_linux_kcc.GNU b/include/makeinclude/platform_linux_kcc.GNU deleted file mode 100644 index b9ac6b58a04..00000000000 --- a/include/makeinclude/platform_linux_kcc.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# According to Ben Eng <ben@jetpen.com>, this file -# should allow ACE to be built on Linux using KAI C++ 3.3a. - -debug = 1 -optimize = 0 - -CC = KCC -CXX = $(CC) -CFLAGS += -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -DNULL=0 -DCFLAGS += +K0 -g -DLD = $(CC) -LD = $(CC) -LIBS += -ldl -lpthread-0.7 -OCFLAGS += +K3 -O -PIC = -fPIC -AR = $(CC) -ARFLAGS = -o -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< -PRELIB = @true -PRELIB_USES_OBJ_ONLY = 1 diff --git a/include/makeinclude/platform_linux_lxpthread.GNU b/include/makeinclude/platform_linux_lxpthread.GNU deleted file mode 100644 index 09cf8b793f3..00000000000 --- a/include/makeinclude/platform_linux_lxpthread.GNU +++ /dev/null @@ -1,50 +0,0 @@ -# $Id$ - -# For pthreads support on Linux, you need -# -D_POSIX_THREADS -# -D_POSIX_THREAD_SAFE_FUNCTIONS -# in the CXX command line. Also, add -lpthreads to the LIBS. -# libpthreads.so comes with the sources of Linux libc-5.3.*, you need -# to compile it yourself (no binaries included) -- -# Jan Rychter <jwr@icm.edu.pl> - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -pipe \ - -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -OCFLAGS += -O3 -PIC = -fPIC -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> -ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< -ifndef PRELIB - PRELIB = @true -endif # ! PRELIB - - -#### GNU gas has a string limit of 4096 characters. On Alphas, -#### builds will fail due to running over that limit. There are -#### at least two workarounds: -#### 1) Change the limit to 8192 characters and rebuild gas. See -#### ACE-INSTALL.html for more information. -#### 2) Don't use -g when compiling those files. -#### If you're building on an Alpha and you haven't hacked and -#### rebuilt gas, you might need to uncomment the following. -#### ifeq ($(debug),1) -#### SUPPRESS_DASH_G = 1 -#### endif # debug diff --git a/include/makeinclude/platform_linux_lxpthreads.GNU b/include/makeinclude/platform_linux_lxpthreads.GNU deleted file mode 100644 index 09cf8b793f3..00000000000 --- a/include/makeinclude/platform_linux_lxpthreads.GNU +++ /dev/null @@ -1,50 +0,0 @@ -# $Id$ - -# For pthreads support on Linux, you need -# -D_POSIX_THREADS -# -D_POSIX_THREAD_SAFE_FUNCTIONS -# in the CXX command line. Also, add -lpthreads to the LIBS. -# libpthreads.so comes with the sources of Linux libc-5.3.*, you need -# to compile it yourself (no binaries included) -- -# Jan Rychter <jwr@icm.edu.pl> - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -pipe \ - -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -OCFLAGS += -O3 -PIC = -fPIC -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> -ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< -ifndef PRELIB - PRELIB = @true -endif # ! PRELIB - - -#### GNU gas has a string limit of 4096 characters. On Alphas, -#### builds will fail due to running over that limit. There are -#### at least two workarounds: -#### 1) Change the limit to 8192 characters and rebuild gas. See -#### ACE-INSTALL.html for more information. -#### 2) Don't use -g when compiling those files. -#### If you're building on an Alpha and you haven't hacked and -#### rebuilt gas, you might need to uncomment the following. -#### ifeq ($(debug),1) -#### SUPPRESS_DASH_G = 1 -#### endif # debug diff --git a/include/makeinclude/platform_linux_pthread.GNU b/include/makeinclude/platform_linux_pthread.GNU deleted file mode 100644 index 5ea573914b4..00000000000 --- a/include/makeinclude/platform_linux_pthread.GNU +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ - -# For pthreads support on Linux, you need -# -D_MIT_POSIX_THREADS -# -D_POSIX_THREADS -# -D_POSIX_THREAD_SAFE_FUNCTIONS -# in the CXX command line. Also, add -lpthreads to the LIBS. -# libpthreads.so comes with the sources of Linux libc-5.3.*, you need -# to compile it yourself (no binaries included) -- -# Jan Rychter <jwr@icm.edu.pl> - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -fno-strict-prototypes \ - -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthreads -OCFLAGS += -O2 -PIC = -fPIC -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true diff --git a/include/makeinclude/platform_lynxos.GNU b/include/makeinclude/platform_lynxos.GNU deleted file mode 100644 index 7117e3d4657..00000000000 --- a/include/makeinclude/platform_lynxos.GNU +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# LynxOS with g++ - -debug = 1 -shared_libs = -static_libs = 1 - -ifneq ($(shell uname -s),LynxOS) - CROSS-COMPILE = 1 - - #### The following may need to be customized for your host or target type. - #### Or, you can source the appropriate (for your shell) Lynx SETUP file - #### before running "make". - - ifeq (,$(HOST_OS)) - HOST_OS = sunos - endif # HOST_OS - - ifeq (,$(LYNXTARGET)) - LYNXTARGET = x86 - endif # LYNXTARGET - - ifeq (,$(VERSION)) - VERSION=2.5.0 - endif # VERSION - - ifeq (,$(findstring /usr/lynx/$(VERSION)/$(LYNXTARGET),$(PATH))) - PATH:=\ -/usr/lynx/$(VERSION)/$(LYNXTARGET)/cdk/$(HOST_OS)-$(LYNXTARGET)/bin:/usr/lynx/$(VERSION)/$(LYNXTARGET)/cdk/$(HOST_OS)-$(LYNXTARGET)/usr/bin:$(PATH) - endif # PATH -endif # ! LynxOS - -CC = gcc -CXX = g++ -CFLAGS += -mthreads -pipe -ansi -Wall -Wpointer-arith -Winline -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -lnetinet -lnsl -OCFLAGS += -O2 -AR = ar -ARFLAGS = ruv -RANLIB = @true -PRELIB = @true - -# To save much disk space, strip all executables. Comment the -# following line out if you want to debug. -POSTLINK = ; strip $@ diff --git a/include/makeinclude/platform_m88k.GNU b/include/makeinclude/platform_m88k.GNU deleted file mode 100644 index 382c6e2adc2..00000000000 --- a/include/makeinclude/platform_m88k.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with SunC++ 4.x -# *not* using Orbix - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -CCFLAGS += $(CFLAGS) -D__m88k__ -fno-implicit-templates -fno-strict-prototypes -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -INCLDIRS += -I$(ACE_ROOT) -I. -INCLDIRS += -I/devel/rmm/v1.0/local/src/threads/include -LDFLAGS += -L $(ACE_ROOT)/ace -L ./ -LDFLAGS += -L/devel/rmm/v1.0/local/src/threads/lib -LIBS += -lsocket -ldl -lnsl -lgen -lstdc++ -lg++ -LIBS += -lgthreads -lgmalloc -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true -SOFLAGS = -G $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true diff --git a/include/makeinclude/platform_mvs.GNU b/include/makeinclude/platform_mvs.GNU deleted file mode 100644 index 6a4f8a00b1a..00000000000 --- a/include/makeinclude/platform_mvs.GNU +++ /dev/null @@ -1,33 +0,0 @@ -# $Id$ - -# For MVS OpenEdition platform - -debug = 1 - -CXX = cxx -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -CPPFLAGS = -+ -DEFFLAGS = -D_ALL_SOURCE -DNDEBUG -CC = $(CXX) -LD = $(CXX) -DLD = $(CXX) -AR = ar -ARFLAGS = ruv -RANLIB = echo -#LDFLAGS = -W l,p,map - -# MVCMD needed because cxx does not use the -o option to place objects -MVCMD = @test ! -s $(@F) || mv $(@F) $(@D)/$(@F) - -# Used to build static executables -ACELIB_STATIC = -lACE - -# Used to build shared executables (much smaller in size) -ACELIB_DLL = $(ACE_ROOT)/ace/libACE.x - -# set accordingly to build either static or shared executables -ACELIB = $(ACELIB_DLL) - -SOFLAGS = -W l,dll -PIC = -W c,exportall diff --git a/include/makeinclude/platform_netbsd.GNU b/include/makeinclude/platform_netbsd.GNU deleted file mode 100644 index d9e08b01139..00000000000 --- a/include/makeinclude/platform_netbsd.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ - -# platform_netbsd.GNU - -# ***** Notice: This file is still under testing. ***** -# To be used on netbsd platform without pthread support. - -debug = 1 -optimize = 1 -versioned_so = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -fno-strict-prototypes -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = ld -LD = $(CXX) -LIBS += -lstdc++ #-lcompat -lresolv -##OCFLAGS += -O2 -PIC = -fpic -DPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = -Bshareable -x /usr/lib/c++rt0.o -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo diff --git a/include/makeinclude/platform_osf1_3.2.GNU b/include/makeinclude/platform_osf1_3.2.GNU deleted file mode 100644 index 1dea4d671fd..00000000000 --- a/include/makeinclude/platform_osf1_3.2.GNU +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with Digital UNIX 3.2 -# (OSF/1 3.2g) with CXX 5.7 or later. - -debug = 1 - -CC = cxx -CXX = $(CC) -CFLAGS += -threads -#### CCFLAGS += -x cxx -CCFLAGS += $(CFLAGS) -w0 -DCFLAGS += -g -O0 -#### DLD = ld -shared -expect_unresolved '*' -DLD = ld -LD = $(CXX) -#### LIBS += -lpthreads -lmach -lsys5 -lxti -ltli -lcxx -lexc -lc -lrt -LIBS += -qltli_r -ltli -qlrt_r -lrt -qlcxxstd_r -lcxxstd -qlcxx_r \ - -lcxx -qlots_r -lots -lpthreads -lmach -lexc -lc_r -lc -#### PIC = -pic -ARFLAGS = cruv -RANLIB = /usr/bin/true -#### SOFLAGS = -shared -SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \ - -L$(ACE_ROOT)/ace -L./ -g2 -O0 -shared -SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - ln $(VSHDIR)$*.o $@ diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU deleted file mode 100644 index 50560a5af25..00000000000 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ /dev/null @@ -1,59 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with -# Digital UNIX 4.0 (OSF/1 4.0), using the cxx compiler.. - -debug = 1 -exceptions = 1 - -CC = cxx -CXX = $(CC) -#### Note: -pthread uses POSIX threads. If you want to use DCE threads -#### instead, change "-pthread" to "-threads". -CFLAGS += -pthread - -#### These flags can only be used with cxx Version 6.0 and later. -#### They can be enabled on the gmake command line with CXX_VER=POST_5X, -#### or by setting the CXX_VER environment variable to POST_5X. -# WARNING_FLAGS += -# 9: nested comment not allowed. But there's one in /usr/include/pdsc.h! -# 174: expr_has_no_effect -# 193: zero used for undefined preprocessing identifier -# 236: controlling expression is constant -# 340: value copied to temporary, reference to temporary used -# 401: base_class_with_nonvirtual_dtor -# 610: nonoverriding_function_decl -# 835: unreferenced_function_param -# 839: no_corresponding_delete (until this is fixed in libTAO) -ifeq ($(CXX_VER),POST_5X) - WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \ - -msg_disable 9,174,193,236,340,401,610,835,839 -endif - -CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS) #### -nortti -DCFLAGS += -g -O0 -DLD = $(CXX) -LD = $(CXX) -LIBS += $(CFLAGS) -ptr ptrepository -ltli -lrt -MATHLIB = -lm -OCFLAGS += -O4 -PIC = -ARFLAGS = cruvZ -# When libraries are archived, a hash index is automatically created -# so there is no need for ranlib -RANLIB = @true -SOFLAGS = -shared -use_ld_input $(ACELIB) -SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - ln $(VSHDIR)$*.o $@ - -ifndef exceptions - #### Disable the default exception handling of cxx >= 6.0. - #### This is untested. exceptions=1 is the default, so it's not used - #### by default. - CXX_HAS_EXCEPTIONS := \ - $(shell if cxx -V | egrep -v 'C\+\+ [a-zA-Z][6-9]' > /dev/null; then \ - echo 1; fi) - ifdef CXX_HAS_EXCEPTIONS - CCFLAGS += -nocleanup - endif # CXX_HAS_EXCEPTIONS -endif # ! exceptions diff --git a/include/makeinclude/platform_osf1_4.0_g++.GNU b/include/makeinclude/platform_osf1_4.0_g++.GNU deleted file mode 100644 index e05a62a38d1..00000000000 --- a/include/makeinclude/platform_osf1_4.0_g++.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with Digital UNIX 4.0 -# (OSF/1 4.0) and GCC in version 2.7.2.1 (or newer). - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -fno-strict-prototypes -DCFLAGS += -g -LD = $(CXX) -DLD = $(CXX) -LIBS += -lpthread -lmach -lexc -ltli -lrt -OCFLAGS += -O2 -PIC = -fpic -ARFLAGS = cruvZ -# When libraries are archived, a hash index is automatically created so there -# is no need for ranlib -RANLIB = /usr/bin/true -SOFLAGS = -shared $(CPPFLAGS) $(ACELIB) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true diff --git a/include/makeinclude/platform_osf1_4.0_rcc.GNU b/include/makeinclude/platform_osf1_4.0_rcc.GNU deleted file mode 100644 index 24e918c507e..00000000000 --- a/include/makeinclude/platform_osf1_4.0_rcc.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with Rational C++ (2.4.1) on -# Digital UNIX 4.0 (OSF/1 4.0). - -debug = 1 -exceptions = 1 - -CC = rcc -CXX = RCC -CFLAGS += -D_REENTRANT -CCFLAGS += $(CFLAGS) -nosienna -DCFLAGS += -g -O0 -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthread -lc_r -ltli -lrt -OCFLAGS += -O4 -PIC = -pic -ARFLAGS = cruvZ -# When libraries are archived, a hash index is automatically created -# so there is no need for ranlib -RANLIB = /usr/bin/true -SOFLAGS = -shared # -use_ld_input $(ACELIB) -SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - ln $(VSHDIR)$*.o $@ diff --git a/include/makeinclude/platform_psosim_g++.GNU b/include/makeinclude/platform_psosim_g++.GNU deleted file mode 100644 index d2c62859b00..00000000000 --- a/include/makeinclude/platform_psosim_g++.GNU +++ /dev/null @@ -1,57 +0,0 @@ -# $Id$ -# PSOSim with GNU g++ 2.7.2 - -#### -#### Notes: -#### -#### 1) This file assumes that the PSS_ROOT environment variable is set. -#### -#### 2) There is a separate Makefile in $(PSS_CFG_DIR) that must be used -#### to create $(PSS_CFG_DIR)/acepsos.a -#### -#### - -CPU_FAMILY = psosim -CPU = psosim -CPU_TOOLS = psosim -BOARD = psosim - -PSS_CFG_DIR = $(ACE_ROOT)/psosim -PSS_SYS_DIR = $(PSS_ROOT)/sys/os -PSS_SYS_LIBS = $(PSS_SYS_DIR)/prepc.a $(PSS_SYS_DIR)/psos.a $(PSS_SYS_DIR)/pna.a -PSS_BSP = $(PSS_ROOT)/bsps/psosim -PSS_BSP_LIB = $(PSS_BSP)/bsp.a - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -pipe #### -Winline -CCFLAGS += $(CFLAGS) -fno-implicit-templates - -# -w suppresses warnings -# -H tells you which header files are being included -# (switch between these) -#DCFLAGS += -g -#DCFLAGS += -g -H -#DCFLAGS += -g -H -w -DCFLAGS += -g -w - -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += # -z muldefs -LIBS += $(PSS_SYS_LIBS) $(PSS_BSP_LIB) $(PSS_CFG_DIR)/acepsos.a -lsocket -lnsl -lm -OCFLAGS += -O2 -#OCFLAGS += -O0 -PIC = -fpic -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = -G $(CPPFLAGS) -# SOBUILD - compile into .so directly -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true -INCLDIRS += -I$(PSS_ROOT)/include -I$(PSS_BSP) -I$(ACE_ROOT)/ace - - diff --git a/include/makeinclude/platform_sco-nothread.GNU b/include/makeinclude/platform_sco-nothread.GNU deleted file mode 100644 index efbdad9bd02..00000000000 --- a/include/makeinclude/platform_sco-nothread.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -CCFLAGS += $(CFLAGS) -fno-implicit-templates -fno-strict-prototypes -DCFLAGS += -g #### should this be -gstabs? -DLD = $(CXX) -LD = $(CXX) -LIBS = -lsocket -OCFLAGS = -O2 -PIC = -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU b/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU deleted file mode 100644 index dd6c8c26db0..00000000000 --- a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ - -# Requires FSU pthreads and gcc 2.7.2 Skunkware 97 -# to produce libACE.so correctly changed the specs file for gcc 2.7.2 -# for not link -lc and -lgcc and other not shared libraries - -debug = 1 -optimize = 1 - -CC = gcc -# for threads -# for no threads -#CXX = gcc -fno-implicit-templates -w -fno-strict-prototypes -# LDFLAGS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o # -z muldefs -# LDLIBS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o -lACE # -z muldefs -LDLIBS += -L $(ACE_ROOT)/ace # -z muldefs -CXX = g++ -CFLAGS += -melf -w -CCFLAGS += -melf -fpic -fno-implicit-templates -I ${FSU_PTHREADS_DIR}/include -DCFLAGS += -gstabs -DCCFLAGS += $(DCFLAGS) -DLD = $(CXX) -LD = $(CXX) /usr/lib/libc.so.1 -LIBS = -lm -L${FSU_PTHREADS_DIR}/lib -lgthreads -lnsl -lsocket -lmalloc -OCFLAGS += -O2 -OCCFLAGS += $(OCFLAGS) -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -melf -fpic -G -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU b/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU deleted file mode 100644 index a30197aabb5..00000000000 --- a/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ - -# Requires MIT pthreads and gcc 2.7.2 installed in /usr/progressive -# to produce libACE.so correctly changed the specs file for gcc 2.7.2 -# for not link -lc and -lgcc and other not shared libraries - -debug = 1 -optimize = 1 - -CC = gcc -# for threads -# for no threads -#CXX = gcc -fno-implicit-templates -w -fno-strict-prototypes -# LDFLAGS += -L $(ACE_ROOT)/ace -L ./ ${MIT_PTHREADS_DIR}/init/init.o # -z muldefs -# LDLIBS += -L $(ACE_ROOT)/ace -L ./ ${MIT_PTHREADS_DIR}/init/init.o -lACE # -z muldefs -LDLIBS += -L $(ACE_ROOT)/ace -L ./ -lACE # -z muldefs -CXX = g++ -CFLAGS += -b elf -w -CCFLAGS += -b elf -fpic -Xpg4plus -fno-implicit-templates -I ${MIT_PTHREADS_DIR}/include -I /usr/progressive/lib/g++-include -DCFLAGS += -gstabs -DCCFLAGS += $(DCFLAGS) -DLD = $(CXX) -LD = $(CXX) -LIBS = -L${MIT_PTHREADS_DIR} -lnsl -lpthread -OCFLAGS += -O2 -OCCFLAGS += $(OCFLAGS) -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -b elf -fpic -G -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-nothread.GNU b/include/makeinclude/platform_sco5.0.0-nothread.GNU deleted file mode 100644 index 106c61d750b..00000000000 --- a/include/makeinclude/platform_sco5.0.0-nothread.GNU +++ /dev/null @@ -1,34 +0,0 @@ -# $Id$ - -# Requires FSU pthreads and gcc 2.7.2 installed in /usr/progressive -# to produce libACE.so correctly changed the specs file for gcc 2.7.2 -# for not link -lc and -lgcc and other not shared libraries -CC = gcc -# for threads -# for no threads -#CXX = gcc -fno-implicit-templates -w -fno-strict-prototypes -# LDFLAGS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o # -z muldefs -# LDLIBS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o -lACE # -z muldefs -LDLIBS += -L $(ACE_ROOT)/ace # -z muldefs -CXX = g++ -CFLAGS += $(DCFLAGS) -b elf -w -O2 -CCFLAGS += $(DCCFLAGS) -b elf -O2 -fpic -fno-implicit-templates -I /usr/progressive/lib/g++-include -#DCFLAGS += -gstabs -DACE_HAS_BIG_FD_SET -DCFLAGS += -gstabs -DCCFLAGS += $(DCFLAGS) -DLD = $(CXX) -LD = $(CXX) -LIBS = -lnsl -lsocket -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -b elf -fpic -G -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -# PRELIB = (echo "main() { }" > gcctemp.c && \ -# $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ -# $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LDLIBS) $(LIBS); \ -# status=$$?; exit $$status) -PRELIB = @true diff --git a/include/makeinclude/platform_sunos4_g++.GNU b/include/makeinclude/platform_sunos4_g++.GNU deleted file mode 100644 index 35c3f8f61b9..00000000000 --- a/include/makeinclude/platform_sunos4_g++.GNU +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ - -# SunOS 4.x (Solaris 1.x) with g++ *not* using Orbix - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -fno-strict-prototypes -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = /bin/ld -LD = $(CXX) -# -# for G++ v2.6.0 -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib -SOFLAGS = -assert pure-text -# SOBUILD - compile into .so directly -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = @true diff --git a/include/makeinclude/platform_sunos4_lucid.GNU b/include/makeinclude/platform_sunos4_lucid.GNU deleted file mode 100644 index a6efedcf796..00000000000 --- a/include/makeinclude/platform_sunos4_lucid.GNU +++ /dev/null @@ -1,21 +0,0 @@ -# $Id$ - -# SunOS 4.x (Solaris 1.x) with Lucid - -debug = 1 - -CC = lcc -CXX = lcc -CFLAGS = -Xa # use ANSI c complier -CCFLAGS = -XF -Xpt- # use c++ ARM compiler with auto templates turned off -DCFLAGS += -g -DCCFLAGS += $(DCFLAGS) -DLD = /bin/ld -LD = $(CXX) -LIBS += -PIC = -pic -ARFLAGS = ruv -RANLIB = ranlib -SOFLAGS = -assert pure-text -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_sunos4_sunc++3.x.GNU b/include/makeinclude/platform_sunos4_sunc++3.x.GNU deleted file mode 100644 index a00eb562e11..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++3.x.GNU +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ - -# SunOS 4.x (Solaris 1.x) with SunC++ 3.x (note that this is a very old C++ -# compiler, based on cfront. In paricular, it's not the same thing as -# SunC++ 4.x (which is also known as SPARCWorks 3.x). - -debug = 1 - -CC = cc -CXX = CC -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = /bin/ld -LD = $(CXX) -LIBS += -PIC = -pic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib -SOFLAGS = -assert pure-text -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(RM) -rf $(VSHDIR)pt$*; mkdir $(VSHDIR)pt$*; \ - YYZ="`$(CXX) $(CCFLAGS) $(CPPFLAGS) \ - -ptr$(VSHDIR)pt$* -ptr./ptrepository $<`"; \ - $(RM) -rf a.out; \ - YYZ="`echo $(VSHDIR)pt$*/*.o`"; \ - $(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ) diff --git a/include/makeinclude/platform_sunos4_sunc++4.x.GNU b/include/makeinclude/platform_sunos4_sunc++4.x.GNU deleted file mode 100644 index b122a76859f..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++4.x.GNU +++ /dev/null @@ -1,24 +0,0 @@ -# $Id$ - -# SunOS 4.x (Solaris 1.x) with SunC++ 4.x - -debug = 1 - -CC = cc -CXX = CC -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -LDFLAGS += $(PIC) -AR = CC -ARFLAGS = -xar -o -PIC = -PIC -RANLIB = ranlib -SOFLAGS = -G $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) $(PIC) -o $@ $(LDFLAGS) $(VSHDIR)$*.o - -#### Create template repository to avoid compiler warning. -TEMPLATE_REPOSITORY = Templates.DB diff --git a/include/makeinclude/platform_sunos4_sunc++4.x_orbix.GNU b/include/makeinclude/platform_sunos4_sunc++4.x_orbix.GNU deleted file mode 100644 index fec612a3113..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++4.x_orbix.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# SunOS 4.x (Solaris 1.x) with SunC++ 4.x and Orbix. - -debug = 1 - -CC = cc -CXX = CC -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -INCLDIRS = -I$(ORBIX_ROOT)/include -AR = CC -LDFLAGS += -L$(ORBIX_ROOT)/lib -ARFLAGS = -xar -o -PIC = -pic -RANLIB = ranlib -SOFLAGS = -G $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o - -#### Create template repository to avoid compiler warning. -TEMPLATE_REPOSITORY = Templates.DB diff --git a/include/makeinclude/platform_sunos5.6_sparc_sunc++_4.2.GNU b/include/makeinclude/platform_sunos5.6_sparc_sunc++_4.2.GNU deleted file mode 100644 index a4241e53d48..00000000000 --- a/include/makeinclude/platform_sunos5.6_sparc_sunc++_4.2.GNU +++ /dev/null @@ -1,3 +0,0 @@ -# $Id$ - -include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU diff --git a/include/makeinclude/platform_sunos5_centerline.GNU b/include/makeinclude/platform_sunos5_centerline.GNU deleted file mode 100644 index 0d8cc04c666..00000000000 --- a/include/makeinclude/platform_sunos5_centerline.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with Centerline C++ - -debug = 1 - -CC = cc -CXX = CC -CFLAGS += -mt -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = $(CXX) -mt -LD = $(CXX) -mt -LIBS += -lsocket -ldl -lnsl -lgen -PIC = -PIC -#AR = CC -#ARFLAGS = -xar -o -ARFLAGS = ruv -RANLIB = echo -SOFLAGS = -G $(CPPFLAGS) $(PTDIRS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) $(PIC) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_sunos5_centerline_orbix.GNU b/include/makeinclude/platform_sunos5_centerline_orbix.GNU deleted file mode 100644 index 7265e806673..00000000000 --- a/include/makeinclude/platform_sunos5_centerline_orbix.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with Centerline C++ - -debug = 1 - -CC = cc -CXX = CC -CFLAGS += -mt -CCFLAGS += $(CFLAGS) -DCFLAGS += -g -DLD = $(CXX) -mt -LD = $(CXX) -mt -INCLDIRS = -I$(ORBIX_ROOT)/include -LDFLAGS += -L$(ORBIX_ROOT)/lib -LIBS += -lITsrv -lsocket -ldl -lnsl -lgen -PIC = -PIC -AR = CC -ARFLAGS = -xar -o -RANLIB = echo -SOFLAGS = -G $(CPPFLAGS) $(PTDIRS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) $(PIC) -o $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/include/makeinclude/platform_sunos5_egcs.GNU b/include/makeinclude/platform_sunos5_egcs.GNU deleted file mode 100644 index c4db24633d4..00000000000 --- a/include/makeinclude/platform_sunos5_egcs.GNU +++ /dev/null @@ -1,13 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with egcs -# Use the g++ platform file, with any overrides following its include. - -include $(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU - -# This is recommeded by Cygnus in their egcs-1.0 Caveats page. -# http://egcs.cygnus.com/caveats.html -CFLAGS += -Wno-return-type - -#### Uncomment the following line to use shared libstdc++.so, etc. -#### SOFLAGS = -shared $(CPPFLAGS) diff --git a/include/makeinclude/platform_sunos5_g++.GNU b/include/makeinclude/platform_sunos5_g++.GNU deleted file mode 100644 index 248facf508e..00000000000 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ /dev/null @@ -1,38 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix - -# NOTE: with g++ 2.8.0, you'll need to disable optimization in order to -# instantiate ACE_Map_Manager (ace/Map_Manager.cpp). The easiest -# way to do that is to set "optimize = 0", either below or on -# your make command line. - -# NOTE: On Solaris86, you'll need to use GNU as instead of /usr/ccs/bin/as, -# if you want -gstabs+ and -pipe support. - -debug = 1 -optimize = 1 - -ifeq ($(shell /bin/uname -i),i86pc) - #### gcc on Solaris86 doesn't use -g - DCFLAGS += -gstabs+ -else # ! i86pc - DCFLAGS += -g -endif # ! i86pc - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -pipe #### -Winline -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -lw -OCFLAGS += -O2 -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = @true -SOFLAGS = -G $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true diff --git a/include/makeinclude/platform_sunos5_sunc++.GNU b/include/makeinclude/platform_sunos5_sunc++.GNU deleted file mode 100644 index fd661849810..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++.GNU +++ /dev/null @@ -1,106 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with SunC++ 4.2 or earlier -# *not* using Orbix -# -# Note: some ACE files might generate these kinds of warnings: -# 1) "Warning: Could not find source for " one of the following: -# default constructor, copy constructor, destructor, or assignment -# operator. It appears that with +w, Sun C++ 4.x issues this warning -# whenever it has to generate one of these functions (because it wasn't -# defined by the user). This isn't really a problem. -# This warning appears to be fixed by Sun C++ 4.2 jumbo patch 104631-02. -# 2) "Warning: <foo> hides the function " or "hides the same name in an -# outer scope". A useful warning, perhaps, but not really a problem. -# Again, this appears much more often with +w. The jumbo patch did not -# remove it. -# There should be no other warnings from Sun C++ when building ACE. - -debug = 1 - -CC = cc -CXX = CC -CFLAGS += -mt -#### -pta instantiates all template members, which makes libraries bigger. -#### But, it's supposed to put each member into it's own .o, so executable -#### size should not be penalized. -#### We've commented -pta out for the moment to see if it works. -CCFLAGS += $(CFLAGS) # -pta -DCFLAGS += -g -DLD = $(CXX) - -#### Exception handling breaks on MP machines prior to Sun C++ 4.2 -#### with jumbo patch 104631-02, see ace/config-sunos5.5-sunc++-4.x.h. -#### If you are using a version of Sun C++ prior to 4,2, or haven't -#### applied that jumbo patch to your 4.2, or don't want to pay the -#### performance penalty of exception handling, then use the default -#### of no exceptions. If you want to enable exception handling, -#### add "exceptions=1" to your "make" invocation. -ifndef exceptions - CCFLAGS += -noex -endif # ! exceptions - -LD = $(CXX) - -ifdef orbix - LDFLAGS += $(PIC) -L$(ORBIX_ROOT)/corba2/lib \ - -R $(ACE_ROOT)/ace -R./ -R $(ORBIX_ROOT)/corba2/lib - LIBS += -lITinimt -liiopmt -lorbixmt -lsocket -ldl -lnsl \ - -lthread -lgen -lposix4 - CPPFLAGS += -I$(ORBIX_ROOT)/corba2/include -else - LDFLAGS += -R $(ACE_ROOT)/ace -R./ - LIBS += -lsocket -ldl -lnsl -lgen -lposix4 -endif # orbix - -LDFLAGS += -mt -xildoff - -OCFLAGS += -O -PIC = -PIC -AR = CC -ARFLAGS = -xar -o -RANLIB = echo -SOFLAGS = -G $(CPPFLAGS) - -#### Create template repository to avoid compiler warning. -TEMPLATE_REPOSITORY = Templates.DB - -ifdef BIN - #### Builds .shobj/$*.o file, then .shobj/$*.so file. The .o files - #### are used for building libraries and executables. But, it seems - #### to be necessary to build the .so files (with -G) in order to get - #### all template instantiations. - SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o -else - #### Optimize builds when no executables are built in the current - #### directory. Only a library is being created, and -G is used - #### in that step. Therefore, all templates instantations are - #### included in the library. This optimization saves almost 11 Mb - #### (2.6 percent) and 27 minutes (22 percent) on the entire ACE - #### build on a 168 MHz Sun Ultra2. - #### - #### Sun C++ won't allow the output from a compile to be named with - #### a .so extension. Rather than muck with the ACE build rules and - #### risk upsetting builds on other platforms, just ln the output - #### after building it. - SOBUILD = /bin/rm -f $@; \ - $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && /bin/ln $(VSHDIR)$*.o $@ -endif # BIN - -#### The following macro overrides enable creation of fast executables. -#### They _don't_ support fast compilation :-) -#### To use, add fast=1 to your "make" invocation. -#### -#### -g is incompatible with -fast. If you need -g, you can -#### use "-fast -O3". -#### -#### Dynamic casting and RTTI can coexist with ACE, but it doesn't -#### use them. To disable, add: -features=no%castop,no%rtti -#### Sun C++ 4.2 (and later?) only support this option. -ifdef fast - CFLAGS += -fast - CCFLAGS += -features=no%castop,no%rtti - DCFLAGS = - LDFLAGS += -fast -endif # fast diff --git a/include/makeinclude/platform_sunos5_sunc++_orbix.GNU b/include/makeinclude/platform_sunos5_sunc++_orbix.GNU deleted file mode 100644 index 2fa129d576d..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++_orbix.GNU +++ /dev/null @@ -1,6 +0,0 @@ -# $Id$ - -orbix=1 -exceptions=1 - -include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU diff --git a/include/makeinclude/platform_sunos5_x86_g++.GNU b/include/makeinclude/platform_sunos5_x86_g++.GNU deleted file mode 100644 index 7ce00b6df95..00000000000 --- a/include/makeinclude/platform_sunos5_x86_g++.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix - -debug = 1 - -CC = gcc -CXX = g++ -CCFLAGS += $(CFLAGS) -fno-implicit-templates -fno-strict-prototypes -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += # -z muldefs -LIBS += -lsocket -ldl -lgen -lnsl -lthread -lw -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true -SOFLAGS = -G $(CPPFLAGS) -# SOBUILD - compile into .so directly -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = cp $< $@ -# SOLINK = ln -s $< $@ -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = @true diff --git a/include/makeinclude/platform_tandem.GNU b/include/makeinclude/platform_tandem.GNU deleted file mode 100644 index 294525c4e82..00000000000 --- a/include/makeinclude/platform_tandem.GNU +++ /dev/null @@ -1,93 +0,0 @@ -# $Id$ - -# NonStop-UX NCC 3.20 - -debug = 1 - -# Please see the config-NonS... file for more information about status -# This file is built from Sunos5(os) and sgic++(compiler) - -CC = cc -CXX = NCC -DLD = $(CXX) -LD = $(CXX) -CPPFLAGS += -no_exceptions -CPPFLAGS += -I/usr/include3.18 -CPPFLAGS += -D_REENTRANT -#CPPFLAGS += -ptused -prelink -CPPFLAGS += -pta -#CPPFLAGS += +pp -#CPPFLAGS += -show -#-D_SGI_MP_SOURCE -#3106 nested comment is not allowed -#3203 statement is unreachable -#3252 argument of type "X" is incompatible with parameter of type "Y" -#3262 Parameter "X" declared and never referenced -#3611 a value of "X" cannot be assigned to an entity of type "Y" -#3140 macro redefined differently (param redefines NULL) - -CPPFLAGS += -woff 3106,3203,3262 -#CPPFLAGS += -woff 3106,3203,3262,3611,3252 -#CPPFLAGS += -woff 3106,3203,3212,3252,3262,3611 - -# For the new 32 bit C++ compiler (-n32) -#CPPFLAGS += -n32 -woff 1174,1209,1375,1506,1110,1552,1021,1171 -# For the old C++ compiler (-32) -#CPPFLAGS += +pp -LDFLAGS += -rpath "$(ACE_ROOT)/ace" -#LDFLAGS += -Wl,-woff,85 -LIBS += -lsocket -LIBS += -ldl -LIBS += -lnsl -LIBS += -lgen -LIBS += -lthread -PIC = -KPIC -AR = ar -ARFLAGS = r -RANLIB = echo -SOFLAGS = -shared $(CPPFLAGS) -all -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o - -#3106 nested comment is not allowed -#3203 statement is unreachable -#3252 argument of type "X" is incompatible with parameter of type "Y" -#3262 Parameter declared and never referenced -#3611 a value of "X" cannot be assigned to an entity of type "Y" -#WARNOFF += -woff 3106,3203,3262,3611 -#INCDIR += -I/usr/include -I/usr/include3.18 -# -I /usr/ucbinclude -#### No threads -#CCFLAGS += -no_exceptions -pta $(WARNOFF) $(INCDIR) -#### Threads -#CCFLAGS += -D_REENTRANT -no_exceptions -pta $(WARNOFF) - -#DLD = $(CXX) -#LD = $(CXX) -#LDFLAGS += -R $(ACE_ROOT)/ace -#LIBS += -lsocket -ldl -lnsl -lgen -lthread # Threads -#LIBS += -lsocket -ldl -lnsl -lgen # No threads -#PIC = -PIC -# SUNC++ 4.1 has a bug with the -xar command: -# -# from 'CC -readme' the following bug is reported: -# -# 4. Using -xar to add generated templates -# ---------------------------------------- -# -# When using -xar to add generated templates to an archive, -# please be aware that this command will both update -# existing object files in the archive, and add new ones. -# Existing object files that may be obsolete will still -# be present. In these cases, the safest course of action -# would be to delete the .a file prior to the invocation of -xar. -# -# so here we remove the archive prior to making the new one -# -#AR = CC -#ARFLAGS = -xar -o -#RANLIB = echo -#SOFLAGS = -G $(CPPFLAGS) -#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o - diff --git a/include/makeinclude/platform_unixware_g++.GNU b/include/makeinclude/platform_unixware_g++.GNU deleted file mode 100644 index e5e76d03a98..00000000000 --- a/include/makeinclude/platform_unixware_g++.GNU +++ /dev/null @@ -1,24 +0,0 @@ -# $Id$ - -# UnixWare V2.2.1.2 with g++ version 2.7.2.2 *not* using Orbix - -debug = 1 - -CC = gcc -CXX = g++ -CFLAGS += -D__STDC__=0 -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -lsocket -lnsl -lgen -lthread -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true -#SOFLAGS = -assert pure-text -SOFLAGS = -shared -# SOBUILD - compile into .so directly -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = @true diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU deleted file mode 100644 index e329ec46aa4..00000000000 --- a/include/makeinclude/platform_vxworks5.x_g++.GNU +++ /dev/null @@ -1,127 +0,0 @@ -# $Id$ -# VxWorks 5.2-5.3.1 with GNU g++ 2.7.2 - -#### Notes: -#### 1) This file requires that the WIND_BASE and WIND_HOST_TYPE environment -#### variables be set. If the target CPU is not a PPC604, then your CPU -#### environment variable must be set. On Windows hosts, you'll also need -#### to set PERL_PATH if perl is not on your path. -#### -#### 2) If you have problems with munch output not being compilable -#### because it contains identifiers with ".", e.g., ".cpp", in them: -#### add a global variable or function to that .cpp file. See -#### ace/IOStream_T.cpp for an explanation and example. - -VXWORKS = 1 -CROSS-COMPILE = 1 - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - - -ifeq (,$(WIND_BASE)) - default: - @ERROR: you must set your WIND_BASE environment variable -endif # WIND_BASE - -ifeq (,$(WIND_HOST_TYPE)) - default: - @ERROR: you must set your WIND_HOST_TYPE environment variable -endif # WIND_HOST_TYPE - -HOST_DIR = $(WIND_BASE)/host/$(WIND_HOST_TYPE) - -ifeq (,$(findstring $(HOST_DIR)/bin,$PATH)) - PATH +=:$(HOST_DIR)/bin -endif # PATH - - -#### BEGIN target CPU-specific settings - -#### This is kind of messy so that it can support multiple -#### targets. You'll need to set CPU to a supported CPU -#### using one of these methods (unless your CPU is a PowerPC 604): -#### 1) create a $ACE_ROOT/include/makeinclude/platform_macros.GNU -#### that contains something like: -#### -#### WIND_BASE = /project/doc/wind -#### WIND_HOST_TYPE = sun4-solaris2 -#### CPU = I80486 -#### -#### include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.x_g++.GNU -#### -#### 2) modify the code below to set CPU, or -#### 3) set CPU on the command line, e.g., "make CPU=I80486" -ifeq ($(CPU),) - CPU = PPC604 -endif # default CPU - -ifeq ($(CPU),PPC604) - CFLAGS += -B$(GCCLIB_DIR)/ -DCPU=PPC604 - GCCLIB_DIR = $(HOST_DIR)/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126 - TOOLENV = ppc -else -ifeq ($(CPU),I80486) - CFLAGS += -DCPU=I80486 -m486 - TOOLENV = 386 -endif # I80486 -endif # PPC604 - -#### END target CPU-specific settings - - -#### Set up Win32 vs. Unix host specific macros. -ifeq ($(WIND_HOST_TYPE),x86-win32) - CXX = cc$(TOOLENV) -else # ! x86-win32 - CXX = g++$(TOOLENV) - PIPE_OPT = -pipe -endif # ! x86-win32 - - -CC = cc$(TOOLENV) -CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin -fno-defer-pop -fvolatile -nostdinc -nostdlib $(PIPE_OPT) -Wall -#### Note: -f-no-implicit-templates doesn't seem to work well with -#### g++ cygnus-2.7.2-960126 for pc486 target. Some -#### member functions don't get instantiated. Wind River knows -#### about this problem (SPR 8483). -CCFLAGS += $(CFLAGS) #### -fno-implicit-templates -DCFLAGS += -g -INCLDIRS += -I$(WIND_BASE)/target/h -LD = $(PERL_PATH) $(ACE_ROOT)/bin/ace_ld -c \ - "$(COMPILE.c) -traditional" \ - -m "munch" -n "nm$(TOOLENV)" ld$(TOOLENV) -LDFLAGS += -X -r -#### WindRiver only recommends -O, not -O2, with some CPUs, including -#### the i386 family. And -O2 causes some compilation failures. -OCFLAGS += -O -PIC = -AR = ar$(TOOLENV) -ARFLAGS = rv -RANLIB = /bin/true - - -#### ld can't handle INCLDIRS, so override LINK definitions. -LINK.c = override -LINK.c.override = $(LD) $(LDFLAGS) $(LDLIBS) $(LIBS) - -LINK.cc = override -LINK.cc.override = $(LD) - - -#### The symbol table extractor is target-dependent. -ifeq ($(CPU),I80486) - BINXSYM_NAME = xsymDec -else -ifeq ($(CPU),I80386) - BINXSYM_NAME = xsymDec -else - BINXSYM_NAME = xsym -endif # I80486 -endif # I80386 - -#### To extract the symbol table from each executable, uncomment the POSTLINK -#### definition below. -## POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) $(BINXSYM_NAME) < $@ > $@.sym diff --git a/include/makeinclude/platform_vxworks5.x_ghs.GNU b/include/makeinclude/platform_vxworks5.x_ghs.GNU deleted file mode 100644 index 6c5a94c778f..00000000000 --- a/include/makeinclude/platform_vxworks5.x_ghs.GNU +++ /dev/null @@ -1,82 +0,0 @@ -# $Id$ -# -# VxWorks 5.2-5.3.1 with Green Hills 1.8.8 - -#### Notes: -#### 1) This file requires that your PATH be set to include the location -#### of the Green Hills executables. And, it usually requires that -#### WIND_BASE and WIND_HOST_TYPE be set. -#### -#### 2) If your CPU is not a ppc, you'll need to set your CPU environment -#### variable. -#### -#### 3) You'll probably need to set your GHS environment variable to the -#### location of your Green Hills executables. -#### -#### 4) For x86 target, the ghsblin.o, ghsmath.o, and objghsvx/*.o -#### object files were added to libedgnoe.a using this command: -#### -#### $(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin/ar386 rsv libedgnoe.a \ -#### ghs*.o objghsvx/*.o -#### -#### If you don't do that, you'll have to add the individual .o files -#### to LIBS below. -#### -#### Here's an example platform_macros.GNU file: -#### -#### WIND_BASE = /project/doc/wind -#### WIND_HOST_TYPE = sun4-solaris2 -#### -#### ifeq (,$(findstring /project/doc/wind/green,$PATH)) -#### PATH +=:/project/doc/wind/green -#### endif # PATH -#### -#### CPU = 86 -#### GHS = /project/doc/wind/green/vx$(CPU) -#### include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.x_ghs.GNU - -VXWORKS = 1 -CROSS-COMPILE = 1 - -debug = 1 -shared_libs = -static_libs = 1 - - -#### CPU type -ifndef CPU - CPU = ppc -endif # CPU - -#### Green Hills location, and target-specific definitions. -ifeq ($(CPU),86) - # With GHS' ax, ld386 complains that it can't read the - # archive symbol table. - ifndef GHS - GHS = /project/doc/wind/green/vx$(CPU) - endif # GHS - AR = $(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin/ar386 - ARFLAGS = rsu - LIBS += $(GHS)/libedgnoe.a -else -ifeq ($(CPU),ppc) - ifndef GHS - GHS = /appl/newgreen/vx$(CPU)603 - endif # GHS - AR = ax - ARFLAGS = cr - LIBS += $(GHS)/ghsbltin.o $(GHS)/ghsmath.o -endif # ppc -endif # CPU - - -CC = cxvx$(CPU) -CXX = $(CC) -CCFLAGS += $(CFLAGS) --no_rtti -tnone -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS = --no_auto_instantiation -OCFLAGS += -OL -OM -PIC = -RANLIB = @true diff --git a/include/makeinclude/rules.bin.GNU b/include/makeinclude/rules.bin.GNU deleted file mode 100644 index c91dad7a3e6..00000000000 --- a/include/makeinclude/rules.bin.GNU +++ /dev/null @@ -1,18 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Build binaries -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -VBIN = $(BIN:%=%$(VAR)) - -ifndef OBJEXT -OBJEXT=o -endif - -VOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(SRC),$(VDIR)$(notdir $(file)))) - -$(BIN): %: $(VDIR)%.o $(VOBJS) - $(LINK.cc) -o $@ $^ $(LDFLAGS) $(VLDLIBS) $(POSTLINK) diff --git a/include/makeinclude/rules.common.GNU b/include/makeinclude/rules.common.GNU deleted file mode 100644 index c2c1b2d5b33..00000000000 --- a/include/makeinclude/rules.common.GNU +++ /dev/null @@ -1,17 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Common targets -#---------------------------------------------------------------------------- - -all: all.nested all.local -debug: debug.nested debug.local -profile: profile.nested profile.local -install: install.nested install.local -deinstall: deinstall.nested deinstall.local -clean: clean.nested clean.local -realclean: realclean.nested realclean.local -clobber: clobber.nested clobber.local -depend: depend.nested depend.local -rcs_info: rcs_info.nested rcs_info.local - diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU deleted file mode 100644 index f34fb25b877..00000000000 --- a/include/makeinclude/rules.lib.GNU +++ /dev/null @@ -1,146 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Build libraries (i.e., contain no binary executables) -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# The following targets arrange to build both unshared and shared libraries -#---------------------------------------------------------------------------- - -ifndef OBJEXT -OBJEXT=o -endif - -ifndef SOEXT -SOEXT=so -endif - -VSHLIB = $(SHLIB:%.$(SOEXT)=%$(VAR).$(SOEXT)) -VLOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VDIR)$(notdir $(file)))) - -ifdef TEMPINCDIR -VSHOBJS1 = -else -LSRC += $(LSRC2) -ifdef PRELIB -ifdef PRELIB_USES_OBJ_ONLY -VSHOBJS = $(subst .cpp,.o,$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) -else -VSHOBJS = $(subst .cpp,.o,$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) -endif -VSHOBJS1 = $(VSHOBJS) -else -VSHOBJS = $(subst .cpp,.o,$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) -VSHOBJS1 = $(subst .cpp,.o,$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) -endif -endif - -# Comment out for now... -# $(DEFS:%=$(INSINC)/%) \ - -ifdef shared_libs_only - INSTALL = $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number)) -else -ifdef static_libs_only - INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) -else - INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \ - $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number)) -endif # static_libs_only -endif # shared_libs_only - -ifdef PRELIB -# Unfortunately, gcc has to do a link of all of the objects (during which -# it may decide to recompile some of the objects), before we can safely build -# any libraries or shared objects. Comment this line if no shared -# libraries or objects are used. -# -# I have no idea why this dependency has any effect similar to what is -# described above, so I will comment it out. This eliminates the VERY -# annoying messages from make such as: -# make: Circular .shobj/interp.so <- libcorba.so dependency dropped. -#$(VSHOBJS): $(VSHLIB) -endif - -# Comment these lines out if you want to build both *.a and *.so libraries... -#$(VSHLIB): $(VSHOBJS) $(STATLIB) -#ifdef PRELIB -# $(PRELIB) -#endif -# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)*.o - -# Uncomment the remaining lines if you want to build both *.a and *.so libraries... -VLIB = $(LIB:%.a=%$(VAR).a) - -$(VLIB): $(VLOBJS) -ifdef PRELIB - $(PRELIB) -endif - $(AR) $(ARFLAGS) $@ $? -ifdef TEMPINCDIR -# This is required for AIX!!! - if test -e xxx; \ - then \ - rm xxx; \ - fi - (if test -s ./$(TEMPINCDIR)/*.C; \ - then \ - while ! test -e xxx; \ - do \ - touch xxx; \ - cd ./$(TEMPINCDIR); \ - for temp in *.C; \ - do \ - if ! test -d ./$(TEMPINCDIR); \ - then \ - cd ..; \ - fi; \ - if $(COMPILE.cc) -o $(VDIR)$$temp.o ./$(TEMPINCDIR)/$$temp; \ - then \ - $(AR) $(ARFLAGS) $@ $(VDIR)$$temp.o;\ - else \ - rm $@; \ - rm xxx; \ - exit; \ - fi \ - done; \ - for temp in ./$(TEMPINCDIR)/*.C; \ - do \ - if test $$temp -nt xxx; \ - then \ - rm xxx; \ - break; \ - fi \ - done \ - done; \ - fi) - rm xxx -endif - -chmod a+r $@ - -$(RANLIB) $@ - -# Note that if you don't want to build shared libraries, just remove the $(VSHOBJS) -ifdef SHLIBBUILD -$(VSHLIB): $(VSHOBJS) $(STATLIB) -else -$(VSHLIB): $(VSHOBJS1) $(STATLIB) -endif -ifdef PRELIB - $(PRELIB) -endif -ifdef SHLIBBUILD - $(SHLIBBUILD) -else - $(SOLINK.cc) -o $@ $(VSHOBJS1) $(LDFLAGS) $(LIBS) $(STATLIB) - -chmod a+rx $@ -endif - -ifdef SHLIBA -$(SHLIBA): $(VSHLIB) - $(AR) $(ARFLAGS) $@ $? - -chmod a+rx $@ - -$(RANLIB) $@ -endif diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU deleted file mode 100644 index 40e8b6943b5..00000000000 --- a/include/makeinclude/rules.local.GNU +++ /dev/null @@ -1,210 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Local targets -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -ifndef OBJDIRS - OBJDIRS = .obj .shobj # .obj_debug .obj_profile .obj_optimize -endif # OBJDIRS - -#### TEMPLATE_REPOSITORY can be set in individual platform files -#### to create template repository directories. See -#### platform_sunos5_sunc++.GNU for an example. -OBJDIRS += $(TEMPLATE_REPOSITORY) - -all.local: build.objdirs build.local install.local - -#---------------------------------------------------------------------------- -# C/C++ compilation targets -#---------------------------------------------------------------------------- - -build.local: $(BUILD) - -# Set up the suffixes for C++ and IDL. -.SUFFIXES: -.SUFFIXES: .cpp .cc .C .idl $(SUFFIXES) - -# and here's how to compile C++ files from the IDL file. -# only ONE of these rules will be run at make-time, - -%S.cpp: %.idl - $(IDL) $(IDLFLAGS) $< - -%C.cpp: %.idl - $(IDL) $(IDLFLAGS) $< - -%.hh: %.idl - $(IDL) $(IDLFLAGS) $< - -# C++ related targets - -$(VDIR)%.o: %.c - $(COMPILE.c) -o $@ $< - ${MVCMD} - -$(VDIR)%.o: %.cpp - $(COMPILE.cc) -o $@ $< - ${MVCMD} - -#$(VDIR)%.o: %.C -# $(COMPILE.cc) -o $@ $< - -#$(VDIR)%.o: %.cc -# $(COMPILE.cc) -o $@ $< - -# If SOLINK is defined, then the .so file is built from the .o file via -# separate rules in the same directory. Otherwise, the .so and .o are -# built via the same rule. SOLINK is required for the repository under -# gcc. -ifndef SOLINK -# I added the "Executable Shared Object (ESO)" define to separate between -# normal shared object files and executable shared object files (the kind -# that the service configurator needs to be able to function). -# 970104 Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> -ifdef (ESOBUILD) -$(VSHDIR)%.$(SOEXT): %.cpp - $(ESOBUILD) -else -$(VSHDIR)%.$(SOEXT): %.cpp - $(SOBUILD) -endif -$(VSHDIR)%.o: %.cpp - $(COMPILE.cc) $(PIC) -o $@ $< -$(VSHDIR)%.o: %.cc - $(COMPILE.cc) $(PIC) -o $@ $< -$(VSHDIR)%.$(SOEXT): $(VSHDIR)%.o - $(SOLINK) -endif - -#---------------------------------------------------------------------------- -# Library generation targets -#---------------------------------------------------------------------------- - -.PRECIOUS: $(VLIB) - -#### show_statics shows static objects in locally-created object files. -#### It assumes that the object files were built using g++. -#### TOOLENV selects the proper nm in VxWorks host environments. -#### TOOLDIR allows specification of the full path to nm via definition -#### in the platform_macros.GNU file. -show_statics: - -@$(TOOLDIR)nm$(TOOLENV) -Co $(VSHDIR)*o | \ - egrep ' global destructors '; true - -#### show_uninit shows uninitialized data in locally-created object files. -#### TOOLENV selects the proper nm in VxWorks host environments. -show_uninit: - -@$(TOOLDIR)nm$(TOOLENV) -Co $(VSHDIR)*o | egrep ' b ' - -#---------------------------------------------------------------------------- -# Installation targets -#---------------------------------------------------------------------------- - -install.local: $(INSTALL) - -deinstall.local: - $(RM) $(INSTALL) $(LIB:%.a=$(INSLIB)/%*.a) $(SHLIB:%.$(SOEXT)=$(INSLIB)/%*.$(SOEXT)) - - -#### To disable installs, just add "INSTALL=" to your "make" invocation. - -$(INSBIN)/%$(VAR) \ -$(INSINC)/ace% \ -$(INSLIB)/%$(VAR).a \ -$(INSLIB)/%$(VAR).$(SOEXT)$(ACE_LDSO_Version_Number) \ -$(INSMAN)/man1/% \ -$(INSMAN)/man2/% \ -$(INSMAN)/man3/% \ -$(INSMAN)/man4/% \ -$(INSMAN)/man5/% \ -$(INSMAN)/man6/% \ -$(INSMAN)/man7/% \ -$(INSMAN)/man8/% \ -$(INSMAN)/manl/% \ -$(INSMAN)/mann/% : - @if test $(shell pwd) != $(@D) -o -n "$(ACE_LDSO_Version_Number)" ; then \ - if test -s $@ ; then \ - echo "$(@F) already installed" ; \ - else \ - echo "Installing $(@F) -> $(@D)" ; \ - ln -s $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Version_Number)=%.$(SOEXT)) $(@) ; \ - fi ; \ - fi -ifdef MVSLIB -#special for MVS in order to use the .x files - @if test -w $(@D) ; then \ - if test -s $(@:.$(SOEXT)=.x) ; then \ - echo "$(@F:.$(SOEXT)=.x) already installed" ; \ - else \ - echo "Installing $(@F:.$(SOEXT)=.x) -> $(@D)" ; \ - ln -s $(shell pwd)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \ - fi \ - fi -endif - -#---------------------------------------------------------------------------- -# Cleanup targets -#---------------------------------------------------------------------------- - -clean.local: - -$(RM) -f *.o *~ *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -$(RM) -rf $(OBJDIRS) $(TEMPINCDIR) ptrepository Templates.DB \ - gcctemp.c gcctemp so_locations - -realclean.local: clean.local - -$(RM) -f $(BIN:%=%) $(BIN:%=%_debug) $(BIN:%=%_profile) $(BIN:%=%_optimize) $(LIB:%=%) $(LIB:%=%_debug) $(LIB:%=%_profile) $(LIB:%=%_optimize) $(SHLIB:%=%) $(SHLIB:%=%_debug) $(SHLIB:%=%_profile) $(SHLIB:%=%_optimize) - -#---------------------------------------------------------------------------- -# Dependency generation target -#---------------------------------------------------------------------------- - -ifndef MAKEFILE - MAKEFILE=Makefile -endif # MAKEFILE - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # TAO_ROOT - -# If no libraries are build in the current directory (actually, if -# rules.lib.GNU isn't included), then SOEXT might not be set. -ifndef SOEXT - SOEXT=so -endif # SOEXT - -depend.local: $(MAKEFILE) - @$(RM) -f $(MAKEFILE).old - @cp $(MAKEFILE) $(MAKEFILE).old - $(ACE_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) -DMAKEDEPEND $(LSRC) $(SRC) $(PSRC) - @cat $(MAKEFILE) | \ - sed -e "s;$(TAO_ROOT);\$$(TAO_ROOT);g" \ - -e "s;$(ACE_ROOT);\$$(ACE_ROOT);g" \ - -e "s; /[-a-zA-Z0-9_./]*\.h;;g" \ - -e "s;\([-a-zA-Z0-9._]*\)\.o:;.obj/\1.o .obj/\1.$(SOEXT) $(VSHDIR)\1.o $(VSHDIR)\1.$(SOEXT):;" \ - > $(MAKEFILE).new - @mv $(MAKEFILE).new $(MAKEFILE) - @if cmp -s $(MAKEFILE) $(MAKEFILE).old ;\ - then echo "Makefile dependencies unchanged." ;\ - else \ - echo "Makefile dependencies updated." ;\ - fi ;\ - $(RM) -f $(MAKEFILE).old ; - -#---------------------------------------------------------------------------- -# RCS info target -#---------------------------------------------------------------------------- - -rcs_info.local: - @rcs info - -#---------------------------------------------------------------------------- -# Variant targets and conditional macros -#---------------------------------------------------------------------------- - -build.objdirs: $(OBJDIRS) - -$(OBJDIRS): - test -d $@ || mkdir $@ diff --git a/include/makeinclude/rules.nested.GNU b/include/makeinclude/rules.nested.GNU deleted file mode 100644 index 5bd378ea743..00000000000 --- a/include/makeinclude/rules.nested.GNU +++ /dev/null @@ -1,13 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Nested directory targets makefile definitions -#---------------------------------------------------------------------------- - -$(TARGETS_NESTED): - @for dir in $(DIRS) ;\ - do \ - (echo " ========> Making $(@:.nested=): `pwd`"; \ - $(MAKE) -C $$dir $(@:.nested=); \ - echo "<======== End $(@:.nested=): `pwd`") ; \ - done diff --git a/include/makeinclude/rules.nolocal.GNU b/include/makeinclude/rules.nolocal.GNU deleted file mode 100644 index f440e3b7d5e..00000000000 --- a/include/makeinclude/rules.nolocal.GNU +++ /dev/null @@ -1,8 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for directories with no local build targets -#---------------------------------------------------------------------------- - -$(TARGETS_LOCAL): - diff --git a/include/makeinclude/rules.nonested.GNU b/include/makeinclude/rules.nonested.GNU deleted file mode 100644 index a144a511fc0..00000000000 --- a/include/makeinclude/rules.nonested.GNU +++ /dev/null @@ -1,8 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Null nested targets -#---------------------------------------------------------------------------- - -$(TARGETS_NESTED): - diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU deleted file mode 100644 index 46ec75b64f7..00000000000 --- a/include/makeinclude/wrapper_macros.GNU +++ /dev/null @@ -1,335 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -#---------------------------------------------------------------------------- -# -# ACE supports the following flags. They can be enabled either on -# the command line, e.g., "make purify=1", or added to your -# platform_macros.GNU. To disable the option, set the flag to null, -# e.g., "make debug=". Some flags support setting to 0 disable, -# e.g., "make debug=0". debug=1 is enabled in the platform files -# that are released with ACE. -# -# Please note that the effects of a flag may be platform specific. -# Also, combinations of certain flags may or may not be allowed on -# specific platforms, e.g., debug=1 opt=1 is supported by g++ but -# not all other C++ compilers. -# -# Flag Description -# ---- ----------- -# debug Enable debugging; see DCFLAGS and DCCFLAGS. -# exceptions Enable exception handling (not supported by all platforms). -# fast Enable -fast option, e.g., with Sun C++. -# inline Enable ACE inlining. Some platforms enable inlining by -# default, others do not. -# optimize Enable optimization; see OCFLAGS and OCCFLAGS. -# orbix Enable use of Orbix. -# profile Enable profiling; see PCFLAGS and PCCFLAGS. -# purify Purify all executables. -# quantify Quantify all executables. -# shared_libs Build shared libraries. Ignored if static_libs_only is set. -# static_libs Build shared libraries. Ignored if shared_libs_only is set. -# shared_libs_only Only build shared libraries. Ignored if no SHLIBs are -# specified by the Makefile, as in performance-tests/Misc. -# static_libs_only Only build static libraries. -# -# Usually, users do not need to be concerned with make targets. -# Just enter "make" on the command line to build. A few notable -# targets are listed below. -# -# Target Description -# ------ ----------- -# show_statics Lists all static objects in object files built for -# current directory. Only supported for g++. -# show_uninit Lists all uninitialized in object files built for -# current directory. Only supported for g++. -# -# The following describes the ACE wrapper macros: -# -# Variable Description -# -------- ----------- -# ARFLAGS Flags for the archive utility (ar) -# CC C compiler command -# CXX C++ compiler command -# COMPILE.c Flags for compiling with C -# COMPILE.cc Flags for compiling with C++ -# CPPFLAGS C pre-processor flags -# CFLAGS C compilation flags -# CCFLAGS C++ compilation flags -# DCFLAGS C compilation flags for debugging -# DCCFLAGS C++ compilation flags for debugging -# DEFFLAGS C++ preprocessor flag for defining symbols -# DLD Name of dynamic linker -# LD Name of linker -# IDL Name of the CORBA IDL compiler -# INSBIN Binary (executable) installation directory -# INSINC Include file installation directory -# INSMAN Manpage installation directory -# INSLIB Library installation directory -# LDFLAGS ld linker flags -# LINK.c Flags for linking with C -# LINK.cc Flags for linking with C++ -# MAKEFLAGS Flags that are passed into the compilation from the commandline -# OCFLAGS Optimizing C compilation flags -# OCCFLAGS Optimizing C++ compilation flags -# ORBIX_ROOT Root of IONA's Orbix CORBA implementation -# PCFLAGS C compilation flags for profiling -# PCCFLAGS C++ compilation flags for profiling -# PRELINK Executable to precede linking, such as quantify -# PURELINK If set, contains purify executable as well as all options -# PURE_CACHE_BASE_DIR -# The base directory in which Pure products will produce instrumented -# libraries. -# PURE_CACHE_DIR -# The full name of the directory in which Pure produces will produce -# instrumented libraries. -# PTDIRS Pathnames of directories containing template code -# RM Name of program to use to remove files -# SOFLAGS Flags used to build a shared library -# SOLINK.cc Link line necessary to build a share library -# VAR Variant identifier suffix -# VDIR Directory for object code -# VSHDIR Directory for shared object code -# ACE_ROOT Pathname for the root of the build tree -# -#---------------------------------------------------------------------------- -# Platform-dependent macro definitions -# (link to the appropriate platform-specific config file). -#---------------------------------------------------------------------------- - -#### Default to building shared libraries only. Set it here to give the -#### platform a chance to override. -shared_libs = 1 -static_libs = 0 - -#### Let platform just look at whether or not exceptions is defined. -#### With the following override, it doesn't have to check for 0. -ifeq ($(exceptions),0) - override exceptions = -endif # exceptions - -#### Defined versioned_so = 1 if your platform requires version number -#### be appended after so library. -versioned_so = 0 - -include $(ACE_ROOT)/include/makeinclude/platform_macros.GNU - -#---------------------------------------------------------------------------- -# Platform-independent macro definitions -#---------------------------------------------------------------------------- - -CPPFLAGS += $(DEFFLAGS) $(INCLDIRS) -IDL = idl -IDLFLAGS = -A -B -s S.cpp -c C.cpp -ifeq (,$(findstring -I$(ACE_ROOT),$(INCLDIRS))) - INCLDIRS += -I. -I$(ACE_ROOT) -endif -INSBIN = $(ACE_ROOT)/bin -INSINC = $(ACE_ROOT)/ace -INSLIB = $(ACE_ROOT)/ace -INSMAN = $(ACE_ROOT)/man -ifeq (,$(findstring -L$(ACE_ROOT)/ace,$(LDFLAGS))) - LDFLAGS += -L$(ACE_ROOT)/ace -L./ -endif -LEX = flex -PCFLAGS += #### set in platform_macros.GNU file, e.g., -p -PCCFLAGS += #### set in platform_macros.GNU file, e.g., -p -RM = /bin/rm -VAR = -VDIR = .obj/ -ifndef ACELIB -ACELIB = -lACE -endif -ifndef VSHDIR -VSHDIR = .shobj/ -endif # VSHDIR -# NOTE: VLDLIBS is defined below, in case it is overridden for static- -# or shared-only builds. -YACC = yacc - -# Define SOEXT trailing digits if platform needs it. -ifeq ($(versioned_so),1) - ACE_LDSO_Version_Number := $(shell echo .`perl -ne 'if (/ACE version/) \ - { s/[^0-9]+(\d+\.\d+)(\.\d+)?.+/\1/ ; print }' ${ACE_ROOT}/VERSION `) -else - ACE_LDSO_Version_Number = -endif - -#---------------------------------------------------------------------------- -# make flags -#---------------------------------------------------------------------------- - -ifeq ($(optimize),0) - override optimize = -endif # optimize - -ifneq ($(optimize),) - CFLAGS += $(OCFLAGS) - CCFLAGS += $(OCCFLAGS) -endif # optimize - -ifeq ($(debug),0) - override debug = -endif # debug - -ifeq ($(debug),) - CFLAGS += -DACE_NDEBUG - CCFLAGS += -DACE_NDEBUG -else - CFLAGS += $(DCFLAGS) - CCFLAGS += $(DCCFLAGS) -endif # debug - -ifdef exceptions - CCFLAGS += -DACE_HAS_EXCEPTIONS -else - ifeq ($(CXX),g++) - #### Disable the default exception handling of g++ >= 2.8.0. - G++_HAS_EXCEPTIONS := \ - $(shell if g++ --version | egrep -v '^2\.[0-7]' > /dev/null; then \ - echo 1; fi) - ifdef G++_HAS_EXCEPTIONS - CCFLAGS += -fno-exceptions - endif # G++_HAS_EXCEPTIONS - endif # g++ -endif # exceptions - -ifeq ($(profile),0) - override profile = -endif # profile - -ifneq ($(profile),) - CFLAGS += $(PCFLAGS) - CCFLAGS += $(PCCFLAGS) -endif # profile - -ifeq ($(inline),0) - CCFLAGS += -DACE_NO_INLINE -else -ifeq ($(inline),1) - CCFLAGS += -D__ACE_INLINE__ -endif # inline eq 1 -endif # inline eq 0 - -ifeq ($(shared_libs),0) - override shared_libs = -endif # shared_libs -ifeq ($(static_libs),0) - override static_libs = -endif # static_libs - -ifeq ($(shared_libs_only),0) - override shared_libs_only = -endif # shared_libs_only -ifeq ($(static_libs_only),0) - override static_libs_only = -endif # static_libs_only - -ifdef shared_libs_only - override shared_libs = 1 - override static_libs = -endif # shared_libs_only -ifdef static_libs_only - override shared_libs = - override static_libs = 1 -endif # static_libs_only - -ifdef shared_libs - ifdef static_libs - #### Build both shared and static libs. - else # ! static_libs - #### Build shared libs only. - ifeq ($(SHLIB),) - #### Makefile only specifies static libs, so only build static libs. - else # ! SHLIB - #### Don't build static libs. - BUILD = $(VSHLIB) $(SHLIBA) $(VBIN) - LIB = - OBJEXT = so - VDIR = .shobj/ - ifeq ($(BIN),) - #### No executables are being built, so don't create .obj/. - OBJDIRS = .shobj - endif # BIN - endif # ! SHLIB - endif # ! static_libs -else # ! shared_libs - ifdef static_libs - #### Don't build shared libs. - BUILD = $(VLIB) $(VBIN) - OBJDIRS = .obj - PIC = - SHLIB = - SOEXT = o - VSHDIR = .obj/ - VLDLIBS = $(LDLIBS:%.so=%.o) - else # ! static_libs - #### Don't build any libs. - BUILD = $(VBIN) - endif # ! static_libs -endif # ! shared_libs - -ifdef SHLIBA - VLDLIBS := $(LDLIBS) -lACEshr $(LIBS) -else - VLDLIBS := $(LDLIBS) $(ACELIB) $(LIBS) -endif # SHLIBA - - -ifeq ($(purify),0) - override purify = -endif # purify - -PURE_CACHE_BASE_DIR = /tmp/purifycache -PURE_CACHE_DIR = $(PURE_CACHE_BASE_DIR)-$(LOGNAME)-$(CXX) - -ifdef purify - #### You might want to adjust the Purify options below. - #### -best-effort is undocumented but supported, and seems - #### to help avoid occasional link failure. - #### SIGINT is used by the ACE Thread_Manager_Test. - PURELINK += purify -best-effort -chain-length=20 \ - -cache-dir=$(PURE_CACHE_DIR) \ - -fds-inuse-at-exit=no -ignore-signals=SIGINT -inuse-at-exit \ - -max_threads=100 - CFLAGS += -DACE_PURIFY -endif # purify - -ifeq ($(quantify),0) - override quantify = -endif # quantify - -ifdef quantify - #### You might want to adjust the Quantify options below. - #### -best-effort is undocumented but supported, and seems - #### to help avoid occasional link failure. - PRELINK += quantify -best-effort -max_threads=100 \ - -cache-dir=$(PURE_CACHE_DIR) - CFLAGS += -DACE_QUANTIFY -endif # quantify - - -#---------------------------------------------------------------------------- -# Conditional macro definitions -#---------------------------------------------------------------------------- - -COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c -COMPILE.cc = $(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -c -COMPILE-NO_DASH_G.cc = `echo $(COMPILE.cc) | sed 's/-g //'` -# 960905 Marius Kjeldahl <marius@funcom.com> -# Added the line below to be used for compiling executable shared objects -COMPILEESO.cc = $(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) - -ifeq ($(LINK.c),override) - LINK.c = $(LINK.c.override) -else - LINK.c = $(PURELINK) $(PRELINK) $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) \ - $(LIBS) -endif # LINK.c.override - -ifeq ($(LINK.cc),override) - LINK.cc = $(LINK.cc.override) -else - LINK.cc = $(PURELINK) $(PRELINK) $(LD) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -endif # LINK.cc.override - -SOLINK.cc = $(PRELINK) $(DLD) $(SOFLAGS) |