Browse Source

make igate

David Rose 24 years ago
parent
commit
7782d86901

+ 8 - 0
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

+ 8 - 0
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

+ 8 - 0
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