111b6ed10SLois Curfman McInnes# 2cfd69a58SBarry Smith# This is the makefile for installing PETSc. See the file 3cfd69a58SBarry Smith# Installation for directions on installing PETSc. 4cfd69a58SBarry Smith# See also bmake/common for additional commands. 511b6ed10SLois Curfman McInnes# 611b6ed10SLois Curfman McInnes 772035b96SSatish Balay#PETSC_DIR = . 861523587SBarry Smith 9ab94cc7aSSatish BalayCFLAGS = 1061523587SBarry SmithSOURCEC = 1161523587SBarry SmithSOURCEF = 126daaf66cSBarry SmithSOURCEH = Changes Machines Readme maint/addlinks \ 13bcfa8486SBarry Smith maint/builddist FAQ Installation Performance BugReporting\ 14deb7fc1cSBarry Smith maint/buildlinks maint/wwwman maint/xclude maint/crontab\ 154e627d3aSBarry Smith bmake/common bmake/*/base* maint/autoftp docs/www/sec/* 1661523587SBarry SmithOBJSC = 1761523587SBarry SmithOBJSF = 1861523587SBarry SmithLIBBASE = libpetscvec 19b16a3bb1SBarry SmithDIRS = src include docs 2061523587SBarry Smith 214e627d3aSBarry Smithinclude $(PETSC_DIR)/bmake/$(PETSC_ARCH)/base 2261523587SBarry Smith 2311b6ed10SLois Curfman McInnes# Builds PETSc libraries for a given BOPT and architecture 247857610eSBarry Smithall: chkpetsc_dir 25511caf8eSSatish Balay -$(RM) -f $(PDIR)/* 260b3634f8SBarry Smith -@echo "Beginning to compile libraries in all directories" 2726de76a5SSatish Balay -@echo "Using compiler: $(CC) $(CFLAGS) $(COPTFLAGS)" 28b14e8f29SBarry Smith -@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)" 29b14e8f29SBarry Smith -@echo "Using configuration flags: $(CONF)" 30b14e8f29SBarry Smith -@echo "Using include paths: $(PETSC_INCLUDE)" 31c2c9bc36SBarry Smith -@echo "Using PETSc directory: $(PETSC_DIR)" 32c2c9bc36SBarry Smith -@echo "Using PETSc arch: $(PETSC_ARCH)" 330b3634f8SBarry Smith -@echo "------------------------------------------" 34e35bd481SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \ 35f3848965SBarry Smith ACTION=libfast tree 36aa45e91cSSatish Balay -@cd $(PETSC_DIR)/src/sys/src ; $(OMAKE) PETSC_ARCH=$(PETSC_ARCH) rs6000_time 374e04c1a0SBarry Smith $(RANLIB) $(PDIR)/*.a 387862f17cSBarry Smith -@chmod g+w $(PDIR)/*.a 390b3634f8SBarry Smith -@echo "Completed building libraries" 400b3634f8SBarry Smith -@echo "------------------------------------------" 410b3634f8SBarry Smith 420b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture 430b3634f8SBarry Smithtestexamples: chkpetsc_dir 440b3634f8SBarry Smith -@echo "Beginning to compile and run test examples" 4526de76a5SSatish Balay -@echo "Using compiler: $(CC) $(CFLAGS) $(COPTFLAGS)" 46b14e8f29SBarry Smith -@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)" 47b14e8f29SBarry Smith -@echo "Using include paths: $(PETSC_INCLUDE)" 48c2c9bc36SBarry Smith -@echo "Using PETSc directory: $(PETSC_DIR)" 49c2c9bc36SBarry Smith -@echo "Using PETSc arch: $(PETSC_ARCH)" 50c2c9bc36SBarry Smith -@echo "------------------------------------------" 519c69534bSBarry Smith -@echo "Using linker: $(CLINKER)" 529c69534bSBarry Smith -@echo "Using libraries: $(PETSC_LIB)" 530b3634f8SBarry Smith -@echo "------------------------------------------" 54eb817c50SBarry Smith -@echo "Due to different numerical round-off on certain" 55eb817c50SBarry Smith -@echo "machines some of the numbers may not match exactly." 5631ca9999SBarry Smith -@echo "------------------------------------------" 570b3634f8SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \ 580b3634f8SBarry Smith ACTION=testexamples_1 tree 590b3634f8SBarry Smith -@echo "Completed compiling and running test examples" 600b3634f8SBarry Smith -@echo "------------------------------------------" 610b3634f8SBarry Smith 620b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture 638475343bSBarry Smithtestexamples_uni: chkpetsc_dir 648475343bSBarry Smith -@echo "Beginning to compile and run uniprocessor test examples" 6526de76a5SSatish Balay -@echo "Using compiler: $(CC) $(CFLAGS) $(COPTFLAGS)" 668475343bSBarry Smith -@echo "Using linker: $(CLINKER)" 67b14e8f29SBarry Smith -@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)" 68b14e8f29SBarry Smith -@echo "Using include paths: $(PETSC_INCLUDE)" 69d6db1478SLois Curfman McInnes -@echo "Using PETSc directory: $(PETSC_DIR)" 70d6db1478SLois Curfman McInnes -@echo "Using PETSc arch: $(PETSC_ARCH)" 71d6db1478SLois Curfman McInnes -@echo "------------------------------------------" 72d6db1478SLois Curfman McInnes -@echo "Using linker: $(CLINKER)" 738475343bSBarry Smith -@echo "Using libraries: $(PETSC_LIB)" 748475343bSBarry Smith -@echo "------------------------------------------" 758475343bSBarry Smith -@echo "Due to different numerical round-off on certain" 768475343bSBarry Smith -@echo "machines some of the numbers may not match exactly." 778475343bSBarry Smith -@echo "------------------------------------------" 788475343bSBarry Smith -@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \ 798475343bSBarry Smith ACTION=testexamples_4 tree 808475343bSBarry Smith -@echo "Completed compiling and running uniprocessor test examples" 818475343bSBarry Smith -@echo "------------------------------------------" 828475343bSBarry Smith 8335ca7349SBarry Smith# 8411b6ed10SLois Curfman McInnes# Builds PETSc Fortran interface libary 8511b6ed10SLois Curfman McInnes# Note: libfast cannot run on .F files on certain machines, so we 8635ca7349SBarry Smith# use lib and check for errors here. 8783f0b094SBarry Smithfortran: chkpetsc_dir 88727c161cSBarry Smith -$(RM) -f $(PDIR)/libpetscfortran.* 890b3634f8SBarry Smith -@echo "Beginning to compile Fortran interface library" 9026de76a5SSatish Balay -@echo "Using Fortran compiler: $(FC) $(FFLAGS) $(FOPTFLAGS)" 91fc939babSLois Curfman McInnes -@echo "Using C/C++ compiler: $(CC) $(CFLAGS) $(COPTFLAGS)" 92fc939babSLois Curfman McInnes -@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)" 93fc939babSLois Curfman McInnes -@echo "Using configuration flags: $(CONF)" 94fc939babSLois Curfman McInnes -@echo "Using include paths: $(PETSC_INCLUDE)" 95d6db1478SLois Curfman McInnes -@echo "Using PETSc directory: $(PETSC_DIR)" 96d6db1478SLois Curfman McInnes -@echo "Using PETSc arch: $(PETSC_ARCH)" 970b3634f8SBarry Smith -@echo "------------------------------------------" 98b16a3bb1SBarry Smith -@cd src/fortran/custom; \ 9935ca7349SBarry Smith $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) lib > trashz 2>&1; \ 10035ca7349SBarry Smith grep -v clog trashz | grep -v "information sections" | \ 10135ca7349SBarry Smith egrep -i '(Error|warning|Can)' >> /dev/null;\ 10235ca7349SBarry Smith if [ "$$?" != 1 ]; then \ 10335ca7349SBarry Smith cat trashz ; fi; $(RM) trashz 104b16a3bb1SBarry Smith -@cd src/fortran/auto; \ 10535ca7349SBarry Smith $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) libfast 10683f0b094SBarry Smith $(RANLIB) $(PDIR)/libpetscfortran.a 10731dbba39SBarry Smith -@chmod g+w $(PDIR)/*.a 1080b3634f8SBarry Smith -@echo "Completed compiling Fortran interface library" 1090b3634f8SBarry Smith -@echo "------------------------------------------" 11083f0b094SBarry Smith 111727c161cSBarry Smith# Builds PETSc test examples for a given BOPT and architecture 112727c161cSBarry Smithtestfortran: chkpetsc_dir 113727c161cSBarry Smith -@echo "Beginning to compile and run Fortran test examples" 114727c161cSBarry Smith -@echo "Using compiler: $(FC) $(FFLAGS) $(FOPTFLAGS)" 115727c161cSBarry Smith -@echo "Using linker: $(FLINKER)" 116727c161cSBarry Smith -@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)" 117727c161cSBarry Smith -@echo "Using PETSc directory: $(PETSC_DIR)" 118727c161cSBarry Smith -@echo "Using PETSc arch: $(PETSC_ARCH)" 119727c161cSBarry Smith -@echo "------------------------------------------" 120727c161cSBarry Smith -@echo "Using linker: $(FLINKER)" 121727c161cSBarry Smith -@echo "Using libraries: $(PETSC_FORTRAN_LIB) $(PETSC_LIB)" 122727c161cSBarry Smith -@echo "------------------------------------------" 123727c161cSBarry Smith -@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \ 124727c161cSBarry Smith ACTION=testexamples_3 tree 125727c161cSBarry Smith -@echo "Completed compiling and running Fortran test examples" 126727c161cSBarry Smith -@echo "------------------------------------------" 127727c161cSBarry Smith 1288c37ef55SBarry Smithranlib: 1294e04c1a0SBarry Smith $(RANLIB) $(PDIR)/*.a 13061523587SBarry Smith 13111b6ed10SLois Curfman McInnes# Deletes PETSc libraries 13261523587SBarry Smithdeletelibs: 1334e04c1a0SBarry Smith -$(RM) -f $(PDIR)/*.a $(PDIR)/complex/* $(PDIR)/c++/* 134d44968ceSBarry Smith 135d44968ceSBarry Smith 13611b6ed10SLois Curfman McInnes# Deletes man pages (HTML version) 137b346654fSBarry Smithdeletewwwpages: 138dea827f2SLois Curfman McInnes $(RM) -f $(PETSC_DIR)/docs/www/man*/* $(PETSC_DIR)/docs/www/www.cit \ 139dea827f2SLois Curfman McInnes $(PETSC_DIR)/docs/www/man*.html 140b346654fSBarry Smith 14111b6ed10SLois Curfman McInnes# Deletes man pages (LaTeX version) 142b346654fSBarry Smithdeletelatexpages: 1437857610eSBarry Smith $(RM) -f $(PETSC_DIR)/docs/tex/rsum/*sum*.tex 14420563c6bSBarry Smith 1457acb7333SLois Curfman McInnes# To access the tags in emacs, type M-x visit-tags-table and specify 1467acb7333SLois Curfman McInnes# the file petsc/TAGS. Then, to move to where a PETSc function is 1477acb7333SLois Curfman McInnes# defined, enter M-. and the function name. To search for a string 1487acb7333SLois Curfman McInnes# and move to the first occurrence, use M-x tags-search and the string. 1497acb7333SLois Curfman McInnes# To locate later occurrences, use M-, 1507acb7333SLois Curfman McInnes 15111b6ed10SLois Curfman McInnes# Builds all etags files 15211b6ed10SLois Curfman McInnesalletags: 1539ae7ee0fSLois Curfman McInnes -make etags_complete 15411b6ed10SLois Curfman McInnes -make etags 15511b6ed10SLois Curfman McInnes -make etags_noexamples 15611b6ed10SLois Curfman McInnes -make etags_makefiles 15711b6ed10SLois Curfman McInnes 15811b6ed10SLois Curfman McInnes# Builds the basic etags file. This should be employed by most users. 15920563c6bSBarry Smithetags: 160edd2f0e1SBarry Smith $(RM) TAGS 16170a6ad8cSBarry Smith etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h 162ffb43d28SLois Curfman McInnes etags -a -f TAGS src/*/examples/*/*.c src/*/examples/*/*/*.c 163ffb43d28SLois Curfman McInnes etags -a -f TAGS src/*/examples/*/*.F src/*/examples/*/*/*.F 164ffb43d28SLois Curfman McInnes etags -a -f TAGS src/*/examples/*/*.f 165531823f5SLois Curfman McInnes etags -a -f TAGS src/*/*.h src/*/*/*.h src/*/interface/*.c 166bdec0fbfSBarry Smith etags -a -f TAGS src/*/src/*.c src/*/impls/*/*.c 167749d9927SSatish Balay etags -a -f TAGS src/*/impls/*/*/*.c src/benchmarks/*.c 168cd9cd4f0SLois Curfman McInnes etags -a -f TAGS src/contrib/*/*.c src/contrib/*/src/*.c 16973fdc502SLois Curfman McInnes etags -a -f TAGS src/contrib/*/examples/*/*.c src/contrib/*/examples/*/*.F 17073fdc502SLois Curfman McInnes etags -a -f TAGS src/contrib/*/src/*.h 17190ace30eSBarry Smith etags -a -f TAGS include/*.h include/pinclude/*.h bmake/common 17290ace30eSBarry Smith etags -a -f TAGS include/FINCLUDE/*.h 17370a6ad8cSBarry Smith etags -a -f TAGS src/*/impls/*.c src/*/utils/*.c 174*956e605aSBarry Smith etags -a -f TAGS src/gvec/impls/*/*/*/*/*.c 175*956e605aSBarry Smith etags -a -f TAGS src/gvec/impls/*/*/*/*.c 176*956e605aSBarry Smith etags -a -f TAGS src/gvec/impls/*/*/*/makefile src/gvec/impls/*/*/*/*/makefile 1770de55854SLois Curfman McInnes etags -a -f TAGS makefile src/*/src/makefile 1780de55854SLois Curfman McInnes etags -a -f TAGS src/*/interface/makefile src/makefile 179f5354500SBarry Smith etags -a -f TAGS src/*/impls/makefile src/*/impls/*/makefile 1803ebb8ef7SBarry Smith etags -a -f TAGS src/*/utils/makefile src/*/examples/makefile 181da97394bSLois Curfman McInnes etags -a -f TAGS src/*/examples/*/makefile src/*/examples/*/*/makefile 1823ebb8ef7SBarry Smith etags -a -f TAGS src/*/makefile src/*/impls/*/*/makefile 183cd9cd4f0SLois Curfman McInnes etags -a -f TAGS src/contrib/*/makefile src/contrib/*/src/makefile 18473fdc502SLois Curfman McInnes etags -a -f TAGS src/contrib/*/examples/makefile src/contrib/*/examples/*/makefile 1852bf65771SLois Curfman McInnes etags -a -f TAGS src/fortran/makefile src/fortran/auto/makefile 1862bf65771SLois Curfman McInnes etags -a -f TAGS src/fortran/custom/makefile 187fea641f4SSatish Balay etags -a -f TAGS include/makefile include/*/makefile 1884e627d3aSBarry Smith etags -a -f TAGS bmake/common bmake/*/base* 189cfd69a58SBarry Smith etags -a -f TAGS src/fortran/custom/*.c src/fortran/auto/*.c 190cfd69a58SBarry Smith etags -a -f TAGS src/benchmarks/*.c src/fortran/custom/*.F 19128988994SBarry Smith chmod g+w TAGS 192bfce26a3SBarry Smith 19329cdf679SBarry Smith# Builds complete etags list; only for PETSc developers. 19429cdf679SBarry Smithetags_complete: 19529cdf679SBarry Smith $(RM) TAGS_COMPLETE 19629cdf679SBarry Smith etags -f TAGS_COMPLETE src/*/impls/*/*.h src/*/impls/*/*/*.h 197ffb43d28SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/*/examples/*/*.c src/*/examples/*/*/*.c 198ffb43d28SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/*/examples/*/*.F src/*/examples/*/*/*.F 199ffb43d28SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/*/examples/*/*.f 20029cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/*.h src/*/*/*.h src/*/interface/*.c 20129cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/src/*.c src/*/impls/*/*.c 20229cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/impls/*/*/*.c src/benchmarks/*.c 20329cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/contrib/*/*.c src/contrib/*/src/*.c 204cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/contrib/*/src/*.h 20573fdc502SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/contrib/*/examples/*/*.c src/contrib/*/examples/*/*.F 20629cdf679SBarry Smith etags -a -f TAGS_COMPLETE include/*.h include/pinclude/*.h bmake/common 20729cdf679SBarry Smith etags -a -f TAGS_COMPLETE include/FINCLUDE/*.h 20829cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/impls/*.c src/*/utils/*.c 209*956e605aSBarry Smith etags -a -f TAGS_COMPLETE src/gvec/impls/*/*/*/*/*.c 210*956e605aSBarry Smith etags -a -f TAGS_COMPLETE src/gvec/impls/*/*/*/*.c 211*956e605aSBarry Smith etags -a -f TAGS_COMPLETE src/gvec/impls/*/*/*/makefile src/gvec/impls/*/*/*/*/makefile 21229cdf679SBarry Smith etags -a -f TAGS_COMPLETE makefile src/*/src/makefile 21329cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/interface/makefile src/makefile 21429cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/impls/makefile src/*/impls/*/makefile 21529cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/utils/makefile src/*/examples/makefile 216cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/*/examples/*/makefile 217cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/*/examples/*/*/makefile 21829cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/*/makefile src/*/impls/*/*/makefile 219cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/contrib/*/makefile 220cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/contrib/*/src/makefile 22173fdc502SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/contrib/*/examples/makefile 22273fdc502SLois Curfman McInnes etags -a -f TAGS_COMPLETE src/contrib/*/examples/*/makefile 22329cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/fortran/makefile src/fortran/auto/makefile 22429cdf679SBarry Smith etags -a -f TAGS_COMPLETE src/fortran/custom/makefile 22529cdf679SBarry Smith etags -a -f TAGS_COMPLETE include/makefile include/*/makefile 22629cdf679SBarry Smith etags -a -f TAGS_COMPLETE bmake/common bmake/*/base* 227cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/fortran/custom/*.c src/fortran/auto/*.c 228cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/benchmarks/*.c 229cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE src/fortran/custom/*.F 230cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/routin.tex 231cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/manual.tex 23229cdf679SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/manual_tex.tex 233cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/intro.tex 234cfd69a58SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/part1.tex 23529cdf679SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/part2.tex 23629cdf679SBarry Smith etags -a -f TAGS_COMPLETE docs/tex/manual/intro.tex docs/makefile 23729cdf679SBarry Smith chmod g+w TAGS_COMPLETE 23829cdf679SBarry Smith 23911b6ed10SLois Curfman McInnes# Builds the etags file that excludes the examples directories 240bfce26a3SBarry Smithetags_noexamples: 241bfce26a3SBarry Smith $(RM) TAGS_NO_EXAMPLES 242bfce26a3SBarry Smith etags -f TAGS_NO_EXAMPLES src/*/impls/*/*.h src/*/impls/*/*/*.h 243531823f5SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/*/*.h src/*/*/*.h src/*/interface/*.c 24464f8aa17SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/*/src/*.c src/*/impls/*/*.c 2450429b4e3SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/*/impls/*/*/*.c 246cd9cd4f0SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/contrib/*/*.c src/contrib/*/src/*.c 247bec85862SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/contrib/*/src/*.h 24890ace30eSBarry Smith etags -a -f TAGS_NO_EXAMPLES include/*.h include/pinclude/*.h 24990ace30eSBarry Smith etags -a -f TAGS_NO_EXAMPLES include/FINCLUDE/*.h 250b16a3bb1SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/common 251464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/impls/*.c src/*/utils/*.c 252*956e605aSBarry Smith etags -a -f TAGS_NO_EXAMPLES src/gvec/impls/*/*/*/*/*.c 253*956e605aSBarry Smith etags -a -f TAGS_NO_EXAMPLES src/gvec/impls/*/*/*/*.c 254*956e605aSBarry Smith etags -a -f TAGS_NO_EXAMPLES src/gvec/impls/*/*/*/makefile src/gvec/impls/*/*/*/*/makefile 2550de55854SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES makefile src/*/src/makefile 2560de55854SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/*/interface/makefile src/makefile 257464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/impls/makefile src/*/impls/*/makefile 258464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/utils/makefile 259464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/makefile src/*/impls/*/*/makefile 260cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/contrib/*/makefile 261cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/contrib/*/src/makefile 262cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/fortran/makefile 263cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/fortran/auto/makefile 2642bf65771SLois Curfman McInnes etags -a -f TAGS_NO_EXAMPLES src/fortran/custom/makefile 265fea641f4SSatish Balay etags -a -f TAGS_NO_EXAMPLES include/makefile include/*/makefile 2664e627d3aSBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/common bmake/*/base* 2674c71ded4SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/fortran/auto/*.c 268cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/fortran/custom/*.c 269cfd69a58SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/fortran/custom/*.F 27072936c9dSBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/routin.tex 27172936c9dSBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/manual.tex 27272936c9dSBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/intro.tex 27372936c9dSBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/part1.tex 27472936c9dSBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/part2.tex 275fea641f4SSatish Balay etags -a -f TAGS_NO_EXAMPLES docs/makefile 276bfce26a3SBarry Smith chmod g+w TAGS_NO_EXAMPLES 277b16a3bb1SBarry Smith 27811b6ed10SLois Curfman McInnes# Builds the etags file for makefiles 279b16a3bb1SBarry Smithetags_makefiles: 280b16a3bb1SBarry Smith $(RM) TAGS_MAKEFILES 281b16a3bb1SBarry Smith etags -a -f TAGS_MAKEFILES bmake/common 2820de55854SLois Curfman McInnes etags -a -f TAGS_MAKEFILES makefile src/*/src/makefile 2830de55854SLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/*/interface/makefile src/makefile 284b16a3bb1SBarry Smith etags -a -f TAGS_MAKEFILES src/*/impls/makefile src/*/impls/*/makefile 2852328c152SLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/*/utils/makefile src/*/interface/makefile 286b16a3bb1SBarry Smith etags -a -f TAGS_MAKEFILES src/*/makefile src/*/impls/*/*/makefile 287cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/*/examples/makefile 288cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/*/examples/*/makefile 289da97394bSLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/*/examples/*/*/makefile 290*956e605aSBarry Smith etags -a -f TAGS_MAKEFILES src/gvec/impls/*/*/*/*/makefile 291*956e605aSBarry Smith etags -a -f TAGS_MAKEFILES src/gvec/impls/*/*/*/makefile 292cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/fortran/makefile 293cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/fortran/auto/makefile 294cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/contrib/*/makefile 295cfd69a58SBarry Smith etags -a -f TAGS_MAKEFILES src/contrib/*/src/makefile 29673fdc502SLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/contrib/*/examples/makefile 29773fdc502SLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/contrib/*/examples/*/makefile 2982bf65771SLois Curfman McInnes etags -a -f TAGS_MAKEFILES src/fortran/custom/makefile 299fea641f4SSatish Balay etags -a -f TAGS_MAKEFILES include/makefile include/*/makefile 3004e627d3aSBarry Smith etags -a -f TAGS_MAKEFILES bmake/common bmake/*/base* 301fea641f4SSatish Balay etags -a -f TAGS_MAKEFILES docs/makefile 302b16a3bb1SBarry Smith chmod g+w TAGS_MAKEFILES 30311b6ed10SLois Curfman McInnes 30411b6ed10SLois Curfman McInnes# ------------------------------------------------------------------ 30511b6ed10SLois Curfman McInnes# 30611b6ed10SLois Curfman McInnes# All remaining actions are intended for PETSc developers only. 30711b6ed10SLois Curfman McInnes# PETSc users should not generally need to use these commands. 30811b6ed10SLois Curfman McInnes# 30911b6ed10SLois Curfman McInnes 31011b6ed10SLois Curfman McInnes# Builds all versions of the man pages 311*956e605aSBarry Smithallmanpages: allwwwpages alllatexpages 312dea827f2SLois Curfman McInnesallwwwpages: deletewwwpages 313299192b9SLois Curfman McInnes -make ACTION=wwwpages_buildcite tree 314c3e30b67SBarry Smith -cd src/fortran/custom; make wwwpages_buildcite 315c3e30b67SBarry Smith -cd src/fortran/custom; make wwwpages 316dea827f2SLois Curfman McInnes -make ACTION=wwwpages tree 317dea827f2SLois Curfman McInnes -maint/wwwman 3189921e35aSSatish Balay -maint/examplesindex.tcl -www 31951c61065SBarry Smith -@chmod g+w docs/www/man*/* 320416022c9SBarry Smithalllatexpages: deletelatexpages 321416022c9SBarry Smith -make ACTION=latexpages tree 322c3e30b67SBarry Smith -cd src/fortran/custom; make latexpages 32351c61065SBarry Smith -@chmod g+w docs/tex/rsum/* 324416022c9SBarry Smith 32511b6ed10SLois Curfman McInnes# Builds Fortran stub files 32611b6ed10SLois Curfman McInnesallfortranstubs: 32735aab85fSBarry Smith -@include/finclude/generateincludes 3284b0e389bSBarry Smith -@$(RM) -f $(PETSC_DIR)/src/fortran/auto/*.c 32911b6ed10SLois Curfman McInnes -make ACTION=fortranstubs tree 3304b0e389bSBarry Smith chmod g+w $(PETSC_DIR)/src/fortran/auto/*.c 331f6ff2982SSatish Balay 332*956e605aSBarry Smith# 333*956e605aSBarry Smith# We no longer make Unix manpages 334*956e605aSBarry Smith# 335*956e605aSBarry Smith#allunixmanpages: 336*956e605aSBarry Smith# -make ACTION=manpages tree 337*956e605aSBarry Smith# -cd src/fortran/custom; make manpages 338*956e605aSBarry Smith# -cd docs/man; catman -W . 339*956e605aSBarry Smith# -@chmod g+w docs/man/man*/* 340*956e605aSBarry Smith# Deletes man pages (xman version) 341*956e605aSBarry Smith#deletemanpages: 342*956e605aSBarry Smith# $(RM) -f $(PETSC_DIR)/Keywords $(PETSC_DIR)/docs/man/man*/* 343f6ff2982SSatish Balay 344