xref: /petsc/makefile (revision 20563c6b1ea7b82b48c81bbd22ce9170a8c92d3b)
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)
13*20563c6bSBarry 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
19*20563c6bSBarry Smith	$(RANLIB) $(LDIR)/*.a
2061523587SBarry Smith
218c37ef55SBarry Smithranlib:
22*20563c6bSBarry Smith	$(RANLIB) $(LDIR)/*.a
2361523587SBarry Smith
2461523587SBarry Smithdeletelibs:
25d44968ceSBarry Smith	-$(RM) $(LDIR)/*.o $(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
35*20563c6bSBarry Smith
36*20563c6bSBarry Smith#  to access the tags in emacs type esc-x visit-tags-table
37*20563c6bSBarry Smith#  then esc . to find a function
38*20563c6bSBarry Smithetags:
39*20563c6bSBarry Smith	$(RM) -f TAGS
40*20563c6bSBarry Smith	etags -f TAGS src/*/impls/*/*.h src/*/impls/*/*/*.h src/*/examples/*.c
41*20563c6bSBarry Smith	etags -a -f TAGS src/*/*.h */*.c src/*/src/*.c src/*/impls/*/*.c
42*20563c6bSBarry Smith	etags -a -f TAGS src/*/impls/*/*/*.c
43*20563c6bSBarry Smith	etags -a -f TAGS docs/design.tex
44