📄 makefile.in
字号:
# MPICH-V# Copyright (C) 2002, 2004 Groupe Cluster et Grid, LRI, Universite de Paris Sud## This file is part of MPICH-V.## MPICH-V is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## MPICH-V is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with MPICH-V; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA# $Id: Makefile.in,v 1.8 2006/01/19 16:02:29 herault Exp $##### User configurable options #####DEVICE = @DEVICE@INCLUDE_DIR = -Impid/@DEVICE@ -Iinclude -I/usr/local/includeCC = @CC@AR = @AR@RANLIB = @RANLIB@### End User configurable options ###LIBNAME = $(MPIR_HOME)/lib/lib$(MPILIBNAME).aLIBDEV = libmpid.aCFLAGS = -DHAVE_MPICHCONF_H \ -I../../.. -I../../../include -I../. -I../include\ -I../../ch2 -I../../util -I../utils -I../@PROTOCOL@ \ @CFLAGS@ -DMPID_DEVICE_CODE $(OPTFLAGS) -I. -I../checkpoint/@CKPT_HELPER_LIB@/# See mpid/ch_adi2/Makefile.in for a full listSOURCE = adi2recv.c adi2send.c adi2init.c adi2probe.c adi2ssend.c \ adi2hsend.c adi2hrecv.c adi2hssend.c adi2pack.c adi2mpack.c \ adi2req.c adi2cancel.c \ chbeager.c chbrndv.c chdebug.c chchkdev.c chshort.c \ chinit.c chnodename.c chtick.c vpriv.c queue.c \ cmnargs.c tr2.c sbcnst2.c chpackflow.c chflow.c chcancel.c SOURCEC = $(SOURCE)SOURCEF =MPI_OBJECTS = adi2recv.o adi2send.o adi2init.o adi2probe.o adi2ssend.o \ adi2hsend.o adi2hrecv.o adi2hssend.o adi2pack.o adi2mpack.o \ adi2req.o adi2cancel.o \ chbeager.o chbrndv.o chdebug.o chchkdev.o chshort.o \ chinit.o chnodename.o chtick.o queue.o cmnargs.o tr2.o \ sbcnst2.o chpackflow.o vpriv.o ../checkpoint/@CKPT_HELPER_LIB@/vprivcheckpoint.o \ chflow.o chcancel.o ../utils/debug.o ../utils/sockrw.o ../utils/vtypes.oMPIDHEADERS = mpid.h req.h comm.h datatype.h chhetero.h attach.h objtrace.h \ calltrace.h cookie.h mpid_bind.h reqalloc.h tr2.h mpimem.h \ sbcnst2.h### MAIN GOALS ###default: $(LIBNAME) $(RANLIB) $(LIBNAME)# default_all is the same as default, but without the RANLIB. This# can speed up the build (ranlibs can take a LONG time). profile_all # is the same, but for the profile library# it is called first by make in topsrc_dirdefault_all: default_filesdefault_files: $(LIBNAME)profile_all: clean: removefilesdist : distribution$(SOURCE): mpid.h chdef.h$(SOURCE): .linksdone### Other Targets ###removefiles: /bin/rm -f *~ $(MPI_OBJECTS) libmpid.a .linksdone: for file in $(SOURCE) ; do \ if [ ! -s $$file -a -s ../../ch2/$$file ] ; then \ ln -s ../../ch2/$$file $$file ; fi ; \ if [ ! -s $$file -a -s ../../util/$$file ] ; then \ ln -s ../../util/$$file $$file ; fi ; \ done for file in $(MPIDHEADERS) ; do \ if [ ! -s $$file -a -s ../../ch2/$$file ] ; then \ ln -s ../../ch2/$$file $$file ; fi ; \ done if [ ! -s mpiddev.h ] ; then \ ln -s ../../ch2/mpiddevbase.h mpiddev.h ; fi if [ ! -s sbcnst2.h ] ; then \ ln -s ../../util/sbcnst2.h sbcnst2.h ; fi if [ ! -s tr2.h ] ; then \ ln -s ../../util/tr2.h tr2.h ; fi touch .linksdone### Local Files compilation ###vpriv.o: vpriv.c ../config.h $(CC) $(CFLAGS) $(BASEOPT) -c $*.c $(MPI_PROFILE)../checkpoint/@CKPT_HELPER_LIB@/vprivcheckpoint.o : ../checkpoint/@CKPT_HELPER_LIB@/vprivcheckpoint.c $(MAKE) -C ../checkpoint/@CKPT_HELPER_LIB@ vprivcheckpoint.o### libmpi goals ###$(LIBNAME): $(MPI_OBJECTS) $(AR) $@ $?libmpid.a: $(MPI_OBJECTS) $(AR) $@ $? $(RANLIB) $@### Generic Rules ###../utils/%.o: $(MAKE) -C ../utils.c.o: @if [ ! -s $*.c ] ; then ln -s ../../ch2/$*.c $*.c ; fi $(CC) $(CFLAGS) $(BASEOPT) -c $*.c $(MPI_PROFILE).o.s: $(CC) $(CFLAGS) $(BASEOPT) -c -S $*.c $(MPI_PROFILE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -