1# $Id: makefile,v 1.217 1998/03/27 20:06:26 balay Exp balay $ 2# 3# This is the makefile for installing PETSc. See the file 4# Installation for directions on installing PETSc. 5# See also bmake/common for additional commands. 6# 7ALL: all 8 9CFLAGS = 10SOURCEC = 11SOURCEF = 12DOCS = maint/addlinks maint/builddist \ 13 maint/buildlinks maint/wwwman maint/xclude maint/crontab\ 14 bmake/common bmake/*/base* maint/autoftp docs/manualpages/sec/* \ 15 include/finclude/generateincludes bin/petscviewinfo.text \ 16 bin/petscoptsinfo.text 17OBJSC = 18OBJSF = 19LIBBASE = libpetscvec 20DIRS = src include docs 21 22include ${PETSC_DIR}/bmake/${PETSC_ARCH}/base 23 24 25# 26# Prints information about the system and PETSc being compiled 27# 28info: 29 -@echo "==========================================" 30 -@echo On `date` on `hostname` 31 -@echo Machine characteristics: `uname -a` 32 -@echo "-----------------------------------------" 33 -@echo "Using C compiler: ${CC} ${COPTFLAGS}" 34 -@if [ -n "${CCV}" -a "${CCV}" != "unknown" ] ; then \ 35 echo "Compiler version:" `${CCV}` ; fi 36 -@echo "Using Fortran compiler: ${FC} ${FFLAGS} ${FOPTFLAGS}" 37 -@echo "-----------------------------------------" 38 -@grep PETSC_VERSION_NUMBER include/petsc.h | sed "s/........//" 39 -@echo "-----------------------------------------" 40 -@echo "Using PETSc flags: ${PETSCFLAGS} ${PCONF}" 41 -@echo "-----------------------------------------" 42 -@echo "Using configuration flags: ${CONF}" 43 -@echo "-----------------------------------------" 44 -@echo "Using include paths: ${PETSC_INCLUDE}" 45 -@echo "-----------------------------------------" 46 -@echo "Using PETSc directory: ${PETSC_DIR}" 47 -@echo "Using PETSc arch: ${PETSC_ARCH}" 48 -@echo "------------------------------------------" 49 -@echo "Using C linker: ${CLINKER}" 50 -@echo "Using libraries: ${PETSC_LIB}" 51 -@echo "Using Fortran linker: ${FLINKER}" 52 -@echo "Using Fortran libraries: ${PETSC_FORTRAN_LIB}" 53 -@echo "==========================================" 54 55# Builds PETSc libraries for a given BOPT and architecture 56all: info chkpetsc_dir deletelibs build_kernels build_c build_shared build_fortran build_fortran90 57 58build_c: 59 -@echo "BEGINNING TO COMPILE LIBRARIES IN ALL DIRECTORIES" 60 -@echo "=========================================" 61 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 62 ACTION=libfast tree 63 -@cd ${PETSC_DIR}/src/sys/src ; \ 64 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} rs6000_time 65 ${RANLIB} ${PDIR}/*.a 66 -@chmod g+w ${PDIR}/*.a 67 -@echo "Completed building libraries" 68 -@echo "=========================================" 69 70# Builds PETSc test examples for a given BOPT and architecture 71testexamples: info chkopts 72 -@echo "BEGINNING TO COMPILE AND RUN TEST EXAMPLES" 73 -@echo "Due to different numerical round-off on certain" 74 -@echo "machines some of the numbers may not match exactly." 75 -@echo "=========================================" 76 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 77 ACTION=testexamples_1 tree 78 -@echo "Completed compiling and running test examples" 79 -@echo "=========================================" 80 81# Builds PETSc test examples for a given BOPT and architecture 82testexamples_uni: info chkopts 83 -@echo "BEGINNING TO COMPILE AND RUN TEST UNI-PROCESSOR EXAMPLES" 84 -@echo "Due to different numerical round-off on certain" 85 -@echo "machines some of the numbers may not match exactly." 86 -@echo "=========================================" 87 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 88 ACTION=testexamples_4 tree 89 -@echo "Completed compiling and running uniprocessor test examples" 90 -@echo "=========================================" 91 92# 93# Builds PETSc Fortran interface libary 94# Note: libfast cannot run on .F files on certain machines, so we 95# use lib and check for errors here. 96fortran: info chkpetsc_dir build_fortran 97 98build_fortran: 99 -@echo "BEGINNING TO COMPILE FORTRAN INTERFACE LIBRARY" 100 -@echo "=========================================" 101 -${RM} -f ${PDIR}/libpetscfortran.* 102 -@cd src/fortran/auto; \ 103 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} libfast 104 -@cd src/fortran/custom; \ 105 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 106 grep -v clog trashz | grep -v "information sections" | \ 107 egrep -i '(Error|warning|Can)' >> /dev/null;\ 108 if [ "$$?" != 1 ]; then \ 109 cat trashz ; fi; ${RM} trashz 110 ${RANLIB} ${PDIR}/libpetscfortran.a 111 -@chmod g+w ${PDIR}/*.a 112 -@echo "Completed compiling Fortran interface library" 113 -@echo "=========================================" 114 115# 116# Builds PETSc Fortran90 interface libary 117# Note: libfast cannot run on .F files on certain machines, so we 118# use lib and check for errors here. 119# Note: F90 interface currently only supported in NAG F90 compiler 120fortran90: fortran build_fortran90 121 122build_fortran90: 123 -@echo "BEGINNING TO COMPILE FORTRAN90 INTERFACE LIBRARY" 124 -@echo "=========================================" 125 -@cd src/fortran/f90; \ 126 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 127 grep -v clog trashz | grep -v "information sections" | \ 128 egrep -i '(Error|warning|Can)' >> /dev/null;\ 129 if [ "$$?" != 1 ]; then \ 130 cat trashz ; fi; ${RM} trashz 131 ${RANLIB} ${PDIR}/libpetscfortran.a 132 -@chmod g+w ${PDIR}/*.a 133 -@echo "Completed compiling Fortran90 interface library" 134 -@echo "=========================================" 135 136# 137# Builds PETSc Fortran kernels; some numerical kernels have 138# a Fortran version that may give better performance on certain 139# machines. These always provide better performance for complex numbers. 140fortrankernels: info chkpetsc_dir 141 -${RM} -f ${PDIR}/libpetsckernels.* 142 -@echo "BEGINNING TO COMPILE FORTRAN KERNELS LIBRARY" 143 -@echo "=========================================" 144 -@cd src/fortran/kernels; \ 145 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib 146 -@chmod g+w ${PDIR}/*.a 147 -@echo "Completed compiling Fortran kernels library" 148 -@echo "=========================================" 149 150# Builds PETSc test examples for a given BOPT and architecture 151testfortran: info chkopts 152 -@echo "BEGINNING TO COMPILE AND RUN FORTRAN TEST EXAMPLES" 153 -@echo "=========================================" 154 -@echo "Due to different numerical round-off on certain" 155 -@echo "machines or the way Fortran formats numbers" 156 -@echo "some of the results may not match exactly." 157 -@echo "=========================================" 158 -@echo "On some machines you may get messages of the form" 159 -@echo "PetscScalarAddressToFortran:C and Fortran arrays are" 160 -@echo "not commonly aligned or are too far apart to be indexed" 161 -@echo "by an integer. Locations: C xxxc Fortran xxxf" 162 -@echo "Locations/sizeof(Scalar): C yyc Fortran yyf" 163 -@echo "This indicates that you may not be able to use the" 164 -@echo "PETSc routines VecGetArray() and MatGetArray() from Fortran" 165 -@echo "=========================================" 166 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 167 ACTION=testexamples_3 tree 168 -@echo "Completed compiling and running Fortran test examples" 169 -@echo "=========================================" 170# Builds noise routines (not yet publically available) 171# Note: libfast cannot run on .F files on certain machines, so we 172# use lib and check for errors here. 173noise: info chkpetsc_dir 174 -@echo "Beginning to compile noise routines" 175 -@echo "=========================================" 176 -@cd src/snes/interface/noise; \ 177 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 178 grep -v clog trashz | grep -v "information sections" | \ 179 egrep -i '(Error|warning|Can)' >> /dev/null;\ 180 if [ "$$?" != 1 ]; then \ 181 cat trashz ; fi; ${RM} trashz 182 ${RANLIB} ${PDIR}/libpetscsnes.a 183 -@chmod g+w ${PDIR}/libpetscsnes.a 184 -@echo "Completed compiling noise routines" 185 -@echo "=========================================" 186 187petscblas: info chkpetsc_dir 188 -${RM} -f ${PDIR}/libpetscblas.* 189 -@echo "BEGINNING TO COMPILE C VERSION OF BLAS AND LAPACK" 190 -@echo "=========================================" 191 -@cd src/adic/blas; \ 192 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} libfast 193 -@cd src/adic/lapack; \ 194 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=libfast tree 195 ${RANLIB} ${PDIR}/libpetscblas.a 196 -@chmod g+w ${PDIR}/*.a 197 -@echo "Completed compiling C version of BLAS and LAPACK" 198 -@echo "=========================================" 199 200# If USE_DYNAMIC_LIBRARIES flag is set, build shared libs 201build_shared: 202 -@shared_var=`echo "${PETSCFLAGS}" | sed 's/-DUSE_DYNAMIC_LIBRARIES//g'`; \ 203 if [ "${PETSCFLAGS}" != "$$shared_var" ] ; then \ 204 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} shared; fi 205 206# If fortrankernels are used, build them. 207build_kernels: 208 -@kernel_var=`echo "${PETSCFLAGS}" | sed 's/-DUSE_FORTRAN_KERNELS//g'`; \ 209 if [ "${PETSCFLAGS}" != "$$kernel_var" ] ; then \ 210 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} fortrankernels; fi 211 212# Ranlib on the libraries 213ranlib: 214 ${RANLIB} ${PDIR}/*.a 215 216# Deletes PETSc libraries 217deletelibs: chkopts_basic 218 -${RM} -f ${PDIR}/* 219 220# Deletes man pages (HTML version) 221deletemanualpages: 222 ${RM} -f ${PETSC_DIR}/docs/manualpages/man*/* ${PETSC_DIR}/docs/manualpages/www.cit \ 223 ${PETSC_DIR}/docs/manualpages/man*.html 224 225# Deletes man pages (LaTeX version) 226deletelatexpages: 227 ${RM} -f ${PETSC_DIR}/docs/tex/rsum/*sum*.tex 228 229# To access the tags in EMACS, type M-x visit-tags-table and specify 230# the file petsc/TAGS. 231# 1) To move to where a PETSc function is defined, enter M-. and the 232# function name. 233# 2) To search for a string and move to the first occurrence, 234# use M-x tags-search and the string. 235# To locate later occurrences, use M-, 236 237TAGS_INCLUDE_FILES = include/*.h include/pinclude/*.h include/FINCLUDE/*.h 238TAGS_BMAKE_FILES = bmake/common bmake/*/base* 239TAGS_EXAMPLE_FILES = src/*/examples/*/*.[c,h,F,f] src/*/examples/*/*/*.[c,h,F,f] \ 240 src/benchmarks/*.c src/contrib/*/examples/*/*.[c,h,F,f]\ 241 src/fortran/f90/tests 242TAGS_DOC_FILES = docs/tex/manual/routin.tex docs/tex/manual/manual.tex \ 243 docs/tex/manual/manual_tex.tex docs/tex/manual/intro.tex \ 244 docs/tex/manual/part1.tex docs/tex/manual/part2.tex 245TAGS_SRC_FILES = src/*/*.[c,h] src/*/interface/*.[c,h] src/*/src/*.[c,h] \ 246 src/*/utils/*.[c,h] \ 247 src/*/impls/*.[c,h] src/*/impls/*/*.[c,h] src/*/impls/*/*/*.[c,h] \ 248 src/snes/interface/noise/*.[c,F,h] src/gvec/impls/*/*/*/*/*.[c,h] \ 249 src/contrib/*/*.[c,h] \ 250 src/contrib/*/src/*.[c,h] src/fortran/custom/*.[c,h,F] \ 251 src/fortran/kernels/*.[c,h,F] \ 252 src/fortran/f90/*.[c,h,F] src/fortran/f90/*/*.[c,h,F] \ 253 src/adic/blas/*.c src/lapack/src[1,2,3]/*.c 254TAGS_MAKEFILE_FILES = include/makefile include/*/makefile \ 255 makefile \ 256 src/makefile src/*/makefile src/*/src/makefile \ 257 src/*/interface/makefile \ 258 src/*/utils/makefile \ 259 src/*/impls/makefile src/*/impls/*/makefile src/*/impls/*/*/makefile \ 260 src/snes/interface/noise/makefile src/*/examples/makefile \ 261 src/*/examples/*/makefile src/*/examples/*/*/makefile \ 262 src/gvec/impls/*/*/*/*/makefile src/gvec/impls/*/*/*/makefile \ 263 src/fortran/*/makefile src/fortran/f90/*/makefile \ 264 src/contrib/*/makefile src/contrib/*/src/makefile \ 265 src/contrib/*/examples/makefile src/contrib/*/examples/*/makefile \ 266 src/contrib/sif/*/makefile docs/makefile src/adic/*/makefile \ 267 src/adic/lapack/*/makefile 268 269# Builds all etags files 270alletags: 271 -make etags_complete 272 -make etags 273 -make etags_noexamples 274 -make etags_examples 275 -make etags_makefiles 276 277# Builds the basic etags file. This should be employed by most users. 278etags: 279 ${RM} TAGS 280 etags -f TAGS ${TAGS_INCLUDE_FILES} 281 etags -a -f TAGS ${TAGS_SRC_FILES} 282 etags -a -f TAGS ${TAGS_EXAMPLE_FILES} 283 etags -a -f TAGS ${TAGS_MAKEFILE_FILES} 284 etags -a -f TAGS ${TAGS_BMAKE_FILES} 285 chmod g+w TAGS 286 287# Builds complete etags list; only for PETSc developers. 288etags_complete: 289 ${RM} TAGS_COMPLETE 290 etags -f TAGS_COMPLETE ${TAGS_SRC_FILES} 291 etags -a -f TAGS_COMPLETE ${TAGS_INCLUDE_FILES} 292 etags -a -f TAGS_COMPLETE ${TAGS_EXAMPLE_FILES} 293 etags -a -f TAGS_COMPLETE ${TAGS_MAKEFILE_FILES} 294 etags -a -f TAGS_COMPLETE ${TAGS_BMAKE_FILES} 295 etags -a -f TAGS_COMPLETE ${TAGS_DOC_FILES} 296 chmod g+w TAGS_COMPLETE 297 298# Builds the etags file that excludes the examples directories 299etags_noexamples: 300 ${RM} TAGS_NO_EXAMPLES 301 etags -f TAGS_NO_EXAMPLES ${TAGS_SRC_FILES} 302 etags -a -f TAGS_NO_EXAMPLES ${TAGS_INCLUDE_FILES} 303 etags -a -f TAGS_NO_EXAMPLES ${TAGS_MAKEFILE_FILES} 304 etags -a -f TAGS_NO_EXAMPLES ${TAGS_BMAKE_FILES} 305 etags -a -f TAGS_NO_EXAMPLES ${TAGS_DOC_FILES} 306 chmod g+w TAGS_NO_EXAMPLES 307 308# Builds the etags file for makefiles 309etags_makefiles: 310 ${RM} TAGS_MAKEFILES 311 etags -f TAGS_MAKEFILES ${TAGS_MAKEFILE_FILES} 312 etags -a -f TAGS_MAKEFILES ${TAGS_BMAKE_FILES} 313 chmod g+w TAGS_MAKEFILES 314 315# Builds the etags file for examples 316etags_examples: 317 ${RM} TAGS_EXAMPLES 318 etags -f TAGS_EXAMPLES ${TAGS_EXAMPLE_FILES} 319 chmod g+w TAGS_EXAMPLES 320 321# 322# To use the tags file from VI do the following: 323# 1. within vi invoke the command - :set tags=/home/bsmith/petsc/tags 324# or add the command to your ~/.exrc file - set tags=/home/bsmith/petsc/tags 325# 2. now to go to a tag do - :tag TAGNAME for eg - :tag MatCreate 326# 327ctags: 328 ${RM} tags 329 ctags -w -f tags ${TAGS_INCLUDE_FILES} 330 ctags -w -a -f tags ${TAGS_SRC_FILES} 331 ctags -w -a -f tags ${TAGS_EXAMPLE_FILES} 332 ctags -w -a -f tags ${TAGS_MAKEFILE_FILES} 333 ctags -w -a -f tags ${TAGS_BMAKE_FILES} 334 chmod g+w tags 335 336# ------------------------------------------------------------------ 337# 338# All remaining actions are intended for PETSc developers only. 339# PETSc users should not generally need to use these commands. 340# 341 342# Builds all versions of the man pages 343allmanpages: allmanualpages alllatexpages 344allmanualpages: deletemanualpages 345 -make ACTION=manualpages_buildcite tree 346 -cd src/fortran/custom; make manualpages_buildcite 347 -cd src/fortran/custom; make manualpages 348 -make ACTION=manualpages tree 349 -maint/wwwman 350 -maint/examplesindex.tcl 351 -maint/htmlkeywords.tcl 352 -@chmod g+w docs/manualpages/man*/* 353 354alllatexpages: deletelatexpages 355 -make ACTION=latexpages tree 356 -cd src/fortran/custom; make latexpages 357 -@chmod g+w docs/tex/rsum/* 358 359# Builds Fortran stub files 360allfortranstubs: 361 -@include/finclude/generateincludes 362 -@${RM} -f src/fortran/auto/*.c 363 -make ACTION=fortranstubs tree 364 -@cd src/fortran/auto; ${OMAKE} -f makefile fixfortran 365 chmod g+w src/fortran/auto/*.c 366 367allci: 368 -@cd src/fortran/custom ; ${OMAKE} BOPT=${BOPT} ci 369 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=ci tree 370 371allco: 372 -@cd src/fortran/custom ; ${OMAKE} BOPT=${BOPT} co 373 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=co tree 374 375# 376# The commands below are for generating ADIC versions of the code; 377# they are not currently used. 378# 379CFLAGS = ${CPPFLAGS} ${CONF} 380alladicignore: 381 -@${RM} ${PDIR}/adicignore 382 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adicignore tree 383 384alladic: 385 -@echo "Beginning to compile ADIC source code in all directories" 386 -@echo "Using ADIC compiler: ${ADIC_CC} ${CFLAGS}" 387 -@echo "=========================================" 388 -@cd include ; \ 389 ${ADIC_CC} -s -f 1 ${CFLAGS} petsc.h 390 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adic tree 391 -@cd src/inline ; \ 392 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} adic 393 -@cd src/adic/blas ; \ 394 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} adic 395 -@cd src/adic/lapack ; \ 396 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adic tree 397 398alladiclib: 399 -@echo "Beginning to compile ADIC libraries in all directories" 400 -@echo "Using compiler: ${CC} ${COPTFLAGS}" 401 -@echo "-----------------------------------------" 402 -@echo "Using PETSc flags: ${PETSCFLAGS} ${PCONF}" 403 -@echo "-----------------------------------------" 404 -@echo "Using configuration flags: ${CONF}" 405 -@echo "-----------------------------------------" 406 -@echo "Using include paths: ${PETSC_INCLUDE}" 407 -@echo "-----------------------------------------" 408 -@echo "Using PETSc directory: ${PETSC_DIR}" 409 -@echo "Using PETSc arch: ${PETSC_ARCH}" 410 -@echo "=========================================" 411 -@${RM} -f ${PDIR}/*adic.a 412 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adiclib tree 413 -@cd src/adic/blas ; \ 414 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} adiclib 415 -@cd src/adic/lapack ; \ 416 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adiclib tree 417 -@cd src/adic/src ; \ 418 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib 419 420# ------------------------------------------------------------------------------- 421# 422# Some macros to check if the fortran interface is up-to-date. 423# 424countfortranfunctions: 425 -@cd ${PETSC_DIR}/src/fortran; egrep '^void' custom/*.c auto/*.c | \ 426 cut -d'(' -f1 | tr -s '' ' ' | cut -d' ' -f2 | uniq | egrep -v "(^$$|Petsc)" | \ 427 sed "s/_$$//" | sort > /tmp/countfortranfunctions 428 429countcfunctions: 430 -@ grep extern ${PETSC_DIR}/include/*.h *.h | grep "(" | tr -s '' ' ' | \ 431 cut -d'(' -f1 | cut -d' ' -f3 | grep -v "\*" | tr -s '' '\012' | \ 432 tr 'A-Z' 'a-z' | sort > /tmp/countcfunctions 433 434difffortranfunctions: countfortranfunctions countcfunctions 435 -@echo -------------- Functions missing in the fortran interface --------------------- 436 -@diff /tmp/countcfunctions /tmp/countfortranfunctions | grep "^<" | cut -d' ' -f2 437 -@echo ----------------- Functions missing in the C interface ------------------------ 438 -@diff /tmp/countcfunctions /tmp/countfortranfunctions | grep "^>" | cut -d' ' -f2 439 -@${RM} /tmp/countcfunctions /tmp/countfortranfunctions 440 441checkbadfortranstubs: 442 -@echo "=========================================" 443 -@echo "Functions with MPI_Comm as an Argument" 444 -@echo "=========================================" 445 -@cd ${PETSC_DIR}/src/fortran/auto; grep '^void' *.c | grep 'MPI_Comm' | \ 446 tr -s '' ' ' | tr -s ':' ' ' |cut -d'(' -f1 | cut -d' ' -f1,3 447 -@echo "=========================================" 448 -@echo "Functions with a String as an Argument" 449 -@echo "=========================================" 450 -@cd ${PETSC_DIR}/src/fortran/auto; grep '^void' *.c | grep 'char \*' | \ 451 tr -s '' ' ' | tr -s ':' ' ' |cut -d'(' -f1 | cut -d' ' -f1,3 452 -@echo "=========================================" 453 -@echo "Functions with Pointers to PETSc Objects as Argument" 454 -@echo "=========================================" 455 -@cd ${PETSC_DIR}/src/fortran/auto; \ 456 _p_OBJ=`grep _p_ ${PETSC_DIR}/include/*.h | tr -s '' ' ' | \ 457 cut -d' ' -f 3 | tr -s '' '\012' | grep -v '{' | cut -d'*' -f1 | \ 458 sed "s/_p_//g" | tr -s '\012 ' ' *|' ` ; \ 459 for OBJ in $$_p_OBJ; do \ 460 grep "$$OBJ \*" *.c | tr -s '' ' ' | tr -s ':' ' ' | \ 461 cut -d'(' -f1 | cut -d' ' -f1,3; \ 462 done 463