diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-25 19:53:46 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-25 19:53:46 +0000 |
commit | 78ac89a29b2fde0dd15b0996dd3989c237f69382 (patch) | |
tree | 7f5203b3c6e243896685af83d62d3546c401dd46 /TAO/rules.tao.GNU | |
parent | de6ebd1807bcba0a470e2357a68520cbf643de47 (diff) | |
download | ATCD-78ac89a29b2fde0dd15b0996dd3989c237f69382.tar.gz |
added TAO_ORBSVCS support for subsetting the liborbsvcs build
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r-- | TAO/rules.tao.GNU | 58 |
1 files changed, 55 insertions, 3 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU index 4055d62fb9b..20492f75c5e 100644 --- a/TAO/rules.tao.GNU +++ b/TAO/rules.tao.GNU @@ -6,15 +6,58 @@ # #---------------------------------------------------------------------------- +#### +#### 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 -.SUFFIXES: S.h C.h S.i C.i S.cpp C.cpp -%S.h %Ser.h %C.h %Cli.h %S.i %Ser.i %C.i %Cli.i %S.cpp %Ser.cpp %C.cpp %Cli.cpp: %.idl $(TAO_IDL) - $(TAO_IDL) $(TAO_IDLFLAGS) $< +#### +#### Build customization. +#### +ifndef TAO_ORBSVCS + #### The following default definition of TAO_ORBSVCS builds all of TAO's + #### orbsvcs. If you'd like to not build some components, then define + #### your TAO_ORBSVCS appropriately. You can do that either in: + #### 1) your $(ACE_ROOT)/include/makeinclude/platform_macros.GNU file, + #### 2) on the make command line, e.g., + #### make TAO_ORBSVCS=Naming + #### or + #### 3) by setting (and exporting) your TAO_ORBSVCS environment variable. + #### + #### NOTE: We currently don't check for interdependencies between + #### services. For example, if you build the CosEvent service, you + #### must also explicitly specify the Sched and Event services, at least. + #### + #### NOTE: It would be nice to customize tmplinst-orbsvcs based on the + #### value of TAO_ORBSVCS. + #### + #### NOTE: We currently don't check this macro in each of the orbsvcs + #### Makefiles, or in their tests. We'll add those checks soon. + TAO_ORBSVCS = Naming \ + Time \ + Log \ + Concurrency \ + LifeCycle \ + ImplRepo \ + Property \ + Trader \ + Sched \ + Event \ + CosEvent \ + AV +endif # TAO_ORBSVCS + +#### +#### Macro customization. +#### ifeq ($(findstring g++,$(CXX)),g++) CCFLAGS += -Wno-unused @@ -25,3 +68,12 @@ ifeq ($(findstring g++,$(CXX)),g++) CCFLAGS += -Wno-uninitialized endif # egcs 2.91.x endif # g++ + + +#### +#### Build rules. +#### +.SUFFIXES: S.h C.h S.i C.i S.cpp C.cpp + +%S.h %Ser.h %C.h %Cli.h %S.i %Ser.i %C.i %Cli.i %S.cpp %Ser.cpp %C.cpp %Cli.cpp: %.idl $(TAO_IDL) + $(TAO_IDL) $(TAO_IDLFLAGS) $< |