summaryrefslogtreecommitdiff
path: root/TAO/rules.tao.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r--TAO/rules.tao.GNU104
1 files changed, 0 insertions, 104 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU
deleted file mode 100644
index ed408c47b29..00000000000
--- a/TAO/rules.tao.GNU
+++ /dev/null
@@ -1,104 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-# Common rules for all of TAO
-#
-#----------------------------------------------------------------------------
-
-####
-#### Required macros for TAO.
-####
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif
-
-ifndef TAO_IDL
- TAO_IDL = $(TAO_ROOT)/TAO_IDL/tao_idl
-endif
-
-ifdef COMSPEC
- #### Assume we're on a WIN32 host.
- ifndef TAO_IDL_PREPROCESSOR
- #### Assume we have Bourne shell and sed. Otherwise, the user
- #### should find out here that the TAO_IDL_PREPROCESSOR environment
- #### variable must be set explicitly!
- TAO_IDL_PREPROCESSOR := $(shell type $(CXX) | sed 's/.* is //')
- endif # ! TAO_IDL_PREPROCESSOR
-endif # COMSPEC
-
-
-####
-#### Macro customization.
-####
-ifeq ($(findstring g++,$(CXX)),g++)
- ifeq ($(ACE_HAS_GNUG_PRE_2_8),1)
- #### g++ < 2.8 complains about unused parameters in generated code.
- CCFLAGS += -Wno-unused
- endif # g++ < 2.8
-endif # g++
-
-ifeq ($(minimum_corba),1)
- CPPFLAGS += -DTAO_HAS_MINIMUM_CORBA
-else # ! minimum_corba
- override minimum_corba =
-endif # ! minimum_corba
-
-ifeq ($(rt_corba),0)
- CPPFLAGS += -DTAO_DISABLE_RT_CORBA
-else # ! rt_corba
- override rt_corba =
-endif # ! rt_corba
-
-ifeq (1,$(CROSS-COMPILE))
-else
-ifeq (1,$(ACE_HAS_GNUG_PRE_2_8))
-endif # ! ACE_HAS_GNUG_PRE_2_8
-endif # ! CROSS-COMPILE
-
-ifeq ($(interface_repo),1)
- CPPFLAGS += -DTAO_HAS_INTERFACE_REPOSITORY
-endif # interface_repo
-
-
-####
-#### Build rules.
-####
-IDL_EXT=C.h C.i C.cpp S.h S.i S.cpp S_T.h S_T.i S_T.cpp
-IDL_EXT2=Cli.h Cli.i Cli.cpp Ser.h Ser.i Ser.cpp Ser_T.h Ser_T.i Ser_T.cpp
-
-.SUFFIXES: $(IDL_EXT)
-
-ifneq ($(use_flick),1)
-$(foreach ext, $(IDL_EXT) $(IDL_EXT2), %$(ext)): %.idl $(TAO_IDL)
- $(TAO_IDL) $(TAO_IDLFLAGS) $<
-else
-#### You can redefine the following in your platform_macros.GNU
-
-ifndef FLICK_SRCDIR
- FLICK_SRCDIR = /project/doc/nanbor/mom
-endif
-ifndef FLICK_OBJDIR
- FLICK_OBJDIR = /project/doc/nanbor/dad
-endif
-
-CCFLAGS += -I$(FLICK_OBJDIR)/runtime/headers -I$(FLICK_SRCDIR)/runtime/headers
-
-CORBA_FE=$(FLICK_OBJDIR)/bin/flick-fe-newcorba
-CORBA_PG=$(FLICK_OBJDIR)/bin/flick-c-pfe-corbaxx
-CORBA_BE=$(FLICK_OBJDIR)/bin/flick-c-pbe-iiopxx
-
-$(foreach ext, $(IDL_EXT) $(IDL_EXT2), %$(ext)): %.idl
- $(CORBA_FE) $< && \
- $(CORBA_PG) -c -o $*-client.prc $*.aoi && \
- $(CORBA_BE) $*-client.prc -o $*C.cpp -h $*C.h -f $*S.h --presentation_implementation $(FLICK_SRCDIR)/runtime/headers/flick/pres/tao_cxx.scml && \
- echo > $*C.i
- $(CORBA_FE) $< && \
- $(CORBA_PG) -s -o $*-server.prc $*.aoi && \
- $(CORBA_BE) $*-server.prc --no_mu_stubs -o $*S.cpp -h $*S.h -F $*C.h --presentation_implementation $(FLICK_SRCDIR)/runtime/headers/flick/pres/tao_cxx.scml && \
- echo > $*S.i && \
- echo > $*S_T.h && \
- echo > $*S_T.i && \
- echo > $*S_T.cpp
-
-endif