diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-24 04:29:39 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-24 04:29:39 +0000 |
commit | e74076bcebe7877c23b5f233b775e904a40312f6 (patch) | |
tree | ef6aada52e5b3aebde0cf980cb542cd9031f07c0 /TAO/rules.tao.GNU | |
parent | f366443b812d0df964a9bbfb5696b5e84c2e9f2e (diff) | |
download | ATCD-e74076bcebe7877c23b5f233b775e904a40312f6.tar.gz |
ChangeLogTag:Mon Nov 24 02:38:58 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r-- | TAO/rules.tao.GNU | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU index 8f1cab25095..d7f949f54c5 100644 --- a/TAO/rules.tao.GNU +++ b/TAO/rules.tao.GNU @@ -188,13 +188,20 @@ IDL_EXT=$(IDL_CLIENT_HDR_EXT) $(IDL_EXT_MINUS) IDL_EXT2_MINUS=Cli.i Cli.cpp Ser.h Ser.i Ser.cpp Ser_T.h Ser_T.i Ser_T.cpp IDL_EXT2=Cli.h $(IDL_EXT2_MINUS) -.SUFFIXES: $(IDL_EXT) +# Don't remove the IDL stubs if make is interupted. +.PRECIOUS: $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext))) +# This rule makes all the IDL stub files dependent on the client header +# which has it's own rule below that invokes the idl compiler. $(foreach ext, $(IDL_EXT_MINUS), %$(ext)): %$(IDL_CLIENT_HDR_EXT) @ - +# Invoke the idl compiler to create the client header +# The $(TAO_IDL_DEP) dependency is commented out, since this rule won't fire +# without it. By letting this rule fire, you get an error saying the idl +# compiler can't be found--which is much nicer than "no rule to build xC.h +# needed by xC.cpp." ifneq ($(tao_dont_use_idl_make_rule),1) -%C.h: %.idl $(TAO_IDL_DEP) +%C.h: %.idl #$(TAO_IDL_DEP) $(TAO_IDL) $(TAO_IDLFLAGS) $< endif @@ -202,7 +209,7 @@ $(foreach ext, $(IDL_EXT2_MINUS), %$(ext)): %Cli.h @ ifneq ($(tao_dont_use_idl_make_rule),1) -%Cli.h: %.idl $(TAO_IDL_DEP) +%Cli.h: %.idl #$(TAO_IDL_DEP) $(TAO_IDL) $(TAO_IDLFLAGS) $< endif |