xref: /petsc/makefile (revision 477943449e2864a77f1dd32f813783b66ec5aa87)
111b6ed10SLois Curfman McInnes#
2cfd69a58SBarry Smith# This is the makefile for installing PETSc. See the file
3cfd69a58SBarry Smith# Installation for directions on installing PETSc.
4cfd69a58SBarry Smith# See also bmake/common for additional commands.
511b6ed10SLois Curfman McInnes#
611b6ed10SLois Curfman McInnes
772035b96SSatish Balay#PETSC_DIR = .
861523587SBarry Smith
9ab94cc7aSSatish BalayCFLAGS	 =
1061523587SBarry SmithSOURCEC	 =
1161523587SBarry SmithSOURCEF	 =
125eea60f9SBarry SmithDOCS	 = Changes Machines Readme maint/addlinks \
1343a90d84SBarry Smith	   maint/builddist FAQ Installation BugReporting\
14deb7fc1cSBarry Smith	   maint/buildlinks maint/wwwman maint/xclude maint/crontab\
15630a6785SBarry Smith	   bmake/common bmake/*/base* maint/autoftp docs/www/sec/* \
16630a6785SBarry Smith           include/finclude/generateincludes bin/petscviewinfo.text \
17630a6785SBarry Smith           bin/petscoptsinfo.text
1861523587SBarry SmithOBJSC	 =
1961523587SBarry SmithOBJSF	 =
2061523587SBarry SmithLIBBASE	 = libpetscvec
21b16a3bb1SBarry SmithDIRS	 = src include docs
2261523587SBarry Smith
234e627d3aSBarry Smithinclude $(PETSC_DIR)/bmake/$(PETSC_ARCH)/base
2461523587SBarry Smith
2511b6ed10SLois Curfman McInnes# Builds PETSc libraries for a given BOPT and architecture
267857610eSBarry Smithall: chkpetsc_dir
27511caf8eSSatish Balay	-$(RM) -f $(PDIR)/*
280b3634f8SBarry Smith	-@echo "Beginning to compile libraries in all directories"
29*47794344SBarry Smith	-@echo "Using compiler: $(CC) $(COPTFLAGS)"
30*47794344SBarry Smith	-@echo "-----------------------------------------"
31b14e8f29SBarry Smith	-@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)"
32*47794344SBarry Smith	-@echo "-----------------------------------------"
33b14e8f29SBarry Smith	-@echo "Using configuration flags: $(CONF)"
34*47794344SBarry Smith	-@echo "-----------------------------------------"
35b14e8f29SBarry Smith	-@echo "Using include paths: $(PETSC_INCLUDE)"
36*47794344SBarry Smith	-@echo "-----------------------------------------"
37c2c9bc36SBarry Smith	-@echo "Using PETSc directory: $(PETSC_DIR)"
38c2c9bc36SBarry Smith	-@echo "Using PETSc arch: $(PETSC_ARCH)"
39*47794344SBarry Smith	-@echo "========================================="
40e35bd481SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
41f3848965SBarry Smith	   ACTION=libfast  tree
42f88f42abSSatish Balay	-@cd $(PETSC_DIR)/src/sys/src ; \
43f88f42abSSatish Balay	$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) rs6000_time
444e04c1a0SBarry Smith	$(RANLIB) $(PDIR)/*.a
457862f17cSBarry Smith	-@chmod g+w  $(PDIR)/*.a
460b3634f8SBarry Smith	-@echo "Completed building libraries"
47*47794344SBarry Smith	-@echo "========================================="
480b3634f8SBarry Smith
490b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture
50a9369724SSatish Balaytestexamples: chkopts
510b3634f8SBarry Smith	-@echo "Beginning to compile and run test examples"
52*47794344SBarry Smith	-@echo "Using compiler: $(CC) $(COPTFLAGS)"
53*47794344SBarry Smith	-@echo "-----------------------------------------"
54b14e8f29SBarry Smith	-@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)"
55*47794344SBarry Smith	-@echo "-----------------------------------------"
56b14e8f29SBarry Smith	-@echo "Using include paths: $(PETSC_INCLUDE)"
57*47794344SBarry Smith	-@echo "-----------------------------------------"
58c2c9bc36SBarry Smith	-@echo "Using PETSc directory: $(PETSC_DIR)"
59c2c9bc36SBarry Smith	-@echo "Using PETSc arch: $(PETSC_ARCH)"
60c2c9bc36SBarry Smith	-@echo "------------------------------------------"
619c69534bSBarry Smith	-@echo "Using linker: $(CLINKER)"
629c69534bSBarry Smith	-@echo "Using libraries: $(PETSC_LIB)"
630b3634f8SBarry Smith	-@echo "------------------------------------------"
64eb817c50SBarry Smith	-@echo "Due to different numerical round-off on certain"
65eb817c50SBarry Smith	-@echo "machines some of the numbers may not match exactly."
66*47794344SBarry Smith	-@echo "========================================="
670b3634f8SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
680b3634f8SBarry Smith	   ACTION=testexamples_1  tree
690b3634f8SBarry Smith	-@echo "Completed compiling and running test examples"
70*47794344SBarry Smith	-@echo "========================================="
710b3634f8SBarry Smith
720b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture
73a9369724SSatish Balaytestexamples_uni: chkopts
748475343bSBarry Smith	-@echo "Beginning to compile and run uniprocessor test examples"
75*47794344SBarry Smith	-@echo "Using compiler: $(CC) $(COPTFLAGS)"
768475343bSBarry Smith	-@echo "Using linker: $(CLINKER)"
77*47794344SBarry Smith	-@echo "------------------------------------------"
78b14e8f29SBarry Smith	-@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)"
79*47794344SBarry Smith	-@echo "------------------------------------------"
80b14e8f29SBarry Smith	-@echo "Using include paths: $(PETSC_INCLUDE)"
81*47794344SBarry Smith	-@echo "------------------------------------------"
82d6db1478SLois Curfman McInnes	-@echo "Using PETSc directory: $(PETSC_DIR)"
83d6db1478SLois Curfman McInnes	-@echo "Using PETSc arch: $(PETSC_ARCH)"
84d6db1478SLois Curfman McInnes	-@echo "------------------------------------------"
85d6db1478SLois Curfman McInnes	-@echo "Using linker: $(CLINKER)"
868475343bSBarry Smith	-@echo "Using libraries: $(PETSC_LIB)"
878475343bSBarry Smith	-@echo "------------------------------------------"
888475343bSBarry Smith	-@echo "Due to different numerical round-off on certain"
898475343bSBarry Smith	-@echo "machines some of the numbers may not match exactly."
90*47794344SBarry Smith	-@echo "========================================="
918475343bSBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
928475343bSBarry Smith	   ACTION=testexamples_4  tree
938475343bSBarry Smith	-@echo "Completed compiling and running uniprocessor test examples"
94*47794344SBarry Smith	-@echo "========================================="
958475343bSBarry Smith
9635ca7349SBarry Smith#
9711b6ed10SLois Curfman McInnes# Builds PETSc Fortran interface libary
9811b6ed10SLois Curfman McInnes# Note:	 libfast cannot run on .F files on certain machines, so we
9935ca7349SBarry Smith# use lib and check for errors here.
10083f0b094SBarry Smithfortran: chkpetsc_dir
101727c161cSBarry Smith	-$(RM) -f $(PDIR)/libpetscfortran.*
1020b3634f8SBarry Smith	-@echo "Beginning to compile Fortran interface library"
10326de76a5SSatish Balay	-@echo "Using Fortran compiler: $(FC) $(FFLAGS) $(FOPTFLAGS)"
104*47794344SBarry Smith	-@echo "Using C/C++ compiler: $(CC) $(COPTFLAGS)"
105*47794344SBarry Smith	-@echo "------------------------------------------"
106fc939babSLois Curfman McInnes	-@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)"
107*47794344SBarry Smith	-@echo "------------------------------------------"
108fc939babSLois Curfman McInnes	-@echo "Using configuration flags: $(CONF)"
109*47794344SBarry Smith	-@echo "------------------------------------------"
110fc939babSLois Curfman McInnes	-@echo "Using include paths: $(PETSC_INCLUDE)"
111*47794344SBarry Smith	-@echo "------------------------------------------"
112d6db1478SLois Curfman McInnes	-@echo "Using PETSc directory: $(PETSC_DIR)"
113d6db1478SLois Curfman McInnes	-@echo "Using PETSc arch: $(PETSC_ARCH)"
114*47794344SBarry Smith	-@echo "========================================="
115b16a3bb1SBarry Smith	-@cd src/fortran/custom; \
11635ca7349SBarry Smith	  $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) lib > trashz 2>&1; \
11735ca7349SBarry Smith	  grep -v clog trashz | grep -v "information sections" | \
11835ca7349SBarry Smith	  egrep -i '(Error|warning|Can)' >> /dev/null;\
11935ca7349SBarry Smith	  if [ "$$?" != 1 ]; then \
12035ca7349SBarry Smith	  cat trashz ; fi; $(RM) trashz
121b16a3bb1SBarry Smith	-@cd src/fortran/auto; \
12235ca7349SBarry Smith	  $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) libfast
12383f0b094SBarry Smith	$(RANLIB) $(PDIR)/libpetscfortran.a
12431dbba39SBarry Smith	-@chmod g+w  $(PDIR)/*.a
1250b3634f8SBarry Smith	-@echo "Completed compiling Fortran interface library"
126*47794344SBarry Smith	-@echo "========================================="
12783f0b094SBarry Smith
128727c161cSBarry Smith# Builds PETSc test examples for a given BOPT and architecture
129a9369724SSatish Balaytestfortran: chkopts
130727c161cSBarry Smith	-@echo "Beginning to compile and run Fortran test examples"
131727c161cSBarry Smith	-@echo "Using compiler: $(FC) $(FFLAGS) $(FOPTFLAGS)"
132727c161cSBarry Smith	-@echo "Using linker: $(FLINKER)"
133727c161cSBarry Smith	-@echo "Using PETSc flags: $(PETSCFLAGS) $(PCONF)"
134*47794344SBarry Smith	-@echo "------------------------------------------"
135727c161cSBarry Smith	-@echo "Using PETSc directory: $(PETSC_DIR)"
136727c161cSBarry Smith	-@echo "Using PETSc arch: $(PETSC_ARCH)"
137727c161cSBarry Smith	-@echo "------------------------------------------"
138727c161cSBarry Smith	-@echo "Using linker: $(FLINKER)"
139727c161cSBarry Smith	-@echo "Using libraries: $(PETSC_FORTRAN_LIB) $(PETSC_LIB)"
140*47794344SBarry Smith	-@echo "========================================="
141727c161cSBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
142727c161cSBarry Smith	   ACTION=testexamples_3  tree
143727c161cSBarry Smith	-@echo "Completed compiling and running Fortran test examples"
144*47794344SBarry Smith	-@echo "========================================="
145727c161cSBarry Smith
1468c37ef55SBarry Smithranlib:
1474e04c1a0SBarry Smith	$(RANLIB) $(PDIR)/*.a
14861523587SBarry Smith
14911b6ed10SLois Curfman McInnes# Deletes PETSc libraries
15061523587SBarry Smithdeletelibs:
1514e04c1a0SBarry Smith	-$(RM) -f $(PDIR)/*.a $(PDIR)/complex/* $(PDIR)/c++/*
152d44968ceSBarry Smith
153d44968ceSBarry Smith
15411b6ed10SLois Curfman McInnes# Deletes man pages (HTML version)
155b346654fSBarry Smithdeletewwwpages:
156dea827f2SLois Curfman McInnes	$(RM) -f $(PETSC_DIR)/docs/www/man*/* $(PETSC_DIR)/docs/www/www.cit \
157dea827f2SLois Curfman McInnes	         $(PETSC_DIR)/docs/www/man*.html
158b346654fSBarry Smith
15911b6ed10SLois Curfman McInnes# Deletes man pages (LaTeX version)
160b346654fSBarry Smithdeletelatexpages:
1617857610eSBarry Smith	$(RM) -f $(PETSC_DIR)/docs/tex/rsum/*sum*.tex
16220563c6bSBarry Smith
1637acb7333SLois Curfman McInnes# To access the tags in emacs, type M-x visit-tags-table and specify
1647acb7333SLois Curfman McInnes# the file petsc/TAGS.	Then, to move to where a PETSc function is
1657acb7333SLois Curfman McInnes# defined, enter M-. and the function name.  To search for a string
1667acb7333SLois Curfman McInnes# and move to the first occurrence, use M-x tags-search and the string.
1677acb7333SLois Curfman McInnes# To locate later occurrences, use M-,
1687acb7333SLois Curfman McInnes
169b38bb785SSatish BalayTAGS_INCLUDE_FILES  = include/*.h include/pinclude/*.h include/FINCLUDE/*.h
170b38bb785SSatish BalayTAGS_BMAKE_FILES    = bmake/common bmake/*/base*
171b38bb785SSatish BalayTAGS_EXAMPLE_FILES  = src/*/examples/*/*.[c,h,F,f] src/*/examples/*/*/*.[c,h,F,f] \
172b38bb785SSatish Balay	src/benchmarks/*.c src/contrib/*/examples/*/*.[c,h,F,f]
173b38bb785SSatish BalayTAGS_DOC_FILES      = docs/tex/manual/routin.tex docs/tex/manual/manual.tex \
174b38bb785SSatish Balay	docs/tex/manual/manual_tex.tex docs/tex/manual/intro.tex \
175b38bb785SSatish Balay	docs/tex/manual/part1.tex docs/tex/manual/part2.tex
1764431cf12SSatish BalayTAGS_SRC_FILES      = src/*/*.[c,h] src/*/interface/*.[c,h] src/*/src/*.[c,h] \
177b38bb785SSatish Balay	src/*/utils/*.[c,h] \
178b38bb785SSatish Balay	src/*/impls/*.[c,h] src/*/impls/*/*.[c,h] src/*/impls/*/*/*.[c,h] \
179b38bb785SSatish Balay	src/gvec/impls/*/*/*/*/*.[c,h] src/contrib/*/*.[c,h] src/contrib/*/src/*.[c,h] \
180b38bb785SSatish Balay	src/fortran/custom/*.[c,h,F]
181b38bb785SSatish BalayTAGS_MAKEFILE_FILES = include/makefile include/*/makefile \
182b38bb785SSatish Balay	makefile \
183b38bb785SSatish Balay	src/makefile src/*/makefile src/*/src/makefile \
184b38bb785SSatish Balay	src/*/interface/makefile \
185b38bb785SSatish Balay	src/*/utils/makefile \
186b38bb785SSatish Balay	src/*/impls/makefile src/*/impls/*/makefile src/*/impls/*/*/makefile \
187b38bb785SSatish Balay	src/*/examples/makefile src/*/examples/*/makefile src/*/examples/*/*/makefile \
188b38bb785SSatish Balay	src/gvec/impls/*/*/*/*/makefile src/gvec/impls/*/*/*/makefile \
189b38bb785SSatish Balay	src/fortran/*/makefile \
190b38bb785SSatish Balay	src/contrib/*/makefile src/contrib/*/src/makefile \
191b38bb785SSatish Balay	src/contrib/*/examples/makefile src/contrib/*/examples/*/makefile \
192b38bb785SSatish Balay	docs/makefile
193b38bb785SSatish Balay
19411b6ed10SLois Curfman McInnes# Builds all etags files
19511b6ed10SLois Curfman McInnesalletags:
1969ae7ee0fSLois Curfman McInnes	-make etags_complete
19711b6ed10SLois Curfman McInnes	-make etags
19811b6ed10SLois Curfman McInnes	-make etags_noexamples
19911b6ed10SLois Curfman McInnes	-make etags_makefiles
20011b6ed10SLois Curfman McInnes
20111b6ed10SLois Curfman McInnes# Builds the basic etags file.	This should be employed by most users.
20220563c6bSBarry Smithetags:
203edd2f0e1SBarry Smith	$(RM) TAGS
204b38bb785SSatish Balay	etags -f TAGS $(TAGS_INCLUDE_FILES)
205b38bb785SSatish Balay	etags -a -f TAGS $(TAGS_SRC_FILES)
206b38bb785SSatish Balay	etags -a -f TAGS $(TAGS_EXAMPLE_FILES)
207b38bb785SSatish Balay	etags -a -f TAGS $(TAGS_MAKEFILE_FILES)
208b38bb785SSatish Balay	etags -a -f TAGS $(TAGS_BMAKE_FILES)
20928988994SBarry Smith	chmod g+w TAGS
210bfce26a3SBarry Smith
21129cdf679SBarry Smith# Builds complete etags list; only for PETSc developers.
21229cdf679SBarry Smithetags_complete:
21329cdf679SBarry Smith	$(RM) TAGS_COMPLETE
2149ca56a1bSSatish Balay	etags -f TAGS_COMPLETE $(TAGS_SRC_FILES)
2159ca56a1bSSatish Balay	etags -a -f TAGS_COMPLETE $(TAGS_INCLUDE_FILES)
216b38bb785SSatish Balay	etags -a -f TAGS_COMPLETE $(TAGS_EXAMPLE_FILES)
217b38bb785SSatish Balay	etags -a -f TAGS_COMPLETE $(TAGS_MAKEFILE_FILES)
218b38bb785SSatish Balay	etags -a -f TAGS_COMPLETE $(TAGS_BMAKE_FILES)
219b38bb785SSatish Balay	etags -a -f TAGS_COMPLETE $(TAGS_DOC_FILES)
22029cdf679SBarry Smith	chmod g+w TAGS_COMPLETE
22129cdf679SBarry Smith
22211b6ed10SLois Curfman McInnes# Builds the etags file that excludes the examples directories
223bfce26a3SBarry Smithetags_noexamples:
224bfce26a3SBarry Smith	$(RM) TAGS_NO_EXAMPLES
2259ca56a1bSSatish Balay	etags -f TAGS_NO_EXAMPLES $(TAGS_SRC_FILES)
2269ca56a1bSSatish Balay	etags -a -f TAGS_NO_EXAMPLES $(TAGS_INCLUDE_FILES)
227b38bb785SSatish Balay	etags -a -f TAGS_NO_EXAMPLES $(TAGS_MAKEFILE_FILES)
228b38bb785SSatish Balay	etags -a -f TAGS_NO_EXAMPLES $(TAGS_BMAKE_FILES)
229b38bb785SSatish Balay	etags -a -f TAGS_NO_EXAMPLES $(TAGS_DOC_FILES)
230bfce26a3SBarry Smith	chmod g+w TAGS_NO_EXAMPLES
231b16a3bb1SBarry Smith
23211b6ed10SLois Curfman McInnes# Builds the etags file for makefiles
233b16a3bb1SBarry Smithetags_makefiles:
234b16a3bb1SBarry Smith	$(RM) TAGS_MAKEFILES
235b38bb785SSatish Balay	etags -f TAGS_MAKEFILES $(TAGS_MAKEFILE_FILES)
236b38bb785SSatish Balay	etags -a -f TAGS_MAKEFILES $(TAGS_BMAKE_FILES)
237b16a3bb1SBarry Smith	chmod g+w TAGS_MAKEFILES
23811b6ed10SLois Curfman McInnes
239b38bb785SSatish Balay#
240b38bb785SSatish Balay# ctags builds the tags file required for VI.
241b38bb785SSatish Balay# To use the tags file do the following:
242b38bb785SSatish Balay# 1. within vi invole the command - :set tags=/home/bsmith/petsc/tags
243b38bb785SSatish Balay#    or add  the command to your ~/.exrc file - set tags=/home/bsmith/petsc/tags
244b38bb785SSatish Balay# 2. now to go to a tag do - :tag TAGNAME for eg - :tag MatCreate
245b38bb785SSatish Balay#
246b38bb785SSatish Balayctags:
247b38bb785SSatish Balay	$(RM) tags
248b8319b70SSatish Balay	ctags -w -f tags $(TAGS_INCLUDE_FILES)
249b8319b70SSatish Balay	ctags -w -a -f tags $(TAGS_SRC_FILES)
250b38bb785SSatish Balay	ctags -w -a -f tags $(TAGS_EXAMPLE_FILES)
251b38bb785SSatish Balay	ctags -w -a -f tags $(TAGS_MAKEFILE_FILES)
252b38bb785SSatish Balay	ctags -w -a -f tags $(TAGS_BMAKE_FILES)
253b38bb785SSatish Balay	chmod g+w tags
254b38bb785SSatish Balay
25511b6ed10SLois Curfman McInnes# ------------------------------------------------------------------
25611b6ed10SLois Curfman McInnes#
25711b6ed10SLois Curfman McInnes# All remaining actions are intended for PETSc developers only.
25811b6ed10SLois Curfman McInnes# PETSc users should not generally need to use these commands.
25911b6ed10SLois Curfman McInnes#
26011b6ed10SLois Curfman McInnes
26111b6ed10SLois Curfman McInnes# Builds all versions of the man pages
262956e605aSBarry Smithallmanpages: allwwwpages alllatexpages
263dea827f2SLois Curfman McInnesallwwwpages: deletewwwpages
264299192b9SLois Curfman McInnes	-make ACTION=wwwpages_buildcite tree
265c3e30b67SBarry Smith	-cd src/fortran/custom; make wwwpages_buildcite
266c3e30b67SBarry Smith	-cd src/fortran/custom; make wwwpages
267dea827f2SLois Curfman McInnes	-make ACTION=wwwpages tree
268dea827f2SLois Curfman McInnes	-maint/wwwman
2699921e35aSSatish Balay	-maint/examplesindex.tcl -www
270f8cfbf3fSSatish Balay	-maint/htmlkeywords.tcl
27151c61065SBarry Smith	-@chmod g+w docs/www/man*/*
272416022c9SBarry Smithalllatexpages: deletelatexpages
273416022c9SBarry Smith	-make ACTION=latexpages tree
274c3e30b67SBarry Smith	-cd src/fortran/custom; make latexpages
27551c61065SBarry Smith	-@chmod g+w docs/tex/rsum/*
276416022c9SBarry Smith
27711b6ed10SLois Curfman McInnes# Builds Fortran stub files
27811b6ed10SLois Curfman McInnesallfortranstubs:
27935aab85fSBarry Smith	-@include/finclude/generateincludes
2804b0e389bSBarry Smith	-@$(RM) -f $(PETSC_DIR)/src/fortran/auto/*.c
28111b6ed10SLois Curfman McInnes	-make ACTION=fortranstubs tree
2824b0e389bSBarry Smith	chmod g+w $(PETSC_DIR)/src/fortran/auto/*.c
283f6ff2982SSatish Balay
284d55938c2SBarry Smithallci:
285d55938c2SBarry Smith	-@cd src/fortran/custom ; $(OMAKE) BOPT=$(BOPT) ci
286b951964fSBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=ci  tree
287b951964fSBarry Smith
288d55938c2SBarry Smithallco:
289d55938c2SBarry Smith	-@cd src/fortran/custom ; $(OMAKE) BOPT=$(BOPT) co
290d55938c2SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=co  tree
291d55938c2SBarry Smith
2925eea60f9SBarry Smithalladicignore:
2935eea60f9SBarry Smith	-@$(RM) $(PDIR)/adicignore
2945eea60f9SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=adicignore  tree
2955eea60f9SBarry Smith
2966e81b665SBarry SmithCFLAGS   =  $(CPPFLAGS) $(CONF)
2976e81b665SBarry Smith
2985eea60f9SBarry Smithalladic:
2995eea60f9SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=adic  tree
300*47794344SBarry Smith	-@cd include ; \
301c22c1629SBarry Smith           adiC.new -avud gradient.new -i $(PETSC_DIR)/bmake/adicmastercontrol $(CFLAGS) petsc.h
302*47794344SBarry Smith	-@cd src/inline ; \
303*47794344SBarry Smith            $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) adic
3046e81b665SBarry Smith
305*47794344SBarry Smithalladiclib:
306*47794344SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) ACTION=adiclib  tree
3075eea60f9SBarry Smith
308956e605aSBarry Smith#
309956e605aSBarry Smith#  We no longer make Unix manpages
310956e605aSBarry Smith#
311956e605aSBarry Smith#allunixmanpages:
312956e605aSBarry Smith#	-make ACTION=manpages tree
313956e605aSBarry Smith#	-cd src/fortran/custom; make manpages
314956e605aSBarry Smith#	-cd docs/man; catman -W .
315956e605aSBarry Smith#	-@chmod g+w docs/man/man*/*
316956e605aSBarry Smith# Deletes man pages (xman version)
317956e605aSBarry Smith#deletemanpages:
318956e605aSBarry Smith#	$(RM) -f $(PETSC_DIR)/Keywords $(PETSC_DIR)/docs/man/man*/*
319f6ff2982SSatish Balay
320