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: 183cd34c04SBarry Smith -@$(OMAKE) BOPT=$(BOPT) PARCH=$(PARCH) ACTION=libfast tree 1920563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2061523587SBarry Smith 218c37ef55SBarry Smithranlib: 2220563c6bSBarry Smith $(RANLIB) $(LDIR)/*.a 2361523587SBarry Smith 2461523587SBarry Smithdeletelibs: 25*1eb62cbbSBarry Smith -$(RM) $(LDIR)/*.a $(LDIR)/complex/* 26d44968ceSBarry Smith 27d44968ceSBarry Smithdeletemanpages: 28e8d4e0b9SBarry Smith $(RM) -f $(PETSCLIB)/docs/man/man*/* 29d44968ceSBarry Smith 30b346654fSBarry Smithdeletewwwpages: 31e8d4e0b9SBarry Smith $(RM) -f $(PETSCLIB)/docs/www/man*/* 32b346654fSBarry Smith 33b346654fSBarry Smithdeletelatexpages: 34b346654fSBarry Smith $(RM) -f $(PETSCLIB)/docs/rsum/*sum*.tex 3520563c6bSBarry Smith 3620563c6bSBarry Smith# to access the tags in emacs type esc-x visit-tags-table 3720563c6bSBarry Smith# then esc . to find a function 3820563c6bSBarry Smithetags: 3920563c6bSBarry Smith $(RM) -f TAGS 4020563c6bSBarry Smith etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h src/*/examples/*.c 4120563c6bSBarry Smith etags -a -f TAGS src/*/*.h */*.c src/*/src/*.c src/*/impls/*/*.c 42*1eb62cbbSBarry Smith etags -a -f TAGS src/*/impls/*/*/*.c src/utils/*.c 43*1eb62cbbSBarry Smith etags -a -f TAGS docs/design.tex src/sys/error/*.c 44*1eb62cbbSBarry Smith etags -a -f TAGS include/*.h pinclude/*.h 45*1eb62cbbSBarry Smith 46*1eb62cbbSBarry Smithkeywords: 47*1eb62cbbSBarry Smith $(RM) -f keywords 48*1eb62cbbSBarry Smith grep Keywords src/*/src/*.c src/*/impls/*.c src/*/impls/*/*.c > key1 49*1eb62cbbSBarry Smith cut -f1 -d: key1 > key2 50*1eb62cbbSBarry Smith cut -f3 -d: key1 > key3 51*1eb62cbbSBarry Smith paste key3 key2 > Keywords 52*1eb62cbbSBarry Smith $(RM) -f key1 key2 key3 53