16b5873e3SBarry SmithIPETSCDIR = . 261523587SBarry Smith 36b5873e3SBarry SmithCFLAGS = $(OPT) -I$(IPETSCDIR)/include -I.. -I$(IPETSCDIR) $(CONF) 461523587SBarry SmithSOURCEC = 561523587SBarry SmithSOURCEF = 661523587SBarry SmithWSOURCEC = 761523587SBarry SmithSOURCEH = 861523587SBarry SmithOBJSC = 961523587SBarry SmithWOBJS = 1061523587SBarry SmithOBJSF = 1161523587SBarry SmithLIBBASE = libpetscvec 1261523587SBarry SmithLINCLUDE = $(SOURCEH) 1320563c6bSBarry SmithDIRS = src include pinclude 1461523587SBarry Smith 157857610eSBarry Smithinclude $(IPETSCDIR)/bmake/$(PETSC_ARCH)/$(PETSC_ARCH) 1661523587SBarry Smith 177857610eSBarry Smithall: chkpetsc_dir 1828988994SBarry Smith -@if [ ! -d $(LDIR) ]; then \ 1928988994SBarry Smith echo $(LDIR) ; mkdir -p $(LDIR) ; fi 20f0479e8cSBarry Smith -$(RM) -f $(LDIR)/*.a 217857610eSBarry Smith -@$(OMAKE) BOPT=$(BOPT) PARCH=$(PETSC_ARCH) COMPLEX=$(COMPLEX) \ 22c6a45a97SBarry Smith ACTION=libfast tree 2320563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2461523587SBarry Smith 258c37ef55SBarry Smithranlib: 2620563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2761523587SBarry Smith 2861523587SBarry Smithdeletelibs: 29f0479e8cSBarry Smith -$(RM) -f $(LDIR)/*.a $(LDIR)/complex/* 30d44968ceSBarry Smith 31d44968ceSBarry Smithdeletemanpages: 327857610eSBarry Smith $(RM) -f $(PETSC_DIR)/Keywords $(PETSC_DIR)/docs/man/man*/* 33d44968ceSBarry Smith 34b346654fSBarry Smithdeletewwwpages: 357857610eSBarry Smith $(RM) -f $(PETSC_DIR)/docs/www/man*/* $(PETSC_DIR)/docs/www/www.cit 36b346654fSBarry Smith 37b346654fSBarry Smithdeletelatexpages: 387857610eSBarry Smith $(RM) -f $(PETSC_DIR)/docs/tex/rsum/*sum*.tex 3920563c6bSBarry Smith 4020563c6bSBarry Smith# to access the tags in emacs type esc-x visit-tags-table 4120563c6bSBarry Smith# then esc . to find a function 4220563c6bSBarry Smithetags: 4320563c6bSBarry Smith $(RM) -f TAGS 4420563c6bSBarry Smith etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h src/*/examples/*.c 45fc9f4da1SBarry Smith etags -a -f TAGS src/*/*.h src/*/*.c src/*/src/*.c src/*/impls/*/*.c 46c6a45a97SBarry Smith etags -a -f TAGS src/*/impls/*/*/*.c src/*/utils/*.c 476b5873e3SBarry Smith etags -a -f TAGS docs/tex/manual.tex src/sys/error/*.c 481eb62cbbSBarry Smith etags -a -f TAGS include/*.h pinclude/*.h 49fe7474a4SBarry Smith etags -a -f TAGS src/*/impls/*.c src/sys/*.c 50f5354500SBarry Smith etags -a -f TAGS makefile src/*/src/makefile src/makefile 51f5354500SBarry Smith etags -a -f TAGS src/*/impls/makefile src/*/impls/*/makefile 52f5354500SBarry Smith etags -a -f TAGS bmake/common 53*3ebb8ef7SBarry Smith etags -a -f TAGS src/*/utils/makefile src/*/examples/makefile 54*3ebb8ef7SBarry Smith etags -a -f TAGS src/*/makefile src/*/impls/*/*/makefile 5528988994SBarry Smith chmod g+w TAGS 561eb62cbbSBarry Smith 57c6a45a97SBarry Smithrunexamples: 58