📄 makefile.in
字号:
# Makefile.in for mpd2@SET_MAKE@prefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@mandir = @mandir@srcdir = @srcdir@SHELL = @SHELL@CC = @CC@INCLUDES = -I. -I${srcdir}CPPFLAGS = @CPPFLAGS@CLINKER = @CLINKER@COPTIONS = @COPTIONS@LDFLAGS = @LDFLAGS@LIBS = @LIBS@ PYTHON = @PYTHON@DO_MTV = @DO_MTV@INSTALL = @INSTALL@CFLAGS = @CFLAGS@C_COMPILE = ${CC} ${INCLUDES} ${CFLAGS} ${COPTIONS}C_LINK = ${CLINKER} ${CFLAGS} ${COPTIONS} ${LDFLAGS}VPATH = .:@srcdir@PROGRAMS = mpdrootEXAMPLES = sigcatcher infloopSOURCES = ${mpdroot_SOURCES} ${example_SOURCES}OBJECTS = ${mpdroot_OBJECTS} ${example_OBJECTS}HEADERS = mpdconf.h mpdroot.hMPD = mpdMPDBOOT = mpdbootCMDS = mpiexec mpdtrace mpdringtest mpdlistjobs mpdkilljob mpdsigjob \ mpdexit mpdallexit mpdcleanup mpdhelp mpdcheckHELPERS = mpdgdbdrv mpdman mpdlib mpdchkpyver ZeroconfPYTHON_SOURCE = ${MPD} ${MPDBOOT} ${CMDS} ${HELPERS}mpdroot_SOURCES = mpdroot.cexample_SOURCES = sigcatcher.c infloop.cmpdroot_OBJECTS = ${mpdroot_SOURCES:.c=.o}example_OBJECTS = ${example_SOURCES:.c=.o}all: Makefile ${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.SUFFIXES:.SUFFIXES: .o .dep .c etags: ${HEADERS} ${SOURCES} etags ${HEADERS} ${SOURCES}mpdroot: ${mpdroot_OBJECTS} $(C_LINK) -o mpdroot ${mpdroot_OBJECTS} $(LIBS)mpdroot.o: ${srcdir}/mpdroot.c ${srcdir}/mpdroot.h mpdconf.h ${C_COMPILE} -c $< # The following lines provide the right libraries for all example programs.c: ${C_LINK} -o $* $*.c $(LIBS).o: $(C_LINK) -o $* $*.o $(LIBS)clean: @-rm -f *.o *.dep *~ ${EXAMPLES} core* *.1 *.pyc @-rm -f *.gcno *.gcda *.bb *.bbg @-rm -f ${srcdir}/*.gcno ${scrdir}/*.gcda# echo "some of the following might be executables you want to remove"# ls -l | grep rwxdistclean: clean rm -f Makefile mpdconf.h ${PROGRAMS} ${PYTHON_SOURCE} \ config.status config.cache config.log mtv.somaintainer-clean: distclean rm -f configure mpdconf.h.in rm -rf autom4te.cache${srcdir}/configure: ${srcdir}/configure.in @rm -rf autom4te*.cache (cd ${srcdir} && autoheader -I ../../../confdb && \ autoconf -I \ ../../../confdb )Makefile: ${srcdir}/Makefile.in config.status ./config.status.c.o: ${C_COMPILE} -c $<# 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 MPICH2 release# in order to avoid Copyright problems).install: all @if [ ! -d $(DESTDIR)${bindir} ] ; then \ echo "mkdir -p $(DESTDIR)${bindir} " ;\ mkdir -p $(DESTDIR)${bindir} ;\ fi -@if [ -n "`id | grep uid=0`" ] ; then \ ${INSTALL} -m 4755 mpdroot $(DESTDIR)${bindir}/mpdroot ;\ else \ ${INSTALL} -m 755 mpdroot $(DESTDIR)${bindir}/mpdroot ;\ fi @echo "copying python files/links into " $(DESTDIR)${bindir} -@for cmd in ${PYTHON_SOURCE} ; do \ if [ ! -s $(srcdir)/$$cmd.py ] ; then continue ; fi ; \ sed -e 's#/usr/bin/env python.*#/usr/bin/env ${PYTHON}#' ${srcdir}/$$cmd.py > $(DESTDIR)${bindir}/temp$$cmd.py ; \ ${INSTALL} -m 755 $(DESTDIR)${bindir}/temp$$cmd.py $(DESTDIR)${bindir}/$$cmd.py; \ ( rm -f $(DESTDIR)${bindir}/temp$$cmd.py >/dev/null 2>&1 || exit 0 ) ; \ done -@cd $(DESTDIR)${bindir} && rm -f mpd -@cd $(DESTDIR)${bindir} && @LN_S@ mpd.py mpd -@cd $(DESTDIR)${bindir} && rm -f mpdboot -@cd $(DESTDIR)${bindir} && @LN_S@ mpdboot.py mpdboot -@for cmd in ${CMDS} ; do \ ( cd $(DESTDIR)${bindir} && rm -f $$cmd ; ) ; \ ( cd $(DESTDIR)${bindir} && @LN_S@ $$cmd.py $$cmd ; ) \ done -@( rm -f $(DESTDIR)${bindir}/mpdrun >/dev/null 2>&1 || exit 0 ) -@( rm -f $(DESTDIR)${bindir}/mpdrun.py >/dev/null 2>&1 || exit 0 ) -@( rm -f $(DESTDIR)${bindir}/mpirun >/dev/null 2>&1 || exit 0 ) -@( rm -f $(DESTDIR)${bindir}/mpirun.py >/dev/null 2>&1 || exit 0 ) -@cd $(DESTDIR)${bindir} && @LN_S@ mpiexec mpdrun -@cd $(DESTDIR)${bindir} && @LN_S@ mpiexec.py mpdrun.py -@cd $(DESTDIR)${bindir} && @LN_S@ mpiexec mpirun -@cd $(DESTDIR)${bindir} && @LN_S@ mpiexec.py mpirun.py -@if [ "${DO_MTV}" = "yes" ] ; then \ ${INSTALL} -m 755 mtv.so $(DESTDIR)${bindir}/mtv.so ;\ fimpich2-build-install: mpich2-mpdroot install -@if [ -n "`id | grep uid=0`" ] ; then \ ${INSTALL} -m 4755 mpich2-mpdroot $(DESTDIR)${bindir}/mpdroot ;\ else \ ${INSTALL} -m 755 mpich2-mpdroot $(DESTDIR)${bindir}/mpdroot ;\ fi rm -f mpich2-mpdrootuninstall: mpich2-build-uninstallmpich2-build-uninstall: -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.pympich2-mpdroot: mpich2-mpdroot.o $(C_LINK) -o mpich2-mpdroot mpich2-mpdroot.o $(LIBS) rm -f mpich2-mpdroot.ompich2-mpdroot.o: ${srcdir}/mpdroot.c ${srcdir}/mpdroot.h mpdconf.h ${INSTALL} -m 644 ${srcdir}/mpdroot.c mpich2-mpdroot.c ${C_COMPILE} -c mpich2-mpdroot.c rm -f mpich2-mpdroot.c# A special alternate installation target when using multiple process managers# MPICH2 expects this, but it only needs to install enough to run mpiexec# The purpose of this target is to allow users to use mpiexec.mpd to run# MPICH2 programs using the MPD process manager when they configure MPICH2# to build multiple process managers.install-alt: mpiexec.py @echo "copying python files/links into " $(DESTDIR)${bindir} @if [ ! -d $(DESTDIR)${bindir} ] ; then \ echo "mkdir -p $(DESTDIR)${bindir} " ;\ mkdir -p $(DESTDIR)${bindir} ;\ fi for cmd in ${PYTHON_SOURCE} ; do \ if [ ! -s $(srcdir)/$$cmd.py ] ; then continue ; fi ; \ sed -e 's#/usr/bin/env python.*#/usr/bin/env ${PYTHON}#' ${srcdir}/$$cmd.py > $(DESTDIR)${bindir}/temp$$cmd.py ; \ ${INSTALL} -m 755 $(DESTDIR)${bindir}/temp$$cmd.py $(DESTDIR)${bindir}/$$cmd.py; \ ( rm -f $(DESTDIR)${bindir}/temp$$cmd.py >/dev/null 2>&1 || exit 0 ) ; \ done cd $(DESTDIR)${bindir} && rm -f mpd cd $(DESTDIR)${bindir} && @LN_S@ mpd.py mpd cd $(DESTDIR)${bindir} && rm -f mpdboot cd $(DESTDIR)${bindir} && @LN_S@ mpdboot.py mpdboot for cmd in ${CMDS} ; do \ if [ $$cmd = "mpiexec" ] ; then continue ; fi ; \ ( cd $(DESTDIR)${bindir} && rm -f $$cmd ; ) ; \ ( cd $(DESTDIR)${bindir} && @LN_S@ $$cmd.py $$cmd ; ) \ done ( rm -f $(DESTDIR)${bindir}/mpdrun >/dev/null 2>&1 || exit 0 ) ( rm -f $(DESTDIR)${bindir}/mpdrun.py >/dev/null 2>&1 || exit 0 ) mv -f $(DESTDIR)${bindir}/mpiexec.py $(DESTDIR)${bindir}/mpiexec.mpd cd $(DESTDIR)${bindir} && @LN_S@ mpiexec.mpd mpdrun# Empty dependencies target (MPICH2 wants this target)dependencies:# Empty documentations targets (MPICH2 wants this target)htmldoc:latexdoc:mandoc:# Empty tags targets (MPICH2 wants this target)tags: TAGSTAGS:# EXPERIMENTAL TOTALVIEW STUFF# EXPERIMENTAL MAN STUFFman: -@for cmd in ${PYTHON_SOURCE} ; do \ currdir=`pwd` ; cd ${srcdir} && pydoc $$cmd | txt2man -t $$cmd -s 1 -v "mpd cmds" | awk ' !/Help on module/ { print } ' > $$currdir/$$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 | lessinstall-man: -@for cmd in ${PYTHON_SOURCE} ; do \ ${INSTALL} -m 644 $$cmd.1 $(DESTDIR)${mandir}/$$cmd.1 ; \ done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -