diff options
Diffstat (limited to 'include/makeinclude')
56 files changed, 0 insertions, 2401 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 4996605e6a2..00000000000 --- a/include/makeinclude/platform_chorus.GNU +++ /dev/null @@ -1,51 +0,0 @@ -# $Id$ - -# Chorus 3.1b with GNU g++ 2.7.2 - -CHORUS = 1 - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - -# -# The following file includes definitions such as $(CC), $(XDIR), etc. -# -include $(CLASSIXDIR)/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_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_freebsd.GNU b/include/makeinclude/platform_freebsd.GNU deleted file mode 100644 index 90ee7e6ba19..00000000000 --- a/include/makeinclude/platform_freebsd.GNU +++ /dev/null @@ -1,27 +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 - -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 -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 947d47924e8..00000000000 --- a/include/makeinclude/platform_freebsd_pthread.GNU +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ - -# platform_freebsd_pthread.GNU - -# ***** Notice: This configuration is still under debugging. ***** -optimize = 1 -# ***** It still doesn't work quite the way it expected to. ***** - -# For pthreads support on FreeBSD, you need -# -D_POSIX_THREADS -# You must have the latest pthread library by John Birrell. -# and link with reentrant library libc_r. If you can't find this -# library (libc_r.so) in your system, do a "man pthread" and follow the -# instruction to build your own. You must have at least 3.0-current as -# of 2/9/1997 to take advantage of the latest feature of pthread library. - -debug = 1 - -CC = gcc -CXX = g++ -CFLAGS += -w -fno-strict-prototypes -D_POSIX_THREADS -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 -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 8b0745fc5f3..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 -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 44928fe99e8..00000000000 --- a/include/makeinclude/platform_irix6.x-sgic++.GNU +++ /dev/null @@ -1,51 +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 - -# 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 $@ 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 7633de7e30c..00000000000 --- a/include/makeinclude/platform_linux.GNU +++ /dev/null @@ -1,31 +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 -fno-strict-prototypes -pipe -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -OCFLAGS += -O3 -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -#### as appears to have a string limit of about 4096 characters. -#### Suppressing the -g for a few files helps. It really only -#### needs to be suppressed on Alphas, so you can comment this line -#### out if you're on an Intel platform. -SUPPRESS_DASH_G = 1 diff --git a/include/makeinclude/platform_linux_kcc.GNU b/include/makeinclude/platform_linux_kcc.GNU deleted file mode 100644 index 0c5e937f811..00000000000 --- a/include/makeinclude/platform_linux_kcc.GNU +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ - -# According to Ben Eng <ben@jetpen.com>, this file -# should allow ACE to be built on Linux using KAI C++. - -debug = 1 -optimize = 0 - -CC = KCC -CXX = KCC --no_auto_instantiation -x -CFLAGS += -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -DNULL=0 -DCFLAGS += +K0 -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -OCFLAGS += +K3 -O -PIC = -fPIC -AR = $(CXX) -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 47dc9cea08a..00000000000 --- a/include/makeinclude/platform_linux_lxpthread.GNU +++ /dev/null @@ -1,42 +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 -fno-strict-prototypes -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 = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# 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 - -#### as appears to have a string limit of about 4096 characters. -#### Suppressing the -g for a few files helps. It really only -#### needs to be suppressed on Alphas, so you can comment this line -#### out if you're on an Intel platform. -SUPPRESS_DASH_G = 1 diff --git a/include/makeinclude/platform_linux_lxpthreads.GNU b/include/makeinclude/platform_linux_lxpthreads.GNU deleted file mode 100644 index 47dc9cea08a..00000000000 --- a/include/makeinclude/platform_linux_lxpthreads.GNU +++ /dev/null @@ -1,42 +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 -fno-strict-prototypes -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 = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# 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 - -#### as appears to have a string limit of about 4096 characters. -#### Suppressing the -g for a few files helps. It really only -#### needs to be suppressed on Alphas, so you can comment this line -#### out if you're on an Intel platform. -SUPPRESS_DASH_G = 1 diff --git a/include/makeinclude/platform_linux_pthread.GNU b/include/makeinclude/platform_linux_pthread.GNU deleted file mode 100644 index 8ce3d00f13f..00000000000 --- a/include/makeinclude/platform_linux_pthread.GNU +++ /dev/null @@ -1,37 +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 = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -#### as appears to have a string limit of about 4096 characters. -#### Suppressing the -g for a few files helps. It really only -#### needs to be suppressed on Alphas, so you can comment this line -#### out if you're on an Intel platform. -SUPPRESS_DASH_G = 1 diff --git a/include/makeinclude/platform_lynxos.GNU b/include/makeinclude/platform_lynxos.GNU deleted file mode 100644 index 64dd4bff1af..00000000000 --- a/include/makeinclude/platform_lynxos.GNU +++ /dev/null @@ -1,91 +0,0 @@ -# $Id$ -# LynxOS with g++ - -# NOTE: with LynxOS 2.5.0-FCS version: 012797-G, you'll need to -# apply this patch: -# ftp://ftp.lynx.com/pub/patches/v2.5-patches/v2.5-on-x86/000134-00.tar.Z -# -# And, you'll need to apply this patch to /usr/include/netinet/in.h: -# --- in.h.ORIGINAL Sat Feb 8 09:58:28 1997 -# +++ in.h Wed Nov 26 15:41:04 1997 -# @@ -278,8 +278,7 @@ -# compiler, the macros are not defined: Functions must be used. -# */ -# static __inline__ unsigned short -# -htons(arg) -# -unsigned short arg; -# +htons(unsigned short arg) -# { -# unsigned short retval; -# -# @@ -292,8 +291,7 @@ -# } -# -# static __inline__ unsigned long -# -htonl(arg) -# -unsigned long arg; -# +htonl(unsigned long arg) -# { -# unsigned long retval; -# -# And this patch to /usr/include/name.h: -# --- name.h.ORIGINAL Sat Feb 8 09:57:36 1997 -# +++ name.h Wed Nov 26 22:38:28 1997 -# @@ -112,7 +112,7 @@ -# static __inline__ int _name_fchmod(int nsid, mode_t mode) -# { return _name_server(_NS_FCHMOD, nsid, mode); } -# -# -static __inline__ int _name_fchown(int nsid, uid_t owner, gid_t group) -# +static __inline__ int _name_fchown(int /* nsid */, uid_t owner, gid_t group) -# { return _name_server(_NS_FCHOWN, owner, group); } -# -# static __inline__ int _name_close(int nsid) -# -# And this patch to /usr/include/scsi.h: -# --- scsi.h.ORIGINAL Sat Feb 8 09:57:43 1997 -# +++ scsi.h Mon Dec 1 09:13:13 1997 -# @@ -166,7 +166,7 @@ -# ------------------------------------------------------------------------------ -# */ -# #define GET_DATA_BUFFER_STATUS 0x34 /* O 14.2.1 */ -# -#define GET WINDOW 0x25 /* O 14.2.2 */ -# +#define GET_WINDOW 0x25 /* O 14.2.2 */ -# #define OBJECT_POSITION 0x31 /* O 14.2.3 */ -# #define SCAN 0x1B /* O 14.2.5 */ -# #define SET_WINDOW 0x24 /* M 14.2.6 */ -# -# And this patch to /usr/include/netdb.h: -# --- netdb.h.ORIGINAL Sat Feb 8 09:57:36 1997 -# +++ netdb.h Mon Dec 1 10:57:15 1997 -# @@ -95,6 +95,8 @@ -# extern struct protoent *getprotobyname _AP((char *)); -# extern struct protoent *getprotobynumber _AP((int)); -# extern struct protoent *getprotoent _AP((void)); -# +int sethostent _AP((int)); -# +int endhostent _AP((void)); -# -# /* -# * Error return codes from gethostbyname() and gethostbyaddr() - - -debug = 1 -shared_libs = -static_libs = 1 - -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 eea540f42e5..00000000000 --- a/include/makeinclude/platform_mvs.GNU +++ /dev/null @@ -1,36 +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 -SOBUILD = @echo $(COMPILE.cc) -W c,exportall -o $(VSHDIR)$*.o $<; \ - $(COMPILE.cc) -W c,exportall $<; \ - test ! -s $*.o || mv $*.o $(VSHDIR)/$*.o; \ - test -s $@ || ln -s $*.o $@ diff --git a/include/makeinclude/platform_netbsd.GNU b/include/makeinclude/platform_netbsd.GNU deleted file mode 100644 index c15487d86f1..00000000000 --- a/include/makeinclude/platform_netbsd.GNU +++ /dev/null @@ -1,27 +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 - -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 3bf7a244ae3..00000000000 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ /dev/null @@ -1,42 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with -# Digital UNIX 4.0 (OSF/1 4.0). - -debug = 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 -ifeq ($(CXX_VER),POST_5X) - WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \ - -msg_disable 9,174,193,236,340,401 -endif - -CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS) -DCFLAGS += -g -O0 -DLD = $(CXX) -LD = $(CXX) -LIBS += $(CFLAGS) -ptr ptrepository -ltli -lrt -OCFLAGS += -O4 -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_osf1_4.0_g++.GNU b/include/makeinclude/platform_osf1_4.0_g++.GNU deleted file mode 100644 index 853fd997f93..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) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true 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 b8ebf4bb0cd..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 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 ./ ${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 += -b elf -w -CCFLAGS += -b elf -fpic -Xpg4plus -fno-implicit-templates -I ${FSU_PTHREADS_DIR}/include -I /usr/progressive/lib/g++-include -DCFLAGS += -gstabs -DCCFLAGS += $(DCFLAGS) -DLD = $(CXX) -LD = $(CXX) -LIBS = -L${FSU_PTHREADS_DIR}/lib -lnsl -lsocket -lgthreads -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-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_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_g++.GNU b/include/makeinclude/platform_sunos5_g++.GNU deleted file mode 100644 index 51e774145cf..00000000000 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ - -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix - -debug = 1 -optimize = 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -pipe #### -Winline -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += # -z muldefs -LIBS += -lsocket -ldl -lgen -lnsl -lthread -lw -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = @true -SOFLAGS = -G $(CPPFLAGS) -# SOBUILD - compile into .so directly -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 fc39eeb36bb..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++.GNU +++ /dev/null @@ -1,104 +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. -CCFLAGS += $(CFLAGS) $(EXFLAGS) -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. -ifdef exceptions -EXFLAGS += -DACE_HAS_EXCEPTIONS -else -EXFLAGS += -noex -endif # exceptions - -LD = $(CXX) - -ifdef orbix - LDFLAGS += $(PIC) -L$(ORBIX_ROOT)/corba2/lib -R $(ACE_ROOT)/ace -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 - LIBS += -lsocket -ldl -lnsl -lgen -endif # orbix - -LDFLAGS += -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 = -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 7d2c33c249e..00000000000 --- a/include/makeinclude/platform_vxworks5.x_g++.GNU +++ /dev/null @@ -1,79 +0,0 @@ -# $Id$ -# VxWorks 5.2-5.3.1 with GNU g++ 2.7.2 - -#### Notes: -#### 1) This file assumes that the WIND_BASE environment variable is set. -#### -#### 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. - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - - -#### BEGIN 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: -#### CPU = I80486 -#### include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.2_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 CPU-specific settings - - -TARGET_DIR = $(WIND_BASE)/target -HOST_DIR = $(WIND_BASE)/host/sun4-solaris2 -BIN_DIR = $(HOST_DIR)/bin - -CC = cc$(TOOLENV) -CXX = g++$(TOOLENV) -CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin -fno-defer-pop -fvolatile -nostdinc -nostdlib -pipe -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 = $(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. -OCFLAGS += -O -PIC = -AR = ar$(TOOLENV) -ARFLAGS = rv -RANLIB = /bin/true -VXWORKS = 1 - -#### 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) -POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) xsymDec < $@ > $@.sym diff --git a/include/makeinclude/platform_vxworks5.x_ghs.GNU b/include/makeinclude/platform_vxworks5.x_ghs.GNU deleted file mode 100644 index fedb15a8ebf..00000000000 --- a/include/makeinclude/platform_vxworks5.x_ghs.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ - -# VxWorks 5.2-5.3.1 with Green Hills 1.8.8 - -debug = 1 -shared_libs = -static_libs = 1 - -CC = cxvxppc -CXX = $(CC) -CCFLAGS += $(CFLAGS) --no_rtti -tnone -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS = --no_auto_instantiation -LIBS += /appl/newgreen/vxppc603/ghsbltin.o /appl/newgreen/vxppc603/ghsmath.o -OFLAGS += -O -OM -OL -PIC = -AR = ax -ARFLAGS = rv -RANLIB = /bin/true -VXWORKS = 1 diff --git a/include/makeinclude/rules.bin.GNU b/include/makeinclude/rules.bin.GNU deleted file mode 100644 index 1b30f417237..00000000000 --- a/include/makeinclude/rules.bin.GNU +++ /dev/null @@ -1,12 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Build binaries -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -VBIN = $(BIN:%=%$(VAR)) - -$(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 094c724fbd1..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)) -VOBJS = $(LSRC:%.cpp=$(VDIR)%.$(OBJEXT)) - -ifdef TEMPINCDIR -VSHOBJS1 = -else -LSRC += $(LSRC2) -ifdef PRELIB -ifdef PRELIB_USES_OBJ_ONLY -VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.o) -else -VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.$(SOEXT)) -endif -VSHOBJS1 = $(VSHOBJS) -else -VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.$(SOEXT)) -VSHOBJS1 = $(LSRC:%.cpp=$(VSHDIR)%.o) -endif -endif - -# Comment out for now... -# $(DEFS:%=$(INSINC)/%) \ - -ifdef shared_libs_only - INSTALL = $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)) -else -ifdef static_libs_only - INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) -else - INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \ - $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)) -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): $(VOBJS) -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 f81abdc50cb..00000000000 --- a/include/makeinclude/rules.local.GNU +++ /dev/null @@ -1,208 +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) \ -$(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) ; then \ - if test -s $@ ; then \ - echo "$(@F) already installed" ; \ - else \ - echo "Installing $(@F) -> $(@D)" ; \ - ln -s $(shell pwd)/$(@F) $@ ; \ - 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 - -depend.local: $(MAKEFILE) - @$(RM) -f $(MAKEFILE).old - @cp $(MAKEFILE) $(MAKEFILE).old - $(ACE_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) -DMAKEDEPEND $(LSRC) $(SRC) - @cat $(MAKEFILE) | \ - if [ $(TAO_ROOT). = "." ] ;\ - then \ - sed -e "s;$(ACE_ROOT);\$$(ACE_ROOT);g" \ - -e "s; /[-a-zA-Z0-9_./]*\.h;;g" \ - -e "/:$$/d" \ - -e "s;\([-a-zA-Z0-9._]*\)\.o:;.obj/\1.o $(VSHDIR)\1.$(SOEXT):;" ;\ - else \ - sed -e "s;$(TAO_ROOT);\$$(TAO_ROOT);g" \ - -e "s;$(ACE_ROOT);\$$(ACE_ROOT);g" \ - -e "s; /[-a-zA-Z0-9_./]*\.h;;g" \ - -e "/:$$/d" \ - -e "s;\([-a-zA-Z0-9._]*\)\.o:;.obj/\1.o $(VSHDIR)\1.$(SOEXT):;" ;\ - fi \ - > $(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 ce8ce054afc..00000000000 --- a/include/makeinclude/wrapper_macros.GNU +++ /dev/null @@ -1,289 +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 purify or quantify -# PTDIRS Pathnames of directories containing template code -# RM Name of program to use to remove files -# SOFLAGS Flags used to build a shared library -# SOBUILD 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 - -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 -INCLDIRS += -I. -I$(ACE_ROOT) -INSBIN = $(ACE_ROOT)/bin -INSINC = $(ACE_ROOT)/ace -INSLIB = $(ACE_ROOT)/ace -INSMAN = $(ACE_ROOT)/man -LDFLAGS += -L$(ACE_ROOT)/ace -L./ -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 - -#---------------------------------------------------------------------------- -# 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 - -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 - -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. - PRELINK += purify -best-effort -chain-length=20 \ - -cache-dir=/tmp/purifycache-$(LOGNAME)-$(CXX) \ - -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=/tmp/purifycache-$(LOGNAME)-$(CXX) - 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 = $(PRELINK) $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) \ - $(LIBS) -endif # LINK.c.override - -ifeq ($(LINK.cc),override) - LINK.cc = $(LINK.cc.override) -else - LINK.cc = $(PRELINK) $(LD) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -endif # LINK.cc.override - -SOLINK.cc = $(PRELINK) $(DLD) $(SOFLAGS) |