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

# threads/pt2pt/Makefile.  Generated from Makefile.in by configure.

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

SHELL           = /bin/sh
bindir          = ${exec_prefix}/bin
exec_prefix     = ${prefix}
prefix          = /usr/local
abs_builddir    = /tmp/mpich2-1.0.5p4/test/mpi/threads/pt2pt
srcdir          = .
abs_srcdir      = /tmp/mpich2-1.0.5p4/test/mpi/threads/pt2pt
DEFS            = -DHAVE_CONFIG_H -I. -I${srcdir}
CPPFLAGS        = 
LIBS            = 
MAKE            = make
CC              = /usr/local/bin/mpicc
CFLAGS          = 
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_LINK         = $(CC)
LDFLAGS     =   ../../util/mtest.o

VPATH = .
INCLUDES = -I../../include -I${srcdir}/../../include

.SUFFIXES:
.SUFFIXES: .o .c 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
apply: 
	$(ACTION) $(ACTION_INPUT)
clean: 
	-@rm -f *.o ${srcdir}/*.o alltoall threaded_sr sendselfth
	-@rm -f alltoall.exe threaded_sr.exe sendselfth.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: threaded_sr alltoall sendselfth

alltoall: alltoall.o    ../../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o alltoall alltoall.o  ${LIBS}
threaded_sr: threaded_sr.o    ../../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o threaded_sr threaded_sr.o  \
	-lpthread  ${LIBS} 
sendselfth: sendselfth.o    ../../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o sendselfth sendselfth.o  ${LIBS}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  threaded_sr.c alltoall.c sendselfth.c
ETAGS           = etags --language=c
HEADERFILES     = $(HEADERS)
SOURCEFILES     = $(SOURCES)
tags: TAGS
TAGS: Makefile${HEADERFILES} ${SOURCEFILES}
	here=`cd ../../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERFILES} ${SOURCEFILES}
# --------------------------------------------------------------------------

# Use extra programs to list programs that should not be built by default.


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

# A special testing target to simplify running just the thread pt2pt tests
testing:
	../runtests -srcdir=$(srcdir) -tests=testlist \
		   -mpiexec=$(bindir)/mpiexec \
		   -xmlfile=summary.xml

FORCE_TARGET:

