# Makefile.in generated by automake 1.12.4 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2012 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

# Makefile.in for mpd2
# 
# If we want to slightly alter the way in which our python scripts are installed
# then we could probably replace this long-ish, error-prone, largely-manual
# makefile with an automake-flavored one.  As it is, the current version is
# basically the original Makefile.in modified slightly to account for the
# elimination of the separate install/install-alt mechanism.


VPATH = @srcdir@
am__make_dryrun = \
  { \
    am__dry=no; \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
      *) \
        for am__flg in $$MAKEFLAGS; do \
          case $$am__flg in \
            *=*|--*) ;; \
            *n*) am__dry=yes; break;; \
          esac; \
        done;; \
    esac; \
    test $$am__dry = yes; \
  }
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = mpdroot$(EXEEXT)
EXTRA_PROGRAMS = sigcatcher$(EXEEXT) infloop$(EXEEXT)
subdir = .
DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \
	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
	$(srcdir)/mpdconf.h.in $(top_srcdir)/../../../confdb/depcomp \
	$(top_srcdir)/../../../confdb/install-sh \
	$(top_srcdir)/../../../confdb/missing $(top_srcdir)/configure \
	../../../confdb/config.rpath ../../../confdb/depcomp \
	../../../confdb/install-sh ../../../confdb/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../../confdb/aclocal_bugfix.m4 \
	$(top_srcdir)/../../../confdb/aclocal_cc.m4 \
	$(top_srcdir)/../../../confdb/aclocal_util.m4 \
	$(top_srcdir)/../../../maint/version.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = mpdconf.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
infloop_SOURCES = infloop.c
infloop_OBJECTS = infloop.$(OBJEXT)
infloop_LDADD = $(LDADD)
mpdroot_SOURCES = mpdroot.c
mpdroot_OBJECTS = mpdroot.$(OBJEXT)
mpdroot_LDADD = $(LDADD)
sigcatcher_SOURCES = sigcatcher.c
sigcatcher_OBJECTS = sigcatcher.$(OBJEXT)
sigcatcher_LDADD = $(LDADD)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 = 
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/../../../confdb/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo "  CC      " $@;
am__v_CC_1 = 
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo "  CCLD    " $@;
am__v_CCLD_1 = 
SOURCES = infloop.c mpdroot.c sigcatcher.c
DIST_SOURCES = infloop.c mpdroot.c sigcatcher.c
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  if test -d "$(distdir)"; then \
    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
      && rm -rf "$(distdir)" \
      || { sleep 5 && rm -rf "$(distdir)"; }; \
  else :; fi
am__post_remove_distdir = $(am__remove_distdir)
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
DIST_TARGETS = dist-gzip
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CLINKER = @CLINKER@
COPTIONS = @COPTIONS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DO_MTV = @DO_MTV@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MPD_HOME = @MPD_HOME@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PY = @PY@
PY2 = @PY2@
PY22 = @PY22@
PY23 = @PY23@
PY24 = @PY24@
PY25 = @PY25@
PY26 = @PY26@
PYTHON = @PYTHON@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TOTALVIEW = @TOTALVIEW@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@

# COMPILE and LINK are the automake names for these variables
C_COMPILE = $(COMPILE)
C_LINK = $(LINK)
noinst_HEADERS = mpdconf.h mpdroot.h
AM_CPPFLAGS = '-DSYSCONFDIR="$(sysconfdir)"'
MPD = mpd
MPDBOOT = mpdboot
CMDS = mpiexec mpdtrace mpdringtest mpdlistjobs mpdkilljob mpdsigjob \
           mpdexit mpdallexit mpdcleanup mpdhelp mpdcheck

HELPERS = mpdgdbdrv mpdman mpdlib mpdchkpyver Zeroconf
PYTHON_SOURCE = ${MPD} ${MPDBOOT} ${CMDS} ${HELPERS}
mpdroot_sources = mpdroot.c
example_sources = sigcatcher.c infloop.c

# make sure that all of these files end up in a "make dist" tarball
EXTRA_DIST = ${PYTHON_SOURCE:=.py} autogen.sh
CLEANFILES = mtv.so
all: mpdconf.h
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .c .o .obj
am--refresh: Makefile
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure:  $(am__configure_deps)
	$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):

mpdconf.h: stamp-h1
	@if test ! -f $@; then rm -f stamp-h1; else :; fi
	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi

stamp-h1: $(srcdir)/mpdconf.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status mpdconf.h
$(srcdir)/mpdconf.h.in:  $(am__configure_deps) 
	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
	rm -f stamp-h1
	touch $@

distclean-hdr:
	-rm -f mpdconf.h stamp-h1
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
	fi; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(bindir)" && rm -f $$files

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
infloop$(EXEEXT): $(infloop_OBJECTS) $(infloop_DEPENDENCIES) $(EXTRA_infloop_DEPENDENCIES) 
	@rm -f infloop$(EXEEXT)
	$(AM_V_CCLD)$(LINK) $(infloop_OBJECTS) $(infloop_LDADD) $(LIBS)
mpdroot$(EXEEXT): $(mpdroot_OBJECTS) $(mpdroot_DEPENDENCIES) $(EXTRA_mpdroot_DEPENDENCIES) 
	@rm -f mpdroot$(EXEEXT)
	$(AM_V_CCLD)$(LINK) $(mpdroot_OBJECTS) $(mpdroot_LDADD) $(LIBS)
sigcatcher$(EXEEXT): $(sigcatcher_OBJECTS) $(sigcatcher_DEPENDENCIES) $(EXTRA_sigcatcher_DEPENDENCIES) 
	@rm -f sigcatcher$(EXEEXT)
	$(AM_V_CCLD)$(LINK) $(sigcatcher_OBJECTS) $(sigcatcher_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/infloop.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpdroot.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigcatcher.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<

.c.obj:
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES) mpdconf.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) mpdconf.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES) mpdconf.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS) mpdconf.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"

cscope: cscope.files
	test ! -s cscope.files \
	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)

clean-cscope:
	-rm -f cscope.files

cscope.files: clean-cscope  cscopelist

cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS) $(LISP)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files

distdir: $(DISTFILES)
	$(am__remove_distdir)
	test -d "$(distdir)" || mkdir "$(distdir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
	-test -n "$(am__skip_mode_fix)" \
	|| find "$(distdir)" -type d ! -perm -755 \
		-exec chmod u+rwx,go+rx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__post_remove_distdir)

dist-bzip2: distdir
	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
	$(am__post_remove_distdir)

dist-lzip: distdir
	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
	$(am__post_remove_distdir)

dist-xz: distdir
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
	$(am__post_remove_distdir)

dist-tarZ: distdir
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
	$(am__post_remove_distdir)

dist-shar: distdir
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
	$(am__post_remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(am__post_remove_distdir)

dist dist-all:
	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
	$(am__post_remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
	*.tar.lz*) \
	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
	*.tar.xz*) \
	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
	chmod -R a-w $(distdir)
	chmod u+w $(distdir)
	mkdir $(distdir)/_build $(distdir)/_inst
	chmod a-w $(distdir)
	test -d $(distdir)/_build || exit 0; \
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && am__cwd=`pwd` \
	  && $(am__cd) $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
	  && cd "$$am__cwd" \
	  || exit 1
	$(am__post_remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
	@test -n '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: trying to run $@ with an empty' \
	       '$$(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	$(am__cd) '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(HEADERS) mpdconf.h all-local
installdirs:
	for dir in "$(DESTDIR)$(bindir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-binPROGRAMS clean-generic clean-local mostlyclean-am

distclean: distclean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-hdr distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am: install-binPROGRAMS install-exec-local

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-local

.MAKE: all install-am install-strip

.PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
	clean clean-binPROGRAMS clean-cscope clean-generic clean-local \
	cscope cscopelist ctags dist dist-all dist-bzip2 dist-gzip \
	dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
	distclean distclean-compile distclean-generic distclean-hdr \
	distclean-tags distcleancheck distdir distuninstallcheck dvi \
	dvi-am html html-am info info-am install install-am \
	install-binPROGRAMS install-data install-data-am install-dvi \
	install-dvi-am install-exec install-exec-am install-exec-local \
	install-html install-html-am install-info install-info-am \
	install-man install-pdf install-pdf-am install-ps \
	install-ps-am install-strip installcheck installcheck-am \
	installdirs maintainer-clean maintainer-clean-generic \
	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
	ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
	uninstall-local


all-local: ${programs}
	@if [ ! -x ${srcdir}/install.sh ] ; then \
	    echo "chmod a+x ${srcdir}/install.sh" ;\
	    if [ ! `chmod a+x ${srcdir}/install.sh` ] ; then \
	        echo "  chmod ok" ;\
	    else \
	        echo "Unable to set ${srcdir}/install.sh file to be executable." ;\
		echo "Please fix and rerun make" ;\
	        exit 1 ;\
	    fi ;\
	fi
	@if [ "${DO_MTV}" = "yes" ] ; then \
	    currdir=`pwd` ; cd ${srcdir}  &&  ${PYTHON} ./mtv_setup.py build_ext --build-lib=$$currdir --build-temp=$$currdir ;\
	fi

clean-local: 
	@-rm -f *.o *.dep *~ ${EXAMPLES} core* *.1 *.pyc
	@-rm -f *.gcno *.gcda *.bb *.bbg
	@-rm -f ${srcdir}/*.gcno ${srcdir}/*.gcda

# if configured with wrong prefix, use:
#     make prefix=new_install_dir install
# Note the conditional test for files in PYTHON_SOURCE; this is to allow
# us to install Zeroconf if present (it is not part of the MPICH release
# in order to avoid Copyright problems).
install-exec-local:
@PRIMARY_PM_MPD_TRUE@	@if [ ! -d $(DESTDIR)${bindir} ] ; then \
@PRIMARY_PM_MPD_TRUE@	    echo "mkdir -p $(DESTDIR)${bindir} " ;\
@PRIMARY_PM_MPD_TRUE@	    mkdir -p $(DESTDIR)${bindir} ;\
@PRIMARY_PM_MPD_TRUE@	fi   
@PRIMARY_PM_MPD_TRUE@	-@if [ -n "`id | grep uid=0`" ] ; then \
@PRIMARY_PM_MPD_TRUE@	    ${INSTALL} -m 4755 mpdroot $(DESTDIR)${bindir}/mpdroot ;\
@PRIMARY_PM_MPD_TRUE@        else \
@PRIMARY_PM_MPD_TRUE@	    ${INSTALL} -m  755 mpdroot $(DESTDIR)${bindir}/mpdroot ;\
@PRIMARY_PM_MPD_TRUE@	fi
@PRIMARY_PM_MPD_TRUE@	@echo "copying python files/links into " $(DESTDIR)${bindir}
@PRIMARY_PM_MPD_TRUE@	-@for cmd in ${PYTHON_SOURCE} ; do \
@PRIMARY_PM_MPD_TRUE@	    if [ ! -s $(srcdir)/$$cmd.py ] ; then continue ; fi ; \
@PRIMARY_PM_MPD_TRUE@		sed \
@PRIMARY_PM_MPD_TRUE@			-e 's#/usr/bin/env python.*#/usr/bin/env ${PYTHON}#' \
@PRIMARY_PM_MPD_TRUE@			-e 's,/etc/mpd.conf,$(sysconfdir)/mpd.conf,g' \
@PRIMARY_PM_MPD_TRUE@			${srcdir}/$$cmd.py > $(DESTDIR)${bindir}/temp$$cmd.py ; \
@PRIMARY_PM_MPD_TRUE@	    ${INSTALL} -m 755 $(DESTDIR)${bindir}/temp$$cmd.py $(DESTDIR)${bindir}/$$cmd.py; \
@PRIMARY_PM_MPD_TRUE@	    ( rm -f $(DESTDIR)${bindir}/temp$$cmd.py >/dev/null 2>&1 || exit 0 ) ; \
@PRIMARY_PM_MPD_TRUE@	done
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && rm -f mpd
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpd.py mpd
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && rm -f mpdboot
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpdboot.py mpdboot
@PRIMARY_PM_MPD_TRUE@	-@for cmd in ${CMDS} ; do \
@PRIMARY_PM_MPD_TRUE@	    ( cd $(DESTDIR)${bindir} && rm -f $$cmd ; ) ; \
@PRIMARY_PM_MPD_TRUE@	    ( cd $(DESTDIR)${bindir} && $(LN_S) $$cmd.py $$cmd ; ) \
@PRIMARY_PM_MPD_TRUE@	done
@PRIMARY_PM_MPD_TRUE@	-@( rm -f $(DESTDIR)${bindir}/mpdrun >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_TRUE@	-@( rm -f $(DESTDIR)${bindir}/mpdrun.py >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_TRUE@	-@( rm -f $(DESTDIR)${bindir}/mpirun >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_TRUE@	-@( rm -f $(DESTDIR)${bindir}/mpirun.py >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpiexec mpdrun
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpiexec.py mpdrun.py
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpiexec mpirun
@PRIMARY_PM_MPD_TRUE@	-@cd $(DESTDIR)${bindir} && $(LN_S) mpiexec.py mpirun.py
@PRIMARY_PM_MPD_TRUE@	-@if [ "${DO_MTV}" = "yes" ] ; then \
@PRIMARY_PM_MPD_TRUE@	    ${INSTALL} -m 755 mtv.so $(DESTDIR)${bindir}/mtv.so ;\
@PRIMARY_PM_MPD_TRUE@	fi
@PRIMARY_PM_MPD_FALSE@	@echo "MPD alternate PM installation"
@PRIMARY_PM_MPD_FALSE@	@echo "copying python files/links into " $(DESTDIR)${bindir}
@PRIMARY_PM_MPD_FALSE@	@if [ ! -d $(DESTDIR)${bindir} ] ; then \
@PRIMARY_PM_MPD_FALSE@	    echo "mkdir -p $(DESTDIR)${bindir} " ;\
@PRIMARY_PM_MPD_FALSE@	    mkdir -p $(DESTDIR)${bindir} ;\
@PRIMARY_PM_MPD_FALSE@	fi   
@PRIMARY_PM_MPD_FALSE@	for cmd in ${PYTHON_SOURCE} ; do \
@PRIMARY_PM_MPD_FALSE@	    if [ ! -s $(srcdir)/$$cmd.py ] ; then continue ; fi ; \
@PRIMARY_PM_MPD_FALSE@	    sed -e 's#/usr/bin/env python.*#/usr/bin/env ${PYTHON}#' ${srcdir}/$$cmd.py > $(DESTDIR)${bindir}/temp$$cmd.py ; \
@PRIMARY_PM_MPD_FALSE@	    ${INSTALL} -m 755 $(DESTDIR)${bindir}/temp$$cmd.py $(DESTDIR)${bindir}/$$cmd.py; \
@PRIMARY_PM_MPD_FALSE@	    ( rm -f $(DESTDIR)${bindir}/temp$$cmd.py >/dev/null 2>&1 || exit 0 ) ; \
@PRIMARY_PM_MPD_FALSE@	done
@PRIMARY_PM_MPD_FALSE@	cd $(DESTDIR)${bindir} && rm -f mpd
@PRIMARY_PM_MPD_FALSE@	cd $(DESTDIR)${bindir} && $(LN_S) mpd.py mpd
@PRIMARY_PM_MPD_FALSE@	cd $(DESTDIR)${bindir} && rm -f mpdboot
@PRIMARY_PM_MPD_FALSE@	cd $(DESTDIR)${bindir} && $(LN_S) mpdboot.py mpdboot
@PRIMARY_PM_MPD_FALSE@	for cmd in ${CMDS} ; do \
@PRIMARY_PM_MPD_FALSE@	    if [ $$cmd = "mpiexec" ] ; then continue ; fi ; \
@PRIMARY_PM_MPD_FALSE@	    ( cd $(DESTDIR)${bindir} && rm -f $$cmd ; ) ; \
@PRIMARY_PM_MPD_FALSE@	    ( cd $(DESTDIR)${bindir} && $(LN_S) $$cmd.py $$cmd ; ) \
@PRIMARY_PM_MPD_FALSE@	done
@PRIMARY_PM_MPD_FALSE@	( rm -f $(DESTDIR)${bindir}/mpdrun >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_FALSE@	( rm -f $(DESTDIR)${bindir}/mpdrun.py >/dev/null 2>&1 || exit 0 )
@PRIMARY_PM_MPD_FALSE@	mv -f $(DESTDIR)${bindir}/mpiexec.py $(DESTDIR)${bindir}/mpiexec.mpd
@PRIMARY_PM_MPD_FALSE@	cd $(DESTDIR)${bindir} && $(LN_S) mpiexec.mpd mpdrun

uninstall-local:
	-rm -f $(DESTDIR)${bindir}/mpdroot
	-rm -f $(DESTDIR)${bindir}/Zeroconf.py
	-rm -f $(DESTDIR)${bindir}/mpd
	-rm -f $(DESTDIR)${bindir}/mpd.py
	-rm -f $(DESTDIR)${bindir}/mpdallexit
	-rm -f $(DESTDIR)${bindir}/mpdallexit.py
	-rm -f $(DESTDIR)${bindir}/mpdboot
	-rm -f $(DESTDIR)${bindir}/mpdboot.py
	-rm -f $(DESTDIR)${bindir}/mpdcheck
	-rm -f $(DESTDIR)${bindir}/mpdcheck.py
	-rm -f $(DESTDIR)${bindir}/mpdchkpyver.py
	-rm -f $(DESTDIR)${bindir}/mpdcleanup
	-rm -f $(DESTDIR)${bindir}/mpdcleanup.py
	-rm -f $(DESTDIR)${bindir}/mpdexit
	-rm -f $(DESTDIR)${bindir}/mpdexit.py
	-rm -f $(DESTDIR)${bindir}/mpdgdbdrv.py
	-rm -f $(DESTDIR)${bindir}/mpdhelp
	-rm -f $(DESTDIR)${bindir}/mpdhelp.py
	-rm -f $(DESTDIR)${bindir}/mpdkilljob
	-rm -f $(DESTDIR)${bindir}/mpdkilljob.py
	-rm -f $(DESTDIR)${bindir}/mpdlib.py
	-rm -f $(DESTDIR)${bindir}/mpdlib.pyc
	-rm -f $(DESTDIR)${bindir}/mpdlistjobs
	-rm -f $(DESTDIR)${bindir}/mpdlistjobs.py
	-rm -f $(DESTDIR)${bindir}/mpdman.py
	-rm -f $(DESTDIR)${bindir}/mpdman.pyc
	-rm -f $(DESTDIR)${bindir}/mpdringtest
	-rm -f $(DESTDIR)${bindir}/mpdringtest.py
	-rm -f $(DESTDIR)${bindir}/mpdrun
	-rm -f $(DESTDIR)${bindir}/mpdrun.py
	-rm -f $(DESTDIR)${bindir}/mpdsigjob
	-rm -f $(DESTDIR)${bindir}/mpdsigjob.py
	-rm -f $(DESTDIR)${bindir}/mpdtrace
	-rm -f $(DESTDIR)${bindir}/mpdtrace.py
	-rm -f $(DESTDIR)${bindir}/mpecc.in
	-rm -f $(DESTDIR)${bindir}/mpefc.in
	-rm -f $(DESTDIR)${bindir}/mpiexec
	-rm -f $(DESTDIR)${bindir}/mpiexec.py
	-rm -f $(DESTDIR)${bindir}/mpirun
	-rm -f $(DESTDIR)${bindir}/mpirun.py

mpich-mpdroot: mpich-mpdroot.o
	$(C_LINK) -o mpich-mpdroot mpich-mpdroot.o $(LIBS)
	rm -f mpich-mpdroot.o

mpich-mpdroot.o: ${srcdir}/mpdroot.c ${srcdir}/mpdroot.h mpdconf.h
	${INSTALL} -m 644 ${srcdir}/mpdroot.c mpich-mpdroot.c
	${C_COMPILE} -DSYSCONFDIR=\"$(sysconfdir)\" -c mpich-mpdroot.c
	rm -f mpich-mpdroot.c

# Empty documentations targets (MPICH wants this target)
htmldoc:
latexdoc:

# make MPICH happy
coverage:

# EXPERIMENTAL TOTALVIEW STUFF

# EXPERIMENTAL MAN STUFF
mandoc:
	-@for cmd in ${PYTHON_SOURCE} ; do \
	    cd ${srcdir} &&  pydoc $$cmd | txt2man -t $$cmd -s 1 -v "mpd cmds" | awk ' !/Help on module/ { print } ' > ../../../man/man1/$$cmd.1 ; \
	done
# (Note to makefile maintainers: not all make programs accept comments in
# the commands for a target; all Makefile comments must begin in the first
# column)
# example:  nroff -man mpd.1 | less

install-man-local:
	-@for cmd in ${PYTHON_SOURCE} ; do \
		${INSTALL} -m 644 $$cmd.1 $(DESTDIR)${mandir}/man1/$$cmd.1 ; \
	done

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
