# This Makefile.in created by simplemake.  Do not edit

# @configure_input@

# --------------------------------------------------------------------------
all: all-redirect

SHELL           = @SHELL@
abs_builddir    = @abs_builddir@
srcdir          = @srcdir@
abs_srcdir      = @abs_srcdir@
top_srcdir      = @top_srcdir@
DEFS            = @DEFS@ -I. -I${srcdir}
INCLUDES        = 
CPPFLAGS        = @CPPFLAGS@
LIBS            = @LIBS@
MAKE            = @MAKE@
CC              = @CC@
CFLAGS          = @CFLAGS@
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_LINK         = $(CC)
F90              = @F90@
F90FLAGS        = @F90FLAGS@
F90_COMPILE     = $(F90) $(F90FLAGS) $(F90INCLUDES)
F90_LINK       = $(F90)
LDFLAGS     =  @LDFLAGS@ 

VPATH = .:@srcdir@
F90INCLUDES = -I. 
F90HEADERS = iodisp.h iooffset.h

.SUFFIXES:
.SUFFIXES: .o .c .f90 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
.f90.o:
	$(F90_COMPILE) -c $<
.f90:
	$(F90_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
apply: 
	$(ACTION) $(ACTION_INPUT)
clean:  clean-local
	-@rm -f *.o ${srcdir}/*.o setviewcurf90 shpositionf90 c2f90multio atomicityf90 fileerrf90 c2f2ciof90 fileinfof90 miscfilef90
	-@rm -f setviewcurf90.exe shpositionf90.exe c2f90multio.exe atomicityf90.exe fileerrf90.exe c2f2ciof90.exe fileinfof90.exe miscfilef90.exe
	-@rm -f core core.[0-9]*
	-@rm -f *.lo ${srcdir}/*.lo
	-@rm -f *.irlog*
distclean:  clean distclean-xxx remove-makefile
distclean-xxx:
	-@rm -f Makefile
	-@rm -rf autom4te*.cache
	-@rm -rf $(DEPS_DIR)
	-@rm -f TAGS
remove-makefile:
	rm -f Makefile
remove-genmakefiles:
	rm -f  Makefile
all-redirect: fileerrf90 fileinfof90 shpositionf90 atomicityf90 miscfilef90\
	 setviewcurf90 c2f90multio c2f2ciof90

setviewcurf90: setviewcurf90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o setviewcurf90 setviewcurf90.o  \
	../util/mtestf90.o ${LIBS} 
shpositionf90: shpositionf90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o shpositionf90 shpositionf90.o  \
	../util/mtestf90.o ${LIBS} 
c2f90multio: c2f90multio.o   @MPILIBLOC@ ../util/mtestf90.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o c2f90multio c2f90multio.o  ${LIBS}
atomicityf90: atomicityf90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o atomicityf90 atomicityf90.o  \
	${LIBS} 
fileerrf90: fileerrf90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o fileerrf90 fileerrf90.o  \
	../util/mtestf90.o ${LIBS} 
c2f2ciof90: c2f2ciof90.o c2f902cio.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o c2f2ciof90 c2f2ciof90.o \
	c2f902cio.o  ../util/mtestf90.o  ${LIBS} 
fileinfof90: fileinfof90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o fileinfof90 fileinfof90.o  \
	../util/mtestf90.o ${LIBS} 
miscfilef90: miscfilef90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o miscfilef90 miscfilef90.o  \
	${LIBS} 
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  fileerrf90.f90 fileinfof90.f90 shpositionf90.f90 \
	atomicityf90.f90 miscfilef90.f90 setviewcurf90.f90 c2f90multio.c \
	c2f2ciof90.f90 c2f902cio.c 
ETAGS           = @ETAGS@ @ETAGSADD@
HEADERFILES     = $(HEADERS)
SOURCEFILES     = $(SOURCES)
tags: TAGS
TAGS: Makefile${HEADERFILES} ${SOURCEFILES}
	here=`cd ../../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERFILES} ${SOURCEFILES}
# --------------------------------------------------------------------------
# This Makefile.sm generated automatically by f77tof90
# from test/mpi/f77/io/Makefile.sm.  DO NOT EDIT





# These IO tests are build from a template and a set of definitions.
iwriteatf90.f90 writef90.f90 writeatf90.f90 writeatallf90.f90 writeallf90.f90 writeallbef90.f90 \
writeordf90.f90 writeordbef90.f90 writeshf90.f90 writeatallbef90.f90 \
iwritef90.f90 iwriteshf90.f90 : ioharness.tlt ioharness.defn ../../maint/testmerge
	../../maint/testmerge -defn=$(top_srcdir)/maint/common.defn \
		$(srcdir)/ioharness.defn $(srcdir)/ioharness.tlt

../util/mtestf90.o: 
	(cd ../util && $(MAKE) mtestf90.o)

clean-local:
	rm -f .iotest.txt.*
$(srcdir)/ioharness.defn: $(srcdir)/../../f77/io/ioharness.defn
	sed -e 's/filename="\(.*\)f.f\"/filename="\1f90.f90"/g' \
	-e 's/include.*iooffset.*/integer (kind=MPI_OFFSET_KIND)offset/g' \
	$(srcdir)/../../f77/io/ioharness.defn > $(srcdir)/ioharness.defn
$(srcdir)/ioharness.tlt: $(srcdir)/../../f77/io/ioharness.tlt
	sed -e 's/include.*mpif.*/use mpi/g' \
	    -e 's/fheader/f90header/g' \
	    -e 's/^C/!/g' \
	    -e '/implicit *none/d' \
	$(srcdir)/../../f77/io/ioharness.tlt > $(srcdir)/ioharness.tlt
c2f902cio.c: $(srcdir)/../../f90/io/c2f902cio.c
	cp $(srcdir)/../../f90/io/c2f902cio.c c2f902cio.c

FORCE_TARGET:

