diff options
Diffstat (limited to 'include')
40 files changed, 0 insertions, 1091 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 cb001177e06..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 -LD = $(CXX) -CPPFLAGS += -qxcall -qtempinc -SHLIBA = $(SHLIB:lib%.so=lib%shr.a) -ifdef SHLIB -ACELIB = -lACEshr -endif -LLIBS = -lC_r -lC -lpthreads -lbsd -lsvld -ltli -lc_r -lm -lc $(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_hpux.GNU b/include/makeinclude/platform_hpux.GNU deleted file mode 100644 index 74b53c5d86b..00000000000 --- a/include/makeinclude/platform_hpux.GNU +++ /dev/null @@ -1,22 +0,0 @@ -CC = /bin/cc -CXX = /usr/bin/CC -DLD = $(CXX) -LD = $(CXX) -PIC = -ARFLAGS = ruv -RANLIB = echo -CFLAGS = -Aa -z +z $(DCFLAGS) -LDFLAGS = -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_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 e6fb0f21e57..00000000000 --- a/include/makeinclude/platform_irix5.2.GNU +++ /dev/null @@ -1,12 +0,0 @@ -# Irix 5.2 with gcc 2.6.1 -MAKE = gmake -CC = gcc -CXX = g++ -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 92e1915f156..00000000000 --- a/include/makeinclude/platform_irix5.3_g++.GNU +++ /dev/null @@ -1,14 +0,0 @@ -# Irix 5.3 with GNU C++ - -CC = gcc -CXX = gcc -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L$(WRAPPER_ROOT)/ace -LIBS += -lstdc++ -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_sgic++.GNU b/include/makeinclude/platform_irix6.2_sgic++.GNU deleted file mode 100644 index 4d774f3c3e6..00000000000 --- a/include/makeinclude/platform_irix6.2_sgic++.GNU +++ /dev/null @@ -1,25 +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 +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 bae70684bec..00000000000 --- a/include/makeinclude/platform_linux.GNU +++ /dev/null @@ -1,19 +0,0 @@ -# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file -# should allow ACE to be built on Linux. - -CC = gcc -w -CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -DLD = $(CXX) -LD = $(CXX) -LIBS = -lstdc++ -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 67e517633ce..00000000000 --- a/include/makeinclude/platform_linux_lxpthread.GNU +++ /dev/null @@ -1,25 +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 -w -CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthread -lstdc++ -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_lxpthreads.GNU b/include/makeinclude/platform_linux_lxpthreads.GNU deleted file mode 100644 index 67e517633ce..00000000000 --- a/include/makeinclude/platform_linux_lxpthreads.GNU +++ /dev/null @@ -1,25 +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 -w -CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthread -lstdc++ -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_pthread.GNU b/include/makeinclude/platform_linux_pthread.GNU deleted file mode 100644 index df4b5ec2096..00000000000 --- a/include/makeinclude/platform_linux_pthread.GNU +++ /dev/null @@ -1,25 +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 -w -CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DLD = $(CXX) -LD = $(CXX) -LIBS += -lpthreads -lstdc++ -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 83ef4565abd..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 -w -#CXX = gcc -w -frepo -I. -fno-strict-prototypes -D__INLINE__ -CXX = gcc -w -I. -fno-strict-prototypes -D__INLINE__ -CXX += -D__m88k__ -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_osf1_3.2.GNU b/include/makeinclude/platform_osf1_3.2.GNU deleted file mode 100644 index 72ae4735730..00000000000 --- a/include/makeinclude/platform_osf1_3.2.GNU +++ /dev/null @@ -1,14 +0,0 @@ -# This platform macros file is intended to work with Digital UNIX 3.2 (OSF/1 3.2). - -CC = cxx -non_shared -CXX = cxx -x cxx -w0 -non_shared -#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 07925978975..00000000000 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ /dev/null @@ -1,15 +0,0 @@ -# This platform macros file is intended to work with Digital UNIX 4.0 (OSF/1 4.0). - -CC = cxx -g -pthread -ptr $(WRAPPER_ROOT)/ace/cxx_repository -CXX = cxx -w0 -g -pthread -ptr $(WRAPPER_ROOT)/ace/cxx_repository -DLD = $(CXX) -LD = $(CXX) -LIBS += -pthread -ltli -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 -pthread -ltli 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 4b5ca0691f8..00000000000 --- a/include/makeinclude/platform_osf1_4.0_g++.GNU +++ /dev/null @@ -1,20 +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 -g -D_REENTRANT -CXX = gcc -g -D_REENTRANT -fno-strict-prototypes -D__ACE_INLINE__ -LD = $(CXX) -DLD = $(CXX) -LIBS += -lpthread -lmach -lexc -ltli -lstdc++ -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 a01dc7062c6..00000000000 --- a/include/makeinclude/platform_sco-nothread.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 -w -# for threads -# for no threads -CXX = gcc -fno-implicit-templates -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -DLD = $(CXX) -LD = $(CXX) -LIBS = -lstdc++ -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_sunos4_g++.GNU b/include/makeinclude/platform_sunos4_g++.GNU deleted file mode 100644 index 32437d8d2ed..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 = gcc -I. -fno-strict-prototypes -D__ACE_INLINE__ # -frepo -DLD = /bin/ld -LD = $(CXX) -# -# for G++ v2.6.0 -LIBS += -lstdc++ -lm -# LIBS += -lnsl -lg++ -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 21ea974989b..00000000000 --- a/include/makeinclude/platform_sunos4_sunc++3.x.GNU +++ /dev/null @@ -1,18 +0,0 @@ -# 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 a214ebfa007..00000000000 --- a/include/makeinclude/platform_sunos5_centerline.GNU +++ /dev/null @@ -1,14 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with Centerline C++ -CC = cc -CXX = CC -mt -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 1432aab5d3f..00000000000 --- a/include/makeinclude/platform_sunos5_centerline_orbix.GNU +++ /dev/null @@ -1,15 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with Centerline C++ -CC = cc -CXX = CC -mt -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 a3dc90f8865..00000000000 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CXX = gcc -I. -fno-strict-prototypes -D__ACE_INLINE__ -Wall -Wpointer-arith -Winline -CC = $(CXX) -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L $(WRAPPER_ROOT)/ace -L ./ # -z muldefs -LIBS += -lsocket -ldl -lstdc++ -lgen -lnsl -lthread -lw -lm -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 7b1d0e83c40..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++.GNU +++ /dev/null @@ -1,15 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.0.1 or earlier -# *not* using Orbix -CC = cc -CXX = CC +w -mt -pta -noex # This option should solve some evil problems with Solaris -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 a42db5a36c3..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++_4.1.GNU +++ /dev/null @@ -1,31 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.1 -# *not* using Orbix -CC = cc -CXX = CC -mt -noex -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 1f4398c0115..00000000000 --- a/include/makeinclude/platform_sunos5_sunc++_orbix.GNU +++ /dev/null @@ -1,16 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with SunC++ 4.0.1 or earlier -# *using* Orbix -CC = cc -CXX = CC -mt -pta -noex -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 e95b7f53893..00000000000 --- a/include/makeinclude/platform_sunos5_x86_g++.GNU +++ /dev/null @@ -1,23 +0,0 @@ -# SunOS 5.x (Solaris 2.x) with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -CXX = gcc -I. -fno-strict-prototypes -D__ACE_INLINE__ # -frepo -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L $(WRAPPER_ROOT)/ace -L ./ # -z muldefs -LIBS += -lsocket -ldl -lstdc++ -lgen -lnsl -lthread -lw -lm -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 9c35a7a513a..00000000000 --- a/include/makeinclude/platform_unixware_g++.GNU +++ /dev/null @@ -1,22 +0,0 @@ -# UnixWare V2.01 with g++ *not* using Orbix -# -# SOBUILD - compile into .so directly -# -CC = gcc -w -CXX = gcc -I. -D__ACE_INLINE__ # -w -fno-strict-prototypes -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -L$(WRAPPER_ROOT)/ace -L./ -L/usr/lib -LIBS += -lsocket -lnsl -lstdc++ -lgen -lthread -lm -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 904a5e6a4fe..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 -D__ACE_INLINE__ -INCLDIRS += -I$(TARGET_DIR)/h -LD = $(BIN_DIR)/ldppc -LDFLAGS += -r -L$(LIB_DIR) -L$(GCCLIB_DIR) -LIBS += -lstdc++ -lgcc -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 52144e92f47..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 -D__ACE_INLINE__ -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 a988330d2d4..00000000000 --- a/include/makeinclude/rules.lib.GNU +++ /dev/null @@ -1,113 +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 -#---------------------------------------------------------------------------- - -VSHLIB = $(SHLIB:%.so=%$(VAR).so) -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:%.so=$(INSLIB)/%.so) - -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. -$(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 - $(SOLINK.cc) -o $@ $(VSHOBJS1) $(LDFLAGS) $(LIBS) $(STATLIB) - -chmod a+rx $@ - -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 3a66ef68b1c..00000000000 --- a/include/makeinclude/rules.local.GNU +++ /dev/null @@ -1,153 +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 -$(VSHDIR)%.so: %.cpp - $(SOBUILD) -else -$(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 - -#---------------------------------------------------------------------------- -# Cleanup targets -#---------------------------------------------------------------------------- - -clean.local: - -$(RM) -f *.o *~ *.bak *.rpo Makefile.old core - -$(RM) -rf $(OBJDIRS) $(TEMPINCDIR) ptrepository Templates.DB gcctemp.c - -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 767fefa6d0b..00000000000 --- a/include/makeinclude/wrapper_macros.GNU +++ /dev/null @@ -1,117 +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++ -# LINE_COMMAND A hook for passing commands to the linker, e.g., for Quantify -# 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 -# 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$(WRAPPER_ROOT) -I. -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 -VLDLIBS :=$(VLDLIBS) -lACE $(LIBS) -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 - -COMPILE.c =$(CC) $(CFLAGS) $(CPPFLAGS) -c -COMPILE.cc =$(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -c -LINK.c =$(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) $(LIBS) -LINK.cc =$(LD) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -SOLINK.cc =$(LINK_COMMAND) $(DLD) $(SOFLAGS) |