From 7782d869014bad1b2e74a0306ec40ccdb2bbb1bd Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 6 Jun 2001 14:19:29 +0000 Subject: [PATCH] make igate --- dtool/pptempl/Template.gmsvc.pp | 8 ++++++++ dtool/pptempl/Template.msvc.pp | 8 ++++++++ dtool/pptempl/Template.unix.pp | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/dtool/pptempl/Template.gmsvc.pp b/dtool/pptempl/Template.gmsvc.pp index cc27d3de5a..b51eeb1963 100644 --- a/dtool/pptempl/Template.gmsvc.pp +++ b/dtool/pptempl/Template.gmsvc.pp @@ -315,6 +315,8 @@ $[TAB] @touch $[directory]/stamp // Now it's time to start generating the rules to make our actual // targets. +igate : $[get_igatedb(metalib_target lib_target ss_lib_target):%=$[so_dir]/%] + ///////////////////////////////////////////////////////////////////// // First, the dynamic libraries. Each lib_target and metalib_target @@ -942,6 +944,7 @@ $[TAB] @ppremake -D $[DEPENDENCY_CACHE_FILENAME] all : $[subdirs] test : $[subdirs:%=test-%] +igate : $[subdirs:%=igate-%] clean : $[subdirs:%=clean-%] clean-igate : $[subdirs:%=clean-igate-%] cleanall : $[subdirs:%=cleanall-%] @@ -964,6 +967,11 @@ test-$[dirname] : $[TAB] cd ./$[PATH] && $(MAKE) test #end dirname +#formap dirname subdirs +igate-$[dirname] : +$[TAB]cd ./$[PATH] && $(MAKE) igate +#end dirname + #formap dirname subdirs clean-$[dirname] : $[TAB] cd ./$[PATH] && $(MAKE) clean diff --git a/dtool/pptempl/Template.msvc.pp b/dtool/pptempl/Template.msvc.pp index 3051cd806b..79f6c82d37 100644 --- a/dtool/pptempl/Template.msvc.pp +++ b/dtool/pptempl/Template.msvc.pp @@ -301,6 +301,8 @@ $[TAB] mkdir $[osfilename $[directory]] // Now it's time to start generating the rules to make our actual // targets. +igate : $[get_igatedb(metalib_target lib_target ss_lib_target):%=$[so_dir]\%] + ///////////////////////////////////////////////////////////////////// // First, the dynamic libraries. Each lib_target and metalib_target @@ -933,6 +935,7 @@ $[TAB] @ppremake -D $[DEPENDENCY_CACHE_FILENAME] all : $[subdirs] test : $[subdirs:%=test-%] +igate : $[subdirs:%=igate-%] clean : $[subdirs:%=clean-%] clean-igate : $[subdirs:%=clean-igate-%] cleanall : $[subdirs:%=cleanall-%] @@ -955,6 +958,11 @@ test-$[dirname] : $[TAB] cd $[osfilename $[PATH]] && $(MAKE) /nologo test #end dirname +#formap dirname subdirs +igate-$[dirname] : +$[TAB] cd $[osfilename $[PATH]] && $(MAKE) /nologo igate +#end dirname + #formap dirname subdirs clean-$[dirname] : $[TAB] cd $[osfilename $[PATH]] && $(MAKE) /nologo clean diff --git a/dtool/pptempl/Template.unix.pp b/dtool/pptempl/Template.unix.pp index 0678517c24..f3c7b2a33b 100644 --- a/dtool/pptempl/Template.unix.pp +++ b/dtool/pptempl/Template.unix.pp @@ -260,6 +260,8 @@ $[TAB]@test -d $[directory] || mkdir -p $[directory] // Now it's time to start generating the rules to make our actual // targets. +igate : $[get_igatedb(metalib_target lib_target ss_lib_target):%=$[so_dir]/%] + ///////////////////////////////////////////////////////////////////// // First, the dynamic libraries. Each lib_target and metalib_target @@ -763,6 +765,7 @@ $[TAB]@ppremake -D $[DEPENDENCY_CACHE_FILENAME] all : $[subdirs] test : $[subdirs:%=test-%] +igate : $[subdirs:%=igate-%] clean : $[subdirs:%=clean-%] clean-igate : $[subdirs:%=clean-igate-%] cleanall : $[subdirs:%=cleanall-%] @@ -790,6 +793,11 @@ test-$[dirname] : $[TAB]cd ./$[PATH] && $(MAKE) test #end dirname +#formap dirname subdirs +igate-$[dirname] : +$[TAB]cd ./$[PATH] && $(MAKE) igate +#end dirname + #formap dirname subdirs clean-$[dirname] : $[TAB]cd ./$[PATH] && $(MAKE) clean