diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:34:06 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:34:06 (GMT) |
commit | f18128845407f8612668950e112c2d5c3e0ff5be (patch) | |
tree | 43e0b215b5d3d2b436509cbb1cd22102aef61b1d /tmake/lib/win32/subdirs.t | |
parent | daf91dc906e217e81f77f491e0abf505a91289b8 (diff) | |
download | Doxygen-f18128845407f8612668950e112c2d5c3e0ff5be.zip Doxygen-f18128845407f8612668950e112c2d5c3e0ff5be.tar.gz Doxygen-f18128845407f8612668950e112c2d5c3e0ff5be.tar.bz2 |
mods for doxygen-0.49-990829
Diffstat (limited to 'tmake/lib/win32/subdirs.t')
-rwxr-xr-x | tmake/lib/win32/subdirs.t | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/tmake/lib/win32/subdirs.t b/tmake/lib/win32/subdirs.t index 57464c6..4c857fd 100755 --- a/tmake/lib/win32/subdirs.t +++ b/tmake/lib/win32/subdirs.t @@ -10,6 +10,8 @@ $m = $m . "\tcd $_\n\tDOMAKE\n\t\@cd ..\n"; } $project{"SUBMAKE"} = $m; + Project('MAKEFILE') || Project('MAKEFILE = Makefile'); + Project('TMAKE') || Project('TMAKE = tmake'); #$} #! # Makefile for building targets in sub directories. @@ -18,18 +20,35 @@ # Template: #$ Expand("TEMPLATE"); ############################################################################# +MAKEFILE= #$ Expand("MAKEFILE"); +TMAKE = #$ Expand("TMAKE"); + SUBDIRS = #$ ExpandList("SUBDIRS"); all: $(SUBDIRS) #${ foreach ( split(/\s+/,$project{"SUBDIRS"}) ) { - $text = $text . $_ . ": FORCE\n\t" . + if ( Project("TMAKE_NOFORCE") ) { + $text = $text . $_ . ":\n\t" . + "cd $_\n\t\$(MAKE\)\n\t\@cd ..\n\n"; + } else { + $text = $text . $_ . ": FORCE\n\t" . "cd $_\n\t\$(MAKE\)\n\t\@cd ..\n\n"; + } + } +#$} +#$ TmakeSelf(); + +tmake_all: +#${ + foreach ( split(/\s+/,$project{"SUBDIRS"}) ) { + $text .= "\tcd $_\n\t\$(TMAKE\) $_.pro -o \$(MAKEFILE)\n\t\@cd ..\n"; } #$} clean: #$ $text = $project{"SUBMAKE"}; $text =~ s/DOMAKE/\$(MAKE\) clean/g; - +#$ Project("TMAKE_NOFORCE") && DisableOutput(); FORCE: +#$ Project("TMAKE_NOFORCE") && EnableOutput(); |