diff options
Diffstat (limited to 'include')
49 files changed, 0 insertions, 1513 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 a969c5227b1..00000000000 --- a/include/makeinclude/platform_aix.GNU +++ /dev/null @@ -1,31 +0,0 @@ -# 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. - -CC = xlC -CXX = xlC_r -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 += -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 1e55858eec7..00000000000 --- a/include/makeinclude/platform_aix4.2.GNU +++ /dev/null @@ -1,31 +0,0 @@ -# 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 - -CC = xlC -CXX = xlC_r -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 = -lC_r -lC -lpthreads -lbsd -ltli_r -ldl -lc_r -lm -lc $(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 += -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 b4a1511d2e1..00000000000 --- a/include/makeinclude/platform_chorus.GNU +++ /dev/null @@ -1,43 +0,0 @@ -# Chorus 3.1b with GNU g++ 2.7.2 -# *not* using Orbix -# -# Note: Change CLASSIXDIR to an appropriate directory - -CLASSIXDIR = /usr/home/chiang/chorus/merge/extended-i386at -INC_DIR = $(CLASSIXDIR)/include -BIN_DIR = -LIB_DIR = $(CLASSIXDIR)/lib - -CC = gcc -CXX = g++ - -CFLAGS += -w -O2 -CCFLAGS += -w -O2 -fno-implicit-templates \ - -fno-strict-prototypes \ - -D_POSIX_THREADS \ - -D_POSIX_THREAD_SAFE_FUNCTIONS - -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 - -LIBS += -lC -lcx.u -PIC = -fPIC -AR = ar -ARFLAGS = rv -RANLIB = /bin/true -PRELIB = (echo "main() { }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LD) $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp.* a.out; exit $$status) - -#### don't build shared objects: -BUILD = $(VOBJS) $(VLIB) $(VBIN) diff --git a/include/makeinclude/platform_dgux4_epc.GNU b/include/makeinclude/platform_dgux4_epc.GNU deleted file mode 100644 index 7a9fff0abca..00000000000 --- a/include/makeinclude/platform_dgux4_epc.GNU +++ /dev/null @@ -1,17 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.x -# *not* using Orbix -CC = gcc -CXX = ec++ -## CCFLAGS += -relax -tproff -CCFLAGS += -relax -v -eh -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_hpux.GNU b/include/makeinclude/platform_hpux.GNU deleted file mode 100644 index 352336482f7..00000000000 --- a/include/makeinclude/platform_hpux.GNU +++ /dev/null @@ -1,24 +0,0 @@ -CC = /bin/cc -CXX = /usr/bin/CC -DLD = $(CXX) -LD = $(CXX) -PIC = +Z -ARFLAGS = ruv -RANLIB = echo -CFLAGS = $(DCFLAGS) -Aa -z -LDFLAGS = -L$(WRAPPER_ROOT)/ace -Wl,+s -LIBS += -lxti -CCFLAGS = -Aa -pta -ptb -z -SOFLAGS = -b -SOEXT = sl -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_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU deleted file mode 100644 index eb1a899eb47..00000000000 --- a/include/makeinclude/platform_hpux_aCC.GNU +++ /dev/null @@ -1,19 +0,0 @@ -CC = /bin/cc -CXX = /opt/aCC/bin/aCC -DLD = $(CXX) -LD = $(CXX) -PIC = +Z -ARFLAGS = ruv -RANLIB = echo -CFLAGS = $(DCFLAGS) -LDFLAGS = -L$(WRAPPER_ROOT)/ace -Wl,+s -LIBS += -lxti -CCFLAGS = -SOFLAGS = -b -SOEXT = sl -SHLIBBUILD = $(SOLINK.cc) -o $@ $(VSHOBJS1) -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_gcc.GNU b/include/makeinclude/platform_hpux_gcc.GNU deleted file mode 100644 index 3a85639ee52..00000000000 --- a/include/makeinclude/platform_hpux_gcc.GNU +++ /dev/null @@ -1,21 +0,0 @@ -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -CCFLAGS += -w -O2 -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -PIC = -fPIC -ARFLAGS = ruv -RANLIB = echo -CFLAGS = $(DCFLAGS) -LDFLAGS = -L$(WRAPPER_ROOT)/ace -Wl,+s -LIBS += -lxti -CCFLAGS = -SOFLAGS = $(CPPFLAGS) -shared -nostdlib -SOEXT = sl -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -SHLIBBUILD = $(SOLINK.cc) -o $@ $(VSHOBJS1) -PRELIB = (echo "main() { }" > gcctemp.c && \ - $(COMPILE.cc) $(PIC) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_hpux_orbix.GNU b/include/makeinclude/platform_hpux_orbix.GNU deleted file mode 100644 index 7fde5f5f05a..00000000000 --- a/include/makeinclude/platform_hpux_orbix.GNU +++ /dev/null @@ -1,24 +0,0 @@ -# Assume the existence of Orbix with HP/UX... -CC = /bin/cc -CXX = /usr/bin/CC -DLD = $(CXX) -LD = $(CXX) -INCLDIRS = -I$(ORBIX_ROOT)/include -PIC = -ARFLAGS = ruv -RANLIB = echo -CFLAGS = -Aa -z +z $(DCFLAGS) -LDFLAGS = -L$(ORBIX_ROOT)/lib -L$(WRAPPER_ROOT)/ace -Wl,+s -CCFLAGS = -Aa -z +z -pta -ptb -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 8c215de8764..00000000000 --- a/include/makeinclude/platform_irix5.2.GNU +++ /dev/null @@ -1,13 +0,0 @@ -# Irix 5.2 with gcc 2.6.1 -MAKE = gmake -CC = gcc -CXX = g++ -CCFLAGS += -O2 -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -LIBS += -ldl -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 82eba502d1f..00000000000 --- a/include/makeinclude/platform_irix5.3_g++.GNU +++ /dev/null @@ -1,14 +0,0 @@ -# Irix 5.3 with GNU C++ - -CC = gcc -CXX = g++ -CCFLAGS += -O2 -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L$(WRAPPER_ROOT)/ace -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 74315b3f4aa..00000000000 --- a/include/makeinclude/platform_irix5.3_sgic++.GNU +++ /dev/null @@ -1,20 +0,0 @@ -# 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. - -CC = cc -CXX = CC -DLD = $(CXX) -LD = $(CXX) -CPPFLAGS += -ptused -prelink +pp -woff 3203,3209,3161,3262,3665 -LDFLAGS += -rpath "$(WRAPPER_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.2_sgiCC.GNU b/include/makeinclude/platform_irix6.2_sgiCC.GNU deleted file mode 100644 index 5a6ceaafc10..00000000000 --- a/include/makeinclude/platform_irix6.2_sgiCC.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# Irix 6.2 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. -# - -CC = cc -CXX = CC -DLD = $(CXX) -LD = $(CXX) - - -CPPFLAGS += -ptall -O +pp -D_SGI_MP_SOURCE -woff 3203,3209,3161,3262,3665 - -##CPPFLAGS += -ptused -prelink +pp -D_SGI_MP_SOURCE -woff 3203,3209,3161,3 -2 -62,3665 -LDFLAGS += -rpath "$(WRAPPER_ROOT)/ace" -### LDFLAGS += -rpath "$(WRAPPER_ROOT)/ace" -Wl,-woff,85 -LIBS += -lpthread -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.2_sgic++.GNU b/include/makeinclude/platform_irix6.2_sgic++.GNU deleted file mode 100644 index 1b86ace1b30..00000000000 --- a/include/makeinclude/platform_irix6.2_sgic++.GNU +++ /dev/null @@ -1,75 +0,0 @@ -# Irix 6.2 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. -# -# I (Gonzalo Diethelm <gonzo@@ing.puc.cl>) also turned off warning 85 -# from the linker; otherwise there are a lot of warnings about symbols -# in the pthread library overriding symbols in the C library (which is -# OK), and added libpthread.so to the link phase. - -CC = cc -CXX = CC -DLD = $(CXX) -LD = $(CXX) -CPPFLAGS += -ptused -prelink -D_SGI_MP_SOURCE -# 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 "$(WRAPPER_ROOT)/ace" -Wl,-woff,85 -LIBS += -lpthread -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 -@ - - -4.2 -log -@*** empty log message *** -@ -text -@d20 1 -a20 1 -CPPFLAGS += +pp -woff 3203,3209,3161,3262,3665 -@ - - -4.1 -log -@Changed wrapper_macros.GNU to use LD for links instead of CXX. Changed -nearly all platform files to correspond by defining LD to be CXX. -@ -text -@d16 5 -a20 1 -CPPFLAGS += -ptused -prelink +pp -D_SGI_MP_SOURCE -woff 3203,3209,3161,3262,3665 -@ - - -4.0 -log -@Initial revision -@ -text -@d12 14 -a25 13 -CC = cc -CXX = CC -DLD = $(CXX) -CPPFLAGS += -ptused -prelink +pp -D_SGI_MP_SOURCE -woff 3203,3209,3161,3262,3665 -LDFLAGS += -rpath "$(WRAPPER_ROOT)/ace" -Wl,-woff,85 -LIBS += -lpthread -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_linux.GNU b/include/makeinclude/platform_linux.GNU deleted file mode 100644 index 6e03fbd131f..00000000000 --- a/include/makeinclude/platform_linux.GNU +++ /dev/null @@ -1,21 +0,0 @@ -# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file -# should allow ACE to be built on Linux. - -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -fno-strict-prototypes -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_linux_lxpthread.GNU b/include/makeinclude/platform_linux_lxpthread.GNU deleted file mode 100644 index 9b563fe2897..00000000000 --- a/include/makeinclude/platform_linux_lxpthread.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# 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> - -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -fno-strict-prototypes -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -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 $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_linux_lxpthreads.GNU b/include/makeinclude/platform_linux_lxpthreads.GNU deleted file mode 100644 index 9b563fe2897..00000000000 --- a/include/makeinclude/platform_linux_lxpthreads.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# 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> - -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -fno-strict-prototypes -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -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 $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_linux_pthread.GNU b/include/makeinclude/platform_linux_pthread.GNU deleted file mode 100644 index a39d75b6a72..00000000000 --- a/include/makeinclude/platform_linux_pthread.GNU +++ /dev/null @@ -1,27 +0,0 @@ -# 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> - -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -fno-strict-prototypes -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthreads -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_m88k.GNU b/include/makeinclude/platform_m88k.GNU deleted file mode 100644 index 06ed589e671..00000000000 --- a/include/makeinclude/platform_m88k.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.x -# *not* using Orbix -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -CCFLAGS += -w -D__m88k__ -O2 -fno-implicit-templates -fno-strict-prototypes -DLD = $(CXX) -LD = $(CXX) -INCLDIRS += -I$(WRAPPER_ROOT) -I. -INCLDIRS += -I/devel/rmm/v1.0/local/src/threads/include -LDFLAGS += -L $(WRAPPER_ROOT)/ace -L ./ -LDFLAGS += -L/devel/rmm/v1.0/local/src/threads/lib -LIBS += -lsocket -ldl -lnsl -lgen -lstdc++ -lg++ -LIBS += -lgthreads -lgmalloc -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 = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) diff --git a/include/makeinclude/platform_mvs.GNU b/include/makeinclude/platform_mvs.GNU deleted file mode 100644 index 4b9563ce504..00000000000 --- a/include/makeinclude/platform_mvs.GNU +++ /dev/null @@ -1,29 +0,0 @@ -# For MVS OpenEdition platform - -CXX = cxx -CPPFLAGS = -+ -DEFFLAGS = -D_ALL_SOURCE -DNDEBUG -CC = $(CXX) -LD = $(CXX) -DLD = $(CXX) -AR = ar -ARFLAGS = ruv -#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 -MVSLIB_STATIC = -lACE - -# Used to build shared executables (much smaller in size) -MVSLIB_DLL = $(WRAPPER_ROOT)/ace/libACE.x - -# set accordingly to build either static or shared executables -MVSLIB = $(MVSLIB_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_osf1_3.2.GNU b/include/makeinclude/platform_osf1_3.2.GNU deleted file mode 100644 index 1dda8982c21..00000000000 --- a/include/makeinclude/platform_osf1_3.2.GNU +++ /dev/null @@ -1,16 +0,0 @@ -# This platform macros file is intended to work with Digital UNIX 3.2 (OSF/1 3.2). - -CC = cxx -CXX = $(CC) -CFLAGS += -non_shared -CCFLAGS += $(CFLAGS) -x cxx -w0 -#DLD = ld -non_shared -DLD = ld -shared -LD = $(CXX) -LIBS += -lpthreads -lmach -lsys5 -lxti -ltli -lcxx -lexc -lc -PIC = -pic -ARFLAGS = ruv -RANLIB = ranlib -SOFLAGS = -shared -assert -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -lcxx -ltask -lexc -lc diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU deleted file mode 100644 index abb080db414..00000000000 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ /dev/null @@ -1,17 +0,0 @@ -# This platform macros file is intended to work with Digital UNIX 4.0 (OSF/1 4.0). - -CC = cxx -CXX = $(CC) -CFLAGS += -pthread -ptr $(WRAPPER_ROOT)/ace/cxx_repository -CCFLAGS += $(CFLAGS) -w0 -DLD = $(CXX) -LD = $(CXX) -LIBS += -pthread -ltli -lrt -PIC = -ARFLAGS = ruvZ -# When libraries are archived, a hash index is automatically created so there -# is no need for ranlib -RANLIB = /usr/bin/true -SOFLAGS = -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -lACE $(LIBS) 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 a88d64e5654..00000000000 --- a/include/makeinclude/platform_osf1_4.0_g++.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# 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). - -CC = gcc -CXX = g++ -CFLAGS += -D_REENTRANT -O2 -CCFLAGS += -D_REENTRANT -O2 -fno-implicit-templates -fno-strict-prototypes -LD = $(CXX) -DLD = $(CXX) -LIBS += -lpthread -lmach -lexc -ltli -lrt -PIC = -fpic -ARFLAGS = ruvZ -# 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 = (echo "main() { }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) - diff --git a/include/makeinclude/platform_sco-nothread.GNU b/include/makeinclude/platform_sco-nothread.GNU deleted file mode 100644 index b10da7e7358..00000000000 --- a/include/makeinclude/platform_sco-nothread.GNU +++ /dev/null @@ -1,18 +0,0 @@ -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -CCFLAGS += -w -O2 -fno-implicit-templates -fno-strict-prototypes -DLD = $(CXX) -LD = $(CXX) -LIBS = -lsocket -PIC = -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) 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 51d60d892b9..00000000000 --- a/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# 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 -CC = gcc -# for threads -# for no threads -#CXX = gcc -fno-implicit-templates -w -fno-strict-prototypes -# LDFLAGS += -L $(WRAPPER_ROOT)/ace -L ./ ${MIT_PTHREADS_DIR}/init/init.o # -z muldefs -# LDLIBS += -L $(WRAPPER_ROOT)/ace -L ./ ${MIT_PTHREADS_DIR}/init/init.o -lACE # -z muldefs -LDLIBS += -L $(WRAPPER_ROOT)/ace -L ./ -lACE # -z muldefs -CXX = g++ -CFLAGS += -b elf -w -O2 -CCFLAGS += -b elf -fpic -Xpg4plus -O2 -fno-implicit-templates -I ${MIT_PTHREADS_DIR}/include -I /usr/progressive/lib/g++-include -DLD = $(CXX) -LD = $(CXX) -LIBS = -L${MIT_PTHREADS_DIR} -lnsl -lpthread -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) 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 6813e75fd6a..00000000000 --- a/include/makeinclude/platform_sco5.0.0-nothread.GNU +++ /dev/null @@ -1,21 +0,0 @@ -# SCO v5.0.2; gcc version 2.7-95q4(Skunkware96 distribution from media images) - -CC = gcc -CXX = g++ -CFLAGS += -b elf -w -O2 -CCFLAGS += -b elf -w -O2 -Xpg4plus -fno-implicit-templates \ - -I/usr/progressive/lib/g++-include -DLD = $(CXX) -LD = $(CXX) -LIBS = -lsocket -PIC = -fpic -shared -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -SOFLAGS = $(CPPFLAGS) -b elf -fpic -G -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = (echo "main() { }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) diff --git a/include/makeinclude/platform_sunos4_g++.GNU b/include/makeinclude/platform_sunos4_g++.GNU deleted file mode 100644 index 5e86d453e16..00000000000 --- a/include/makeinclude/platform_sunos4_g++.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# SunOS 4.x (Solaris 1.x) with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -CXX = g++ -CFLAGS += -O2 -fno-strict-prototypes -CCFLAGS += -O2 -fno-strict-prototypes -fno-implicit-templates -DLD = /bin/ld -LD = $(CXX) -# -# for G++ v2.6.0 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib -SOFLAGS = -assert pure-text -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) diff --git a/include/makeinclude/platform_sunos4_lucid.GNU b/include/makeinclude/platform_sunos4_lucid.GNU deleted file mode 100644 index b285daba2d8..00000000000 --- a/include/makeinclude/platform_sunos4_lucid.GNU +++ /dev/null @@ -1,14 +0,0 @@ -# SunOS 4.x (Solaris 1.x) with Lucid -CC = lcc -CXX = lcc -CFLAGS = -Xa # use ANSI c complier -CCFLAGS = -XF -Xpt- # use c++ ARM compiler with auto templates turned off -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 2c4ff016780..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++3.x.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# SunOS 4.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). - -# SunOS 4.x (Solaris 1.x) with SunC++ 3.x -CC = cc -CXX = CC -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 79c9adb1dfb..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++4.x.GNU +++ /dev/null @@ -1,13 +0,0 @@ -# SunOS 4.x (Solaris 1.x) with SunC++ 4.x -CC = cc -CXX = CC -DLD = $(CXX) -LD = $(CXX) -LIBS += -AR = CC -ARFLAGS = -xar -o -PIC = -pic -RANLIB = ranlib -SOFLAGS = -G $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o 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 6112508e091..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++4.x_orbix.GNU +++ /dev/null @@ -1,15 +0,0 @@ -# SunOS 4.x (Solaris 1.x) with SunC++ 4.x and Orbix. -CC = cc -CXX = CC -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 diff --git a/include/makeinclude/platform_sunos5_centerline.GNU b/include/makeinclude/platform_sunos5_centerline.GNU deleted file mode 100644 index 00d83024f4e..00000000000 --- a/include/makeinclude/platform_sunos5_centerline.GNU +++ /dev/null @@ -1,16 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with Centerline C++ -CC = cc -CXX = CC -CFLAGS += -mt -CCFLAGS += $(CFLAGS) -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 5ee25111d3a..00000000000 --- a/include/makeinclude/platform_sunos5_centerline_orbix.GNU +++ /dev/null @@ -1,17 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with Centerline C++ -CC = cc -CXX = CC -CFLAGS += -mt -CCFLAGS += $(CFLAGS) -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 a52027025c4..00000000000 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -O2 #### -Winline -CCFLAGS += -Wall -Wpointer-arith -O2 -fno-implicit-templates #### -Winline -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.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = cp $< $@ -# SOLINK = ln -s $< $@ -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) diff --git a/include/makeinclude/platform_sunos5_sunc++.GNU b/include/makeinclude/platform_sunos5_sunc++.GNU deleted file mode 100644 index 870edce6f8f..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++.GNU +++ /dev/null @@ -1,32 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.0.1 or earlier -# *not* using Orbix -# -# Note: with the +w option, some ACE files might generate warnings of -# one of these types: -# 1) "template manager : Warning: No valid template database available. -# Creating default repository "Templates.DB"": -# self explanatory, and apparently harmless. -# 2) "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. -# 3) "Warning: <foo> hides the function " or "hides the same name in an -# outer scope". A useful warning, perhaps, but not really a problem. -# There should be no other warnings from Sun C++ when building ACE. -# -CC = cc -CXX = CC -CFLAGS += +w -mt -CCFLAGS += $(CFLAGS) -noex -pta -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -R $(WRAPPER_ROOT)/ace -LIBS += -lsocket -ldl -lnsl -lgen # -lposix4 -PIC = -PIC -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_sunos5_sunc++_4.1.GNU b/include/makeinclude/platform_sunos5_sunc++_4.1.GNU deleted file mode 100644 index a052348e955..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++_4.1.GNU +++ /dev/null @@ -1,56 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.1/4.2 -# *not* using Orbix -# -# Note: with the +w option, some ACE files might generate warnings of -# one of these types: -# 1) "template manager : Warning: No valid template database available. -# Creating default repository "Templates.DB"": -# self explanatory, and apparently harmless. -# 2) "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. -# 3) "Warning: <foo> hides the function " or "hides the same name in an -# outer scope". A useful warning, perhaps, but not really a problem. -# There should be no other warnings from Sun C++ when building ACE. -# -CC = cc -CXX = CC -CFLAGS += -mt #### -xO3 -#### -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. -#### Exception handling breaks on MP machines, see config*h files. -#### -O2/3 breaks build of netsvcs/clients/Tokens/manual/manual.cpp. -#### Sun C++ 4.2 only: -#### Dynamic casting and RTTI can coexist with ACE, but it doesn't -#### use them. To disable, add: -features=no%castop,no%rtti -CCFLAGS += -mt -noex -pta #### -O3 -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -R $(WRAPPER_ROOT)/ace -LIBS += -lsocket -ldl -lnsl -lgen -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 = rm -f $@ ; 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_sunos5_sunc++_orbix.GNU b/include/makeinclude/platform_sunos5_sunc++_orbix.GNU deleted file mode 100644 index d887421d585..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++_orbix.GNU +++ /dev/null @@ -1,18 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.0.1 or earlier -# *using* Orbix -CC = cc -CXX = CC -CFLAGS += +w -mt -CCFLAGS += $(CFLAGS) -noex -pta -DLD = $(CXX) -LD = $(CXX) -INCLDIRS = -I$(ORBIX_ROOT)/include -PIC = -PIC -LDFLAGS += $(PIC) -L$(ORBIX_ROOT)/lib -R $(WRAPPER_ROOT)/ace -R $(ORBIX_ROOT)/lib -LIBS += -lITsrv -lsocket -ldl -lnsl -lthread -lgen -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_sunos5_x86_g++.GNU b/include/makeinclude/platform_sunos5_x86_g++.GNU deleted file mode 100644 index b6ba9ee02eb..00000000000 --- a/include/makeinclude/platform_sunos5_x86_g++.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -CXX = g++ -CFLAGS += -O2 -CCFLAGS += -O2 -fno-implicit-templates -fno-strict-prototypes -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.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = cp $< $@ -# SOLINK = ln -s $< $@ -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) diff --git a/include/makeinclude/platform_unixware_g++.GNU b/include/makeinclude/platform_unixware_g++.GNU deleted file mode 100644 index dca1804e0ec..00000000000 --- a/include/makeinclude/platform_unixware_g++.GNU +++ /dev/null @@ -1,24 +0,0 @@ -# UnixWare V2.01 with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -CCFLAGS += -w -O2 -fno-implicit-templates # -fno-strict-prototypes -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L/usr/lib -LIBS += -lsocket -lnsl -lgen -lthread -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true -#SOFLAGS = -assert pure-text -SOFLAGS = -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp*; exit $$status) diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU deleted file mode 100644 index 380ed8f7370..00000000000 --- a/include/makeinclude/platform_vxworks5.x_g++.GNU +++ /dev/null @@ -1,28 +0,0 @@ -# VxWorks 5.2 with GNU g++ 2.7.2 -# *not* using Orbix - -TOOL_DIR = /opt/wind -TARGET_DIR = $(TOOL_DIR)/target -HOST_DIR = $(TOOL_DIR)/host/sun4-solaris2 -BIN_DIR = $(HOST_DIR)/bin -LIB_DIR = $(HOST_DIR)/powerpc-wrs-vxworks/lib -GCCLIB_DIR = $(HOST_DIR)/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126 - -CC = $(BIN_DIR)/g++ppc -CXX = $(CC) -CCFLAGS += -B$(GCCLIB_DIR)/ -DCPU=PPC604 -DVXWORKS -O2 -CCFLAGS += -B$(GCCLIB_DIR)/ -DCPU=PPC604 -DVXWORKS -O2 -fno-implicit-templates -INCLDIRS += -I$(TARGET_DIR)/h -LD = $(BIN_DIR)/ldppc -LDFLAGS += -r -L$(LIB_DIR) -L$(GCCLIB_DIR) -PIC = -AR = arppc -ARFLAGS = rv -RANLIB = /bin/true -PRELIB = (echo "main() { }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LD) $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp.* a.out; exit $$status) - -#### don't build shared objects: -BUILD = $(VOBJS) $(VLIB) $(VBIN) diff --git a/include/makeinclude/platform_vxworks5.x_ghs.GNU b/include/makeinclude/platform_vxworks5.x_ghs.GNU deleted file mode 100644 index b41de95d3ab..00000000000 --- a/include/makeinclude/platform_vxworks5.x_ghs.GNU +++ /dev/null @@ -1,19 +0,0 @@ -# VxWorks 5.2 with Green Hills 1.8.8 -# *not* using Orbix -CC = cxvxppc -CXX = $(CC) -CCFLAGS += --no_rtti -DLD = $(CXX) -LD = $(CXX) -LIBS += /appl/newgreen/vxppc603/indlib.o -PIC = -AR = ax -ARFLAGS = rv -RANLIB = /bin/true -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(CXX) $(INCLDIRS) $^ $(LDFLAGS) $(LIBS); \ - status=$$?; rm -f gcctemp.c a.out*; exit $$status) - -#### don't build shared objects: -BUILD = $(VOBJS) $(VLIB) $(VBIN) diff --git a/include/makeinclude/rules.bin.GNU b/include/makeinclude/rules.bin.GNU deleted file mode 100644 index fde28925445..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 $(VSHOBJS) - $(LINK.cc) -o $@ $< $(LDFLAGS) $(VLDLIBS) 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 b815c2d00de..00000000000 --- a/include/makeinclude/rules.lib.GNU +++ /dev/null @@ -1,126 +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 SOEXT -SOEXT=so -endif - -VSHLIB = $(SHLIB:%.$(SOEXT)=%$(VAR).$(SOEXT)) -VOBJS = $(LSRC:%.cpp=$(VDIR)%.o) - -ifdef TEMPINCDIR -VSHOBJS1 = -else -LSRC += $(LSRC2) -ifdef PRELIB -VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.so) -VSHOBJS1 = $(VSHOBJS) -else -VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.so) -VSHOBJS1 = $(LSRC:%.cpp=$(VSHDIR)%.o) -endif -endif - -# Comment out for now... -# $(DEFS:%=$(INSINC)/%) \ - -INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \ - $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)) - -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) -$(VSHLIB): $(VSHOBJS) $(STATLIB) -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 05444637a95..00000000000 --- a/include/makeinclude/rules.local.GNU +++ /dev/null @@ -1,170 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Local targets -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -OBJDIRS = .obj .shobj # .obj_debug .obj_profile .obj_optimize - -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)%.so: %.cpp - $(ESOBUILD) -else -$(VSHDIR)%.so: %.cpp - $(SOBUILD) -endif -$(VSHDIR)%.o: %.cpp - $(COMPILE.cc) $(PIC) -o $@ $< -$(VSHDIR)%.o: %.cc - $(COMPILE.cc) $(PIC) -o $@ $< -$(VSHDIR)%.so: $(VSHDIR)%.o - $(SOLINK) -endif - -#---------------------------------------------------------------------------- -# Library generation targets -#---------------------------------------------------------------------------- - -.PRECIOUS: $(VLIB) - -#---------------------------------------------------------------------------- -# Installation targets -#---------------------------------------------------------------------------- - -install.local: $(INSTALL) - -deinstall.local: - $(RM) $(INSTALL) $(LIB:%.a=$(INSLIB)/%*.a) $(SHLIB:%.so=$(INSLIB)/%*.so) - -$(INSBIN)/%$(VAR) \ -$(INSINC)/ace% \ -$(INSLIB)/%$(VAR).a \ -$(INSLIB)/%$(VAR).so \ -$(INSMAN)/man1/% \ -$(INSMAN)/man2/% \ -$(INSMAN)/man3/% \ -$(INSMAN)/man4/% \ -$(INSMAN)/man5/% \ -$(INSMAN)/man6/% \ -$(INSMAN)/man7/% \ -$(INSMAN)/man8/% \ -$(INSMAN)/manl/% \ -$(INSMAN)/mann/% : - @if test -s $@ ; then \ - echo "$(@F) already installed" ; \ - else \ - echo "Installing $(@F) -> $(@D)" ; \ - ln -s $(shell pwd)/$(@F) $@ ; \ - fi -ifdef MVSLIB -#special for MVS in order to use the .x files - @if test -s $(@:.so=.x) ; then \ - echo "$(@F:.so=.x) already installed" ; \ - else \ - echo "Installing $(@F:.so=.x) -> $(@D)" ; \ - ln -s $(shell pwd)/$(@F:.so=.x) $(@:.so=.x) ; \ - fi -endif - -#---------------------------------------------------------------------------- -# Cleanup targets -#---------------------------------------------------------------------------- - -clean.local: - -$(RM) -f *.o *~ *.bak *.rpo Makefile.old core - -$(RM) -rf $(OBJDIRS) $(TEMPINCDIR) ptrepository Templates.DB gcctemp.c gcctemp - -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 - $(WRAPPER_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) $(LSRC) $(SRC) - @cat $(MAKEFILE) | \ - sed -e "s;$(WRAPPER_ROOT);\$$(WRAPPER_ROOT);g" \ - -e "s; /[-a-zA-Z0-9_./]*\.h;;g" \ - -e "/:$$/d" \ - -e "s;\([-a-zA-Z0-9._]*\)\.o:;.obj/\1.o .shobj/\1.so:;" \ - > $(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 04774223b38..00000000000 --- a/include/makeinclude/rules.nested.GNU +++ /dev/null @@ -1,15 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Nested directory targets makefile definitions -#---------------------------------------------------------------------------- - -$(TARGETS_NESTED): - @for dir in $(DIRS) ;\ - do \ - (cd $$dir ; \ - echo "" ; \ - echo " ========> Making $(@:.nested=) $(MAKEFLAGS): `pwd`"; \ - $(MAKE) $(@:.nested=) MAKEFLAGS=$(MAKEFLAGS) ; \ - 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 6de6858aa50..00000000000 --- a/include/makeinclude/wrapper_macros.GNU +++ /dev/null @@ -1,144 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -#---------------------------------------------------------------------------- -# -# Please see the README file in this directory to get a complete listing -# of all the platform compilation macros that may be defined to port ACE. - -# 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 -# WRAPPER_ROOT Pathname for the root of the build tree -# -#---------------------------------------------------------------------------- -# Platform-dependent macro definitions -# (link to the appropriate platform-specific config file). -#---------------------------------------------------------------------------- - -include $(WRAPPER_ROOT)/include/makeinclude/platform_macros.GNU - -#---------------------------------------------------------------------------- -# Platform-independent macro definitions -#---------------------------------------------------------------------------- - -CPPFLAGS += $(DEFFLAGS) $(INCLDIRS) -DCFLAGS += -g -DCCFLAGS += -g -IDL = idl -IDLFLAGS = -s S.cpp -c C.cpp -INCLDIRS += -I. -I$(WRAPPER_ROOT) -INSBIN = $(WRAPPER_ROOT)/bin -INSINC = $(WRAPPER_ROOT)/ace -INSLIB = $(WRAPPER_ROOT)/ace -INSMAN = $(WRAPPER_ROOT)/man -LDFLAGS += -L$(WRAPPER_ROOT)/ace -L./ -LEX = flex -# LINK_COMMAND = quantify -cache-dir=/tmp/quantify -OCFLAGS += -O -OCCFLAGS += -O -PCFLAGS += # -p -PCCFLAGS += # -p -RM = /bin/rm -VAR = -VDIR = .obj/ -VSHDIR = .shobj/ -ifdef SHLIBA -VLDLIBS :=$(VLDLIBS) -lACEshr $(LIBS) -else -ifdef MVSLIB - # Special for MVS in order to build .x files - VLDLIBS :=$(VLDLIBS:$(VSHDIR)%.so=$(VDIR)%.o) - ifeq ($(findstring .x,$(MVSLIB)),.x) - VLDLIBS :=$(VLDLIBS:-l%=$(WRAPPER_ROOT)/ace/lib%.x) $(MVSLIB) - else - LDLIBS :=$(VLDLIBS) $(MVSLIB) - endif -else -VLDLIBS :=$(VLDLIBS) -lACE $(LIBS) -endif -endif -YACC = yacc - -#---------------------------------------------------------------------------- -# Conditional macro definitions -#---------------------------------------------------------------------------- - -ifdef debug -CFLAGS += $(DCFLAGS) -CCFLAGS += $(DCCFLAGS) - -else -ifdef profile -CFLAGS += $(PCFLAGS) -CCFLAGS += $(PCCFLAGS) - -else -ifdef optimize -CFLAGS += $(OCFLAGS) #-DNDEBUG -CCFLAGS += $(OCCFLAGS) #-DNDEBUG - -else # default settings -CFLAGS += $(DCFLAGS) #-DNDEBUG -CCFLAGS += $(DCCFLAGS) #-DNDEBUG -endif # optimize -endif # profile -endif # debug - -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 -cache-dir=/tmp/purifycache -endif # quantify - -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. -PRELINK += purify -best-effort -cache-dir=/tmp/purifycache -chain-length=20 -inuse-at-exit -fds-inuse-at-exit=no -endif # purify - -COMPILE.c =$(CC) $(CFLAGS) $(CPPFLAGS) -c -COMPILE.cc =$(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -c -# 960905 Marius Kjeldahl <marius@funcom.com> -# Added the line below to be used for compiling executable shared objects -COMPILEESO.cc =$(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -LINK.c =$(PRELINK) $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) $(LIBS) -LINK.cc =$(PRELINK) $(LD) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -SOLINK.cc =$(PRELINK) $(DLD) $(SOFLAGS) |