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

# @configure_input@

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

SHELL           = @SHELL@
AR              = @AR@
RANLIB          = @RANLIB@
master_top_srcdir  = @master_top_srcdir@
top_builddir    = @master_top_builddir@
abs_builddir    = @abs_builddir@
srcdir          = @srcdir@
abs_srcdir      = @abs_srcdir@
top_srcdir      = @top_srcdir@
DEFS            = @DEFS@ -I. -I${srcdir}
CPPFLAGS        = @CPPFLAGS@
MAKE            = @MAKE@
MPILIBNAME      = @MPILIBNAME@
PMPILIBNAME     = @PMPILIBNAME@

CC              = @CC@
CFLAGS          = @CFLAGS@
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
LIBTOOL         = @LIBTOOL@
CC_SHL          = @CC_SHL@
C_COMPILE_SHL   = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)

VPATH = .:@srcdir@
mpi_sources = cart_coords.c cart_create.c cart_get.c \
 cart_map.c cart_rank.c cart_shift.c cart_sub.c dims_create.c graph_get.c \
 graph_map.c graph_nbr.c graphcreate.c graphdimsget.c graphnbrcnt.c \
 cartdim_get.c topo_test.c
HEADERS = topo.h
INCLUDES = -I../../include -I${top_srcdir}/src/include

.SUFFIXES:
.SUFFIXES: .o .lo .c 
.c.o:
	$(C_COMPILE) -c $<
.c.lo:
	$(C_COMPILE_SHL) -c $< -o _s$*.o
	@mv -f _s$*.o $*.lo
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
apply: 
	$(ACTION) $(ACTION_INPUT)
clean: 
	-@rm -f *.o ${srcdir}/*.o 
	-@rm -f .libstamp0 .libstamp1 .libstamp2 .libstamp3 
	-@rm -f *.lo ${srcdir}/*.lo
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: .libstamp0 ../../../lib/lib${MPILIBNAME}.a
	@if [ -n "@NO_WEAK_SYM@" ] ; then \
	    ${MAKE} .libstamp2 ; \
	fi
	@if [ "@ENABLE_SHLIB@" != "none" ] ; then \
	    ${MAKE} .libstamp1 ; \
	    if [ -n "@NO_WEAK_SYM@" ] ; then \
	        ${MAKE} .libstamp3 ; \
	    fi ; \
	fi

.libstamp0 ../../../lib/lib${MPILIBNAME}.a: cart_coords.o cart_create.o \
	cart_get.o cart_map.o cart_rank.o cart_shift.o cart_sub.o \
	dims_create.o graph_get.o graph_map.o graph_nbr.o graphcreate.o \
	graphdimsget.o graphnbrcnt.o cartdim_get.o topo_test.o topoutil.o 
	${AR} cr ../../../lib/lib${MPILIBNAME}.a $?
	${RANLIB} ../../../lib/lib${MPILIBNAME}.a
	date > .libstamp0
.libstamp1 ../../../lib/lib${MPILIBNAME}.la: cart_coords.lo cart_create.lo \
	cart_get.lo cart_map.lo cart_rank.lo cart_shift.lo cart_sub.lo \
	dims_create.lo graph_get.lo graph_map.lo graph_nbr.lo graphcreate.lo \
	graphdimsget.lo graphnbrcnt.lo cartdim_get.lo topo_test.lo \
	topoutil.lo 
	${AR} cr ../../../lib/lib${MPILIBNAME}.la $?
	date > .libstamp1

# --------------------------------------------------------------------------
.libstamp2: _cart_coords.o _cart_create.o _cart_get.o _cart_map.o _cart_rank.o \
	_cart_shift.o _cart_sub.o _dims_create.o _graph_get.o _graph_map.o \
	_graph_nbr.o _graphcreate.o _graphdimsget.o _graphnbrcnt.o \
	_cartdim_get.o _topo_test.o 
	${AR} cr ../../../lib/lib${PMPILIBNAME}.a $?
	${RANLIB} ../../../lib/lib${PMPILIBNAME}.a
	date > .libstamp2
.libstamp3: _cart_coords.lo _cart_create.lo _cart_get.lo _cart_map.lo _cart_rank.lo \
	_cart_shift.lo _cart_sub.lo _dims_create.lo _graph_get.lo \
	_graph_map.lo _graph_nbr.lo _graphcreate.lo _graphdimsget.lo \
	_graphnbrcnt.lo _cartdim_get.lo _topo_test.lo 
	${AR} cr ../../../lib/lib${PMPILIBNAME}.la $?
	date > .libstamp3
_cart_coords.o: cart_coords.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_coords.c -o _cart_coords.o
_cart_coords.lo: cart_coords.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_coords.c -o _cart_coords.lo
_cart_create.o: cart_create.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_create.c -o _cart_create.o
_cart_create.lo: cart_create.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_create.c -o _cart_create.lo
_cart_get.o: cart_get.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_get.c -o _cart_get.o
_cart_get.lo: cart_get.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_get.c -o _cart_get.lo
_cart_map.o: cart_map.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_map.c -o _cart_map.o
_cart_map.lo: cart_map.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_map.c -o _cart_map.lo
_cart_rank.o: cart_rank.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_rank.c -o _cart_rank.o
_cart_rank.lo: cart_rank.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_rank.c -o _cart_rank.lo
_cart_shift.o: cart_shift.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_shift.c -o _cart_shift.o
_cart_shift.lo: cart_shift.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_shift.c -o _cart_shift.lo
_cart_sub.o: cart_sub.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_sub.c -o _cart_sub.o
_cart_sub.lo: cart_sub.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cart_sub.c -o _cart_sub.lo
_dims_create.o: dims_create.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/dims_create.c -o _dims_create.o
_dims_create.lo: dims_create.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/dims_create.c -o _dims_create.lo
_graph_get.o: graph_get.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_get.c -o _graph_get.o
_graph_get.lo: graph_get.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_get.c -o _graph_get.lo
_graph_map.o: graph_map.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_map.c -o _graph_map.o
_graph_map.lo: graph_map.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_map.c -o _graph_map.lo
_graph_nbr.o: graph_nbr.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_nbr.c -o _graph_nbr.o
_graph_nbr.lo: graph_nbr.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graph_nbr.c -o _graph_nbr.lo
_graphcreate.o: graphcreate.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graphcreate.c -o _graphcreate.o
_graphcreate.lo: graphcreate.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graphcreate.c -o _graphcreate.lo
_graphdimsget.o: graphdimsget.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graphdimsget.c -o _graphdimsget.o
_graphdimsget.lo: graphdimsget.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graphdimsget.c -o _graphdimsget.lo
_graphnbrcnt.o: graphnbrcnt.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/graphnbrcnt.c -o _graphnbrcnt.o
_graphnbrcnt.lo: graphnbrcnt.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/graphnbrcnt.c -o _graphnbrcnt.lo
_cartdim_get.o: cartdim_get.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/cartdim_get.c -o _cartdim_get.o
_cartdim_get.lo: cartdim_get.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/cartdim_get.c -o _cartdim_get.lo
_topo_test.o: topo_test.c
	$(C_COMPILE) -c @PROFILE_DEF_MPI@ $(srcdir)/topo_test.c -o _topo_test.o
_topo_test.lo: topo_test.c
	$(C_COMPILE_SHL) -c @PROFILE_DEF_MPI@ $(srcdir)/topo_test.c -o _topo_test.lo
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  cart_coords.c cart_create.c cart_get.c cart_map.c \
	cart_rank.c cart_shift.c cart_sub.c dims_create.c graph_get.c \
	graph_map.c graph_nbr.c graphcreate.c graphdimsget.c graphnbrcnt.c \
	cartdim_get.c topo_test.c topoutil.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}
# --------------------------------------------------------------------------


#

FORCE_TARGET:

