16b5873e3SBarry SmithIPETSCDIR = . 261523587SBarry Smith 36b5873e3SBarry SmithCFLAGS = $(OPT) -I$(IPETSCDIR)/include -I.. -I$(IPETSCDIR) $(CONF) 461523587SBarry SmithSOURCEC = 561523587SBarry SmithSOURCEF = 66f817ba4SBarry SmithSOURCEH = Changes Machines Readme maint/addlinks maint/buildtest \ 7bcfa8486SBarry Smith maint/builddist FAQ Installation Performance BugReporting\ 8deb7fc1cSBarry Smith maint/buildlinks maint/wwwman maint/xclude maint/crontab\ 96b2e9f06SBarry Smith bmake/common bmake/*/*.* 1061523587SBarry SmithOBJSC = 1161523587SBarry SmithOBJSF = 1261523587SBarry SmithLIBBASE = libpetscvec 13*83f0b094SBarry SmithDIRS = src include pinclude finclude docs 1461523587SBarry Smith 157857610eSBarry Smithinclude $(IPETSCDIR)/bmake/$(PETSC_ARCH)/$(PETSC_ARCH) 1661523587SBarry Smith 177857610eSBarry Smithall: chkpetsc_dir 184e04c1a0SBarry Smith -$(RM) -f $(PDIR)/*.a 19e35bd481SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \ 20f3848965SBarry Smith ACTION=libfast tree 214e04c1a0SBarry Smith $(RANLIB) $(PDIR)/*.a 2261523587SBarry Smith 23*83f0b094SBarry Smithfortran: chkpetsc_dir 24*83f0b094SBarry Smith -@cd fortran/custom; \ 25*83f0b094SBarry Smith $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=libfast 26*83f0b094SBarry Smith -@cd fortran/auto; \ 27*83f0b094SBarry Smith $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=libfast 28*83f0b094SBarry Smith $(RANLIB) $(PDIR)/libpetscfortran.a 29*83f0b094SBarry Smith 308c37ef55SBarry Smithranlib: 314e04c1a0SBarry Smith $(RANLIB) $(PDIR)/*.a 3261523587SBarry Smith 3361523587SBarry Smithdeletelibs: 344e04c1a0SBarry Smith -$(RM) -f $(PDIR)/*.a $(PDIR)/complex/* $(PDIR)/c++/* 35d44968ceSBarry Smith 36d44968ceSBarry Smithdeletemanpages: 377857610eSBarry Smith $(RM) -f $(PETSC_DIR)/Keywords $(PETSC_DIR)/docs/man/man*/* 38d44968ceSBarry Smith 39b346654fSBarry Smithdeletewwwpages: 407857610eSBarry Smith $(RM) -f $(PETSC_DIR)/docs/www/man*/* $(PETSC_DIR)/docs/www/www.cit 41b346654fSBarry Smith 42b346654fSBarry Smithdeletelatexpages: 437857610eSBarry Smith $(RM) -f $(PETSC_DIR)/docs/tex/rsum/*sum*.tex 4420563c6bSBarry Smith 45126c565eSBarry Smithallmanpages: deletemanpages deletewwwpages deletelatexpages 46126c565eSBarry Smith -make ACTION=manpages tree 47126c565eSBarry Smith -make ACTION=wwwpages tree 48126c565eSBarry Smith -make ACTION=latexpages tree 49126c565eSBarry Smith -maint/wwwman 50126c565eSBarry Smith 51*83f0b094SBarry Smithallfortranstubs: 52*83f0b094SBarry Smith -@$(RM) $(PETSC_DIR)/fortran/auto/*.c 53*83f0b094SBarry Smith -make ACTION=fortranstubs tree 5497be1f8bSBarry Smith 557acb7333SLois Curfman McInnes# To access the tags in emacs, type M-x visit-tags-table and specify 567acb7333SLois Curfman McInnes# the file petsc/TAGS. Then, to move to where a PETSc function is 577acb7333SLois Curfman McInnes# defined, enter M-. and the function name. To search for a string 587acb7333SLois Curfman McInnes# and move to the first occurrence, use M-x tags-search and the string. 597acb7333SLois Curfman McInnes# To locate later occurrences, use M-, 607acb7333SLois Curfman McInnes 6120563c6bSBarry Smithetags: 62edd2f0e1SBarry Smith $(RM) TAGS 6370a6ad8cSBarry Smith etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h 6470a6ad8cSBarry Smith etags -a -f TAGS src/*/examples/*.c 659b0d1189SLois Curfman McInnes etags -a -f TAGS src/*/*.h src/*/src/*.c src/*/impls/*/*.c 66d60b1e76SLois Curfman McInnes etags -a -f TAGS src/*/impls/*/*/*.c src/*/impls/*/*/*/*.c 6770a6ad8cSBarry Smith etags -a -f TAGS include/*.h pinclude/*.h bmake/common 6870a6ad8cSBarry Smith etags -a -f TAGS src/*/impls/*.c src/*/utils/*.c 69f5354500SBarry Smith etags -a -f TAGS makefile src/*/src/makefile src/makefile 70f5354500SBarry Smith etags -a -f TAGS src/*/impls/makefile src/*/impls/*/makefile 713ebb8ef7SBarry Smith etags -a -f TAGS src/*/utils/makefile src/*/examples/makefile 723ebb8ef7SBarry Smith etags -a -f TAGS src/*/makefile src/*/impls/*/*/makefile 730675aaacSBarry Smith etags -a -f TAGS bmake/common bmake/sun4/sun4* bmake/rs6000/rs6000* 74deb7fc1cSBarry Smith etags -a -f TAGS bmake/solaris/solaris* 750675aaacSBarry Smith etags -a -f TAGS bmake/IRIX/IRIX* bmake/freebsd/freebsd* 76017faef8SBarry Smith etags -a -f TAGS bmake/hpux/hpux* bmake/alpha/alpha* 770675aaacSBarry Smith etags -a -f TAGS bmake/t3d/t3d* bmake/paragon/paragon* 7870a6ad8cSBarry Smith etags -a -f TAGS docs/tex/routin.tex docs/tex/manual.tex 796f817ba4SBarry Smith etags -a -f TAGS docs/tex/intro.tex docs/tex/part1.tex 8028988994SBarry Smith chmod g+w TAGS 81bfce26a3SBarry Smith 82bfce26a3SBarry Smithetags_noexamples: 83bfce26a3SBarry Smith $(RM) TAGS_NO_EXAMPLES 84bfce26a3SBarry Smith etags -f TAGS_NO_EXAMPLES src/*/impls/*/*.h src/*/impls/*/*/*.h 85464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/*.h src/*/src/*.c src/*/impls/*/*.c 86464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/impls/*/*/*.c src/*/impls/*/*/*/*.c 87464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES include/*.h pinclude/*.h bmake/common 88464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/impls/*.c src/*/utils/*.c 89464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES makefile src/*/src/makefile src/makefile 90464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/impls/makefile src/*/impls/*/makefile 91464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/utils/makefile 92464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES src/*/makefile src/*/impls/*/*/makefile 93464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/common bmake/sun4/sun4* 94464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/rs6000/rs6000* 95464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/solaris/solaris* 96464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/IRIX/IRIX* bmake/freebsd/freebsd* 97464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/hpux/hpux* bmake/alpha/alpha* 98464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES bmake/t3d/t3d* bmake/paragon/paragon* 99464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/routin.tex docs/tex/manual.tex 100464493b3SBarry Smith etags -a -f TAGS_NO_EXAMPLES docs/tex/intro.tex docs/tex/part1.tex 101bfce26a3SBarry Smith chmod g+w TAGS_NO_EXAMPLES 102