1d44968ceSBarry SmithITOOLSDIR = . 261523587SBarry Smith 361523587SBarry SmithCFLAGS = $(OPT) -I$(ITOOLSDIR)/include -I.. -I$(ITOOLSDIR) $(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 151aeea900SBarry Smithinclude $(ITOOLSDIR)/bmake/$(PARCH)/$(PARCH) 1661523587SBarry Smith 1761523587SBarry Smithall: 18*f0479e8cSBarry Smith -$(RM) -f $(LDIR)/*.a 19c6a45a97SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PARCH=$(PARCH) COMPLEX=$(COMPLEX) \ 20c6a45a97SBarry Smith ACTION=libfast tree 2120563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2261523587SBarry Smith 238c37ef55SBarry Smithranlib: 2420563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2561523587SBarry Smith 2661523587SBarry Smithdeletelibs: 27*f0479e8cSBarry Smith -$(RM) -f $(LDIR)/*.a $(LDIR)/complex/* 28d44968ceSBarry Smith 29d44968ceSBarry Smithdeletemanpages: 30e8d4e0b9SBarry Smith $(RM) -f $(PETSCLIB)/docs/man/man*/* 31d44968ceSBarry Smith 32b346654fSBarry Smithdeletewwwpages: 33e8d4e0b9SBarry Smith $(RM) -f $(PETSCLIB)/docs/www/man*/* 34b346654fSBarry Smith 35b346654fSBarry Smithdeletelatexpages: 36b346654fSBarry Smith $(RM) -f $(PETSCLIB)/docs/rsum/*sum*.tex 3720563c6bSBarry Smith 3820563c6bSBarry Smith# to access the tags in emacs type esc-x visit-tags-table 3920563c6bSBarry Smith# then esc . to find a function 4020563c6bSBarry Smithetags: 4120563c6bSBarry Smith $(RM) -f TAGS 4220563c6bSBarry Smith etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h src/*/examples/*.c 4320563c6bSBarry Smith etags -a -f TAGS src/*/*.h */*.c src/*/src/*.c src/*/impls/*/*.c 44c6a45a97SBarry Smith etags -a -f TAGS src/*/impls/*/*/*.c src/*/utils/*.c 451eb62cbbSBarry Smith etags -a -f TAGS docs/design.tex src/sys/error/*.c 461eb62cbbSBarry Smith etags -a -f TAGS include/*.h pinclude/*.h 471eb62cbbSBarry Smith 481eb62cbbSBarry Smithkeywords: 491eb62cbbSBarry Smith $(RM) -f keywords 501eb62cbbSBarry Smith grep Keywords src/*/src/*.c src/*/impls/*.c src/*/impls/*/*.c > key1 511eb62cbbSBarry Smith cut -f1 -d: key1 > key2 521eb62cbbSBarry Smith cut -f3 -d: key1 > key3 531eb62cbbSBarry Smith paste key3 key2 > Keywords 541eb62cbbSBarry Smith $(RM) -f key1 key2 key3 55c6a45a97SBarry Smith 56c6a45a97SBarry Smithrunexamples: 57