1*6b5873e3SBarry SmithIPETSCDIR = . 261523587SBarry Smith 3*6b5873e3SBarry 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 15*6b5873e3SBarry Smithinclude $(IPETSCDIR)/bmake/$(PARCH)/$(PARCH) 1661523587SBarry Smith 1728988994SBarry Smithall: chkpetsclib 1828988994SBarry Smith -@if [ ! -d $(LDIR) ]; then \ 1928988994SBarry Smith echo $(LDIR) ; mkdir -p $(LDIR) ; fi 20f0479e8cSBarry Smith -$(RM) -f $(LDIR)/*.a 21c6a45a97SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PARCH=$(PARCH) 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: 32e8d4e0b9SBarry Smith $(RM) -f $(PETSCLIB)/docs/man/man*/* 33d44968ceSBarry Smith 34b346654fSBarry Smithdeletewwwpages: 35fbe28522SBarry Smith $(RM) -f $(PETSCLIB)/docs/www/man*/* $(PETSCLIB)/docs/www/www.cit 36b346654fSBarry Smith 37b346654fSBarry Smithdeletelatexpages: 3828988994SBarry Smith $(RM) -f $(PETSCLIB)/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 4520563c6bSBarry Smith etags -a -f TAGS src/*/*.h */*.c src/*/src/*.c src/*/impls/*/*.c 46c6a45a97SBarry Smith etags -a -f TAGS src/*/impls/*/*/*.c src/*/utils/*.c 47*6b5873e3SBarry Smith etags -a -f TAGS docs/tex/manual.tex src/sys/error/*.c 481eb62cbbSBarry Smith etags -a -f TAGS include/*.h pinclude/*.h 49a5a9c739SBarry Smith etags -a -f TAGS src/*/impls/*.c 5028988994SBarry Smith chmod g+w TAGS 511eb62cbbSBarry Smith 521eb62cbbSBarry Smithkeywords: 531eb62cbbSBarry Smith $(RM) -f keywords 541eb62cbbSBarry Smith grep Keywords src/*/src/*.c src/*/impls/*.c src/*/impls/*/*.c > key1 551eb62cbbSBarry Smith cut -f1 -d: key1 > key2 561eb62cbbSBarry Smith cut -f3 -d: key1 > key3 571eb62cbbSBarry Smith paste key3 key2 > Keywords 581eb62cbbSBarry Smith $(RM) -f key1 key2 key3 5928988994SBarry Smith chmod g+w Keywords 60c6a45a97SBarry Smith 61c6a45a97SBarry Smithrunexamples: 62