xref: /petsc/makefile (revision 77c4ece699e97450631aa6fc5b0ef04ff52df029)
111b6ed10SLois Curfman McInnes#
211b6ed10SLois Curfman McInnes# This makefile contains some basic commands for building PETSc.
311b6ed10SLois Curfman McInnes# See bmake/common for additional commands.
411b6ed10SLois Curfman McInnes#
511b6ed10SLois Curfman McInnes
60de55854SLois Curfman McInnesPETSC_DIR = .
761523587SBarry Smith
855659b69SBarry SmithCFLAGS	 =  -I$(PETSC_DIR)/include -I.. -I$(PETSC_DIR) $(CONF) $(PCONF)
961523587SBarry SmithSOURCEC	 =
1061523587SBarry SmithSOURCEF	 =
116daaf66cSBarry SmithSOURCEH	 = Changes Machines Readme maint/addlinks \
12bcfa8486SBarry Smith	   maint/builddist FAQ Installation Performance BugReporting\
13deb7fc1cSBarry Smith	   maint/buildlinks maint/wwwman maint/xclude maint/crontab\
146daaf66cSBarry Smith	   bmake/common bmake/sun4/* bmake/paragon/* bmake/linux/* \
156daaf66cSBarry Smith	   bmake/rs6000/* bmake/alpha/* bmake/IRIX/* bmake/IRIX64/* \
166daaf66cSBarry Smith	   bmake/hpux/* bmake/t3d/* bmake/freebsd/* bmake/solaris/* \
17cd9cd4f0SLois Curfman McInnes	   bmake/sun4_local/* maint/autoftp
1861523587SBarry SmithOBJSC	 =
1961523587SBarry SmithOBJSF	 =
2061523587SBarry SmithLIBBASE	 = libpetscvec
21b16a3bb1SBarry SmithDIRS	 = src include docs
2261523587SBarry Smith
230de55854SLois Curfman McInnesinclude $(PETSC_DIR)/bmake/$(PETSC_ARCH)/$(PETSC_ARCH)
2461523587SBarry Smith
2511b6ed10SLois Curfman McInnes# Builds PETSc libraries for a given BOPT and architecture
267857610eSBarry Smithall: chkpetsc_dir
274e04c1a0SBarry Smith	-$(RM) -f $(PDIR)/*.a
280b3634f8SBarry Smith	-@echo "Beginning to compile libraries in all directories"
29171c9062SLois Curfman McInnes	-@echo "Using compiler: $(CC) $(PETSC_INCLUDE) $(CONF) $(PCONF) $(BASEOPT)"
300b3634f8SBarry Smith	-@echo "------------------------------------------"
31e35bd481SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
32f3848965SBarry Smith	   ACTION=libfast  tree
33aa45e91cSSatish Balay	-@cd $(PETSC_DIR)/src/sys/src ; $(OMAKE) PETSC_ARCH=$(PETSC_ARCH) rs6000_time
344e04c1a0SBarry Smith	$(RANLIB) $(PDIR)/*.a
350b3634f8SBarry Smith	-@echo "Completed building libraries"
360b3634f8SBarry Smith	-@echo "------------------------------------------"
370b3634f8SBarry Smith
380b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture
390b3634f8SBarry Smithtestexamples: chkpetsc_dir
400b3634f8SBarry Smith	-@echo "Beginning to compile and run test examples"
419c69534bSBarry Smith	-@echo "Using compiler: $(CC) $(PETSC_INCLUDE) $(PCONF) $(BASEOPT)"
429c69534bSBarry Smith	-@echo "Using linker: $(CLINKER)"
439c69534bSBarry Smith	-@echo "Using libraries: $(PETSC_LIB)"
440b3634f8SBarry Smith	-@echo "------------------------------------------"
45eb817c50SBarry Smith	-@echo "Due to different numerical round-off on certain"
46eb817c50SBarry Smith	-@echo "machines some of the numbers may not match exactly."
4731ca9999SBarry Smith	-@echo "------------------------------------------"
480b3634f8SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
490b3634f8SBarry Smith	   ACTION=testexamples_1  tree
500b3634f8SBarry Smith	-@echo "Completed compiling and running test examples"
510b3634f8SBarry Smith	-@echo "------------------------------------------"
520b3634f8SBarry Smith
530b3634f8SBarry Smith# Builds PETSc test examples for a given BOPT and architecture
548475343bSBarry Smithtestexamples_uni: chkpetsc_dir
558475343bSBarry Smith	-@echo "Beginning to compile and run uniprocessor test examples"
568475343bSBarry Smith	-@echo "Using compiler: $(CC) $(PETSC_INCLUDE) $(PCONF) $(BASEOPT)"
578475343bSBarry Smith	-@echo "Using linker: $(CLINKER)"
588475343bSBarry Smith	-@echo "Using libraries: $(PETSC_LIB)"
598475343bSBarry Smith	-@echo "------------------------------------------"
608475343bSBarry Smith	-@echo "Due to different numerical round-off on certain"
618475343bSBarry Smith	-@echo "machines some of the numbers may not match exactly."
628475343bSBarry Smith	-@echo "------------------------------------------"
638475343bSBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
648475343bSBarry Smith	   ACTION=testexamples_4  tree
658475343bSBarry Smith	-@echo "Completed compiling and running uniprocessor test examples"
668475343bSBarry Smith	-@echo "------------------------------------------"
678475343bSBarry Smith
688475343bSBarry Smith# Builds PETSc test examples for a given BOPT and architecture
690b3634f8SBarry Smithtestfortran: chkpetsc_dir
700b3634f8SBarry Smith	-@echo "Beginning to compile and run Fortran test examples"
719c69534bSBarry Smith	-@echo "Using compiler: $(FC) $(BASEOPTF)"
729c69534bSBarry Smith	-@echo "Using linker: $(FLINKER)"
739c69534bSBarry Smith	-@echo "Using libraries: $(PETSC_FORTRAN_LIB)  $(PETSC_LIB)"
740b3634f8SBarry Smith	-@echo "------------------------------------------"
750b3634f8SBarry Smith	-@$(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) \
760b3634f8SBarry Smith	   ACTION=testexamples_3  tree
770b3634f8SBarry Smith	-@echo "Completed compiling and running Fortran test examples"
780b3634f8SBarry Smith	-@echo "------------------------------------------"
7961523587SBarry Smith
8035ca7349SBarry Smith#
8111b6ed10SLois Curfman McInnes# Builds PETSc Fortran interface libary
8211b6ed10SLois Curfman McInnes# Note:	 libfast cannot run on .F files on certain machines, so we
8335ca7349SBarry Smith# use lib and check for errors here.
8483f0b094SBarry Smithfortran: chkpetsc_dir
85f4c0a52aSLois Curfman McInnes	-$(RM) -f $(PDIR)/libpetscfortran.a
860b3634f8SBarry Smith	-@echo "Beginning to compile Fortran interface library"
87*77c4ece6SBarry Smith	-@echo "Using C/C++ compiler: $(CC) $(PETSC_INCLUDE) $(PCONF) $(BASEOPT)"
88*77c4ece6SBarry Smith	-@echo "Using Fortran compiler: $(FC) $(BASEOPTF)"
890b3634f8SBarry Smith	-@echo "------------------------------------------"
90b16a3bb1SBarry Smith	-@cd src/fortran/custom; \
9135ca7349SBarry Smith	  $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) lib > trashz 2>&1; \
9235ca7349SBarry Smith	  grep -v clog trashz | grep -v "information sections" | \
9335ca7349SBarry Smith	  egrep -i '(Error|warning|Can)' >> /dev/null;\
9435ca7349SBarry Smith	  if [ "$$?" != 1 ]; then \
9535ca7349SBarry Smith	  cat trashz ; fi; $(RM) trashz
96b16a3bb1SBarry Smith	-@cd src/fortran/auto; \
9735ca7349SBarry Smith	  $(OMAKE) BOPT=$(BOPT) PETSC_ARCH=$(PETSC_ARCH) libfast
9883f0b094SBarry Smith	$(RANLIB) $(PDIR)/libpetscfortran.a
990b3634f8SBarry Smith	-@echo "Completed compiling Fortran interface library"
1000b3634f8SBarry Smith	-@echo "------------------------------------------"
10183f0b094SBarry Smith
1028c37ef55SBarry Smithranlib:
1034e04c1a0SBarry Smith	$(RANLIB) $(PDIR)/*.a
10461523587SBarry Smith
10511b6ed10SLois Curfman McInnes# Deletes PETSc libraries
10661523587SBarry Smithdeletelibs:
1074e04c1a0SBarry Smith	-$(RM) -f $(PDIR)/*.a $(PDIR)/complex/* $(PDIR)/c++/*
108d44968ceSBarry Smith
10911b6ed10SLois Curfman McInnes# Deletes man pages (xman version)
110d44968ceSBarry Smithdeletemanpages:
1117857610eSBarry Smith	$(RM) -f $(PETSC_DIR)/Keywords $(PETSC_DIR)/docs/man/man*/*
112d44968ceSBarry Smith
11311b6ed10SLois Curfman McInnes# Deletes man pages (HTML version)
114b346654fSBarry Smithdeletewwwpages:
115dea827f2SLois Curfman McInnes	$(RM) -f $(PETSC_DIR)/docs/www/man*/* $(PETSC_DIR)/docs/www/www.cit \
116dea827f2SLois Curfman McInnes	         $(PETSC_DIR)/docs/www/man*.html
117b346654fSBarry Smith
11811b6ed10SLois Curfman McInnes# Deletes man pages (LaTeX version)
119b346654fSBarry Smithdeletelatexpages:
1207857610eSBarry Smith	$(RM) -f $(PETSC_DIR)/docs/tex/rsum/*sum*.tex
12120563c6bSBarry Smith
1227acb7333SLois Curfman McInnes# To access the tags in emacs, type M-x visit-tags-table and specify
1237acb7333SLois Curfman McInnes# the file petsc/TAGS.	Then, to move to where a PETSc function is
1247acb7333SLois Curfman McInnes# defined, enter M-. and the function name.  To search for a string
1257acb7333SLois Curfman McInnes# and move to the first occurrence, use M-x tags-search and the string.
1267acb7333SLois Curfman McInnes# To locate later occurrences, use M-,
1277acb7333SLois Curfman McInnes
12811b6ed10SLois Curfman McInnes# Builds all etags files
12911b6ed10SLois Curfman McInnesalletags:
13011b6ed10SLois Curfman McInnes	-make etags
13111b6ed10SLois Curfman McInnes	-make etags_noexamples
13211b6ed10SLois Curfman McInnes	-make etags_makefiles
13311b6ed10SLois Curfman McInnes
13411b6ed10SLois Curfman McInnes# Builds the basic etags file.	This should be employed by most users.
13520563c6bSBarry Smithetags:
136edd2f0e1SBarry Smith	$(RM) TAGS
13770a6ad8cSBarry Smith	etags -f TAGS	 src/*/impls/*/*.h src/*/impls/*/*/*.h
138ba6aed2eSLois Curfman McInnes	etags -a -f TAGS src/*/examples/*.c src/*/examples/*/*.c
139531823f5SLois Curfman McInnes	etags -a -f TAGS src/*/*.h src/*/*/*.h src/*/interface/*.c
140bdec0fbfSBarry Smith	etags -a -f TAGS src/*/src/*.c src/*/impls/*/*.c
1410429b4e3SLois Curfman McInnes	etags -a -f TAGS src/*/impls/*/*/*.c
142cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS src/contrib/*/*.c src/contrib/*/src/*.c
143cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS src/contrib/*/examples/*.c src/contrib/*/src/*/*.c
144cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS src/contrib/*/src/*.h
14590ace30eSBarry Smith	etags -a -f TAGS include/*.h include/pinclude/*.h bmake/common
14690ace30eSBarry Smith	etags -a -f TAGS include/FINCLUDE/*.h
14770a6ad8cSBarry Smith	etags -a -f TAGS src/*/impls/*.c src/*/utils/*.c
1480de55854SLois Curfman McInnes	etags -a -f TAGS makefile src/*/src/makefile
1490de55854SLois Curfman McInnes	etags -a -f TAGS src/*/interface/makefile src/makefile
150f5354500SBarry Smith	etags -a -f TAGS src/*/impls/makefile src/*/impls/*/makefile
1513ebb8ef7SBarry Smith	etags -a -f TAGS src/*/utils/makefile src/*/examples/makefile
1520de55854SLois Curfman McInnes	etags -a -f TAGS src/*/examples/*/makefile
1533ebb8ef7SBarry Smith	etags -a -f TAGS src/*/makefile src/*/impls/*/*/makefile
154cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS src/contrib/*/makefile src/contrib/*/src/makefile
155cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS src/contrib/*/src/*/makefile
1562bf65771SLois Curfman McInnes	etags -a -f TAGS src/fortran/makefile src/fortran/auto/makefile
1572bf65771SLois Curfman McInnes	etags -a -f TAGS src/fortran/custom/makefile
158fea641f4SSatish Balay	etags -a -f TAGS include/makefile include/*/makefile
1590675aaacSBarry Smith	etags -a -f TAGS bmake/common bmake/sun4/sun4* bmake/rs6000/rs6000*
160deb7fc1cSBarry Smith	etags -a -f TAGS bmake/solaris/solaris*
1610675aaacSBarry Smith	etags -a -f TAGS bmake/IRIX/IRIX* bmake/freebsd/freebsd*
162017faef8SBarry Smith	etags -a -f TAGS bmake/hpux/hpux* bmake/alpha/alpha*
1630675aaacSBarry Smith	etags -a -f TAGS bmake/t3d/t3d* bmake/paragon/paragon*
1644c71ded4SBarry Smith	etags -a -f TAGS src/fortran/custom/*.c src/fortran/auto/*.c
165c4ce65b3SSatish Balay	etags -a -f TAGS src/benchmarks/*.c src/*/examples/*.F src/fortran/custom/*.F
16672936c9dSBarry Smith	etags -a -f TAGS docs/tex/manual/routin.tex docs/tex/manual/manual.tex
16772936c9dSBarry Smith	etags -a -f TAGS docs/tex/manual/manual_tex.tex
16872936c9dSBarry Smith	etags -a -f TAGS docs/tex/manual/intro.tex docs/tex/manual/part1.tex
16972936c9dSBarry Smith	etags -a -f TAGS docs/tex/manual/part2.tex
17072936c9dSBarry Smith	etags -a -f TAGS docs/tex/manual/intro.tex docs/makefile
17128988994SBarry Smith	chmod g+w TAGS
172bfce26a3SBarry Smith
17311b6ed10SLois Curfman McInnes# Builds the etags file that excludes the examples directories
174bfce26a3SBarry Smithetags_noexamples:
175bfce26a3SBarry Smith	$(RM) TAGS_NO_EXAMPLES
176bfce26a3SBarry Smith	etags -f TAGS_NO_EXAMPLES src/*/impls/*/*.h src/*/impls/*/*/*.h
177531823f5SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/*/*.h src/*/*/*.h src/*/interface/*.c
17864f8aa17SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/*/src/*.c  src/*/impls/*/*.c
1790429b4e3SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/*/impls/*/*/*.c
180cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/contrib/*/*.c src/contrib/*/src/*.c
181cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/contrib/*/src/*/*.c src/contrib/*/src/*.h
18290ace30eSBarry Smith	etags -a -f TAGS_NO_EXAMPLES include/*.h include/pinclude/*.h
18390ace30eSBarry Smith	etags -a -f TAGS_NO_EXAMPLES include/FINCLUDE/*.h
184b16a3bb1SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/common
185464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES src/*/impls/*.c src/*/utils/*.c
1860de55854SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES makefile src/*/src/makefile
1870de55854SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/*/interface/makefile src/makefile
188464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES src/*/impls/makefile src/*/impls/*/makefile
189464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES src/*/utils/makefile
190464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES src/*/makefile src/*/impls/*/*/makefile
191cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/contrib/*/makefile src/contrib/*/src/makefile
192cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/contrib/*/src/*/makefile
1932bf65771SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/fortran/makefile src/fortran/auto/makefile
1942bf65771SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/fortran/custom/makefile
195fea641f4SSatish Balay	etags -a -f TAGS_NO_EXAMPLES include/makefile include/*/makefile
196464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/common bmake/sun4/sun4*
197464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/rs6000/rs6000*
198464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/solaris/solaris*
199464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/IRIX/IRIX* bmake/freebsd/freebsd*
200464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/hpux/hpux* bmake/alpha/alpha*
201464493b3SBarry Smith	etags -a -f TAGS_NO_EXAMPLES bmake/t3d/t3d* bmake/paragon/paragon*
2024c71ded4SBarry Smith	etags -a -f TAGS_NO_EXAMPLES src/fortran/auto/*.c
20362ce5da9SLois Curfman McInnes	etags -a -f TAGS_NO_EXAMPLES src/fortran/custom/*.c src/fortran/custom/*.F
20472936c9dSBarry Smith	etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/routin.tex
20572936c9dSBarry Smith	etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/manual.tex
20672936c9dSBarry Smith	etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/intro.tex
20772936c9dSBarry Smith	etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/part1.tex
20872936c9dSBarry Smith	etags -a -f TAGS_NO_EXAMPLES docs/tex/manual/part2.tex
209fea641f4SSatish Balay	etags -a -f TAGS_NO_EXAMPLES docs/makefile
210bfce26a3SBarry Smith	chmod g+w TAGS_NO_EXAMPLES
211b16a3bb1SBarry Smith
21211b6ed10SLois Curfman McInnes# Builds the etags file for makefiles
213b16a3bb1SBarry Smithetags_makefiles:
214b16a3bb1SBarry Smith	$(RM) TAGS_MAKEFILES
215b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/common
2160de55854SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES makefile src/*/src/makefile
2170de55854SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/*/interface/makefile src/makefile
218b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES src/*/impls/makefile src/*/impls/*/makefile
2192328c152SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/*/utils/makefile src/*/interface/makefile
220b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES src/*/makefile src/*/impls/*/*/makefile
2210de55854SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/*/examples/makefile src/*/examples/*/makefile
2222bf65771SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/fortran/makefile src/fortran/auto/makefile
223cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/contrib/*/makefile src/contrib/*/src/makefile
224cd9cd4f0SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/contrib/*/src/*/makefile
2252bf65771SLois Curfman McInnes	etags -a -f TAGS_MAKEFILES src/fortran/custom/makefile
226fea641f4SSatish Balay	etags -a -f TAGS_MAKEFILES include/makefile include/*/makefile
227b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/common bmake/sun4/sun4*
228b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/rs6000/rs6000*
229b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/solaris/solaris*
230b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/IRIX/IRIX* bmake/freebsd/freebsd*
231b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/hpux/hpux* bmake/alpha/alpha*
232b16a3bb1SBarry Smith	etags -a -f TAGS_MAKEFILES bmake/t3d/t3d* bmake/paragon/paragon*
233fea641f4SSatish Balay	etags -a -f TAGS_MAKEFILES docs/makefile
234b16a3bb1SBarry Smith	chmod g+w TAGS_MAKEFILES
23511b6ed10SLois Curfman McInnes
23611b6ed10SLois Curfman McInnes# ------------------------------------------------------------------
23711b6ed10SLois Curfman McInnes#
23811b6ed10SLois Curfman McInnes# All remaining actions are intended for PETSc developers only.
23911b6ed10SLois Curfman McInnes# PETSc users should not generally need to use these commands.
24011b6ed10SLois Curfman McInnes#
24111b6ed10SLois Curfman McInnes
24211b6ed10SLois Curfman McInnes# Builds all versions of the man pages
24311b6ed10SLois Curfman McInnesallmanpages: deletemanpages deletewwwpages deletelatexpages
24411b6ed10SLois Curfman McInnes	-make ACTION=manpages tree
24511b6ed10SLois Curfman McInnes	-make ACTION=latexpages tree
246299192b9SLois Curfman McInnes	-make ACTION=wwwpages_buildcite tree
247299192b9SLois Curfman McInnes	-make ACTION=wwwpages tree
24811b6ed10SLois Curfman McInnes	-maint/wwwman
24911b6ed10SLois Curfman McInnes
250dea827f2SLois Curfman McInnesallwwwpages: deletewwwpages
251299192b9SLois Curfman McInnes	-make ACTION=wwwpages_buildcite tree
252dea827f2SLois Curfman McInnes	-make ACTION=wwwpages tree
253dea827f2SLois Curfman McInnes	-maint/wwwman
254dea827f2SLois Curfman McInnes
255416022c9SBarry Smithalllatexpages: deletelatexpages
256416022c9SBarry Smith	-make ACTION=latexpages tree
257416022c9SBarry Smith
25811b6ed10SLois Curfman McInnes# Builds Fortran stub files
25911b6ed10SLois Curfman McInnesallfortranstubs:
26035aab85fSBarry Smith	-@include/finclude/generateincludes
2614b0e389bSBarry Smith	-@$(RM) -f $(PETSC_DIR)/src/fortran/auto/*.c
26211b6ed10SLois Curfman McInnes	-make ACTION=fortranstubs tree
2634b0e389bSBarry Smith	chmod g+w $(PETSC_DIR)/src/fortran/auto/*.c
26411b6ed10SLois Curfman McInnes
26535aab85fSBarry Smith
266