Changeset 4898 for mpich2/branches/dev/kumudb/maint/simplemake.in
- Timestamp:
- 07/03/09 12:49:21 (5 months ago)
- Files:
-
- 1 modified
-
mpich2/branches/dev/kumudb/maint/simplemake.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mpich2/branches/dev/kumudb/maint/simplemake.in
r4870 r4898 1031 1031 $pgmsrc = $2; 1032 1032 $programs{$pgm} = $pgmsrc; 1033 #---------------------Kumud_parallel_fix------------------------------ 1033 1034 # Add to targets 1034 $alltargets[$#alltargets+1] = $pgm;1035 # $alltargets[$#alltargets+1] = $pgm; 1035 1036 # Keep track of source types 1036 1037 &FindSrcTypes( $pgmsrc ); … … 1182 1183 # Coverage analysis 1183 1184 &TargetGcov; 1185 1186 #------------kumud_parallel_fix--------------------------------------- 1187 &TargetExecutables; 1188 1189 #------------------kumud_parallel_fix------------------------------------------- 1190 #each executable to be built is listed as prerequisite for all-executable-local 1191 &TargetProgramsLocal; 1184 1192 1185 1193 # Next, the programs … … 1193 1201 print FD $makeBlockSep; 1194 1202 1195 #------------kumud_parallel_fix---------------------------------------1196 &TargetExecutables;1197 1203 1198 1204 # This is ugly, but we need to tell the install target when we're at … … 3390 3396 } 3391 3397 } 3398 3399 3400 # Generate the target all-executable-local 3401 sub TargetProgramsLocal { 3402 print FD "all-executable-local:"; 3403 foreach $pgm (keys (%programs)) { 3404 if (defined($extra_programs{$pgm})) { next; } 3405 if (defined($extra_libs{$pgm})) { next; } 3406 print FD " $pgm"; 3407 } 3408 print FD "$newline"; 3409 } 3410 3411 3412 3392 3413 # 3393 3414 # ===========================================================================
