📄 makefile.in
字号:
# (C) 1993 by Argonne National Laboratory and Mississipi State University.# All rights reserved. See COPYRIGHT in top-level directory.###### User configurable options #####top_srcdir = @top_srcdir@CC = @CC@CC_SHL = @CC_SHL@CLINKER = @CLINKER@MPI_CC = @MPI_CC@MPI_CLINKER = $(MPI_CC)AR = @AR@ARFLAGS = crRANLIB = @RANLIB@MAKE = @MAKE@DEBUG_LIBS = @DEBUG_LIBS@MPI_INC = @MPI_INC@MPI_LIBS = @MPI_LIBS@INCLUDE_DIR = -I.. -I${top_srcdir}/include \ -I${includebuild_dir} \ -I../../.. -I${top_srcdir}/../../include \ @X_INC@ $(MPI_INC)PROF_LIBNAME = @PROF_LIBNAME@ANIM_LIBNAME = @ANIM_LIBNAME@CFLAGS = @CFLAGS@MPE_BUILD_FORTRAN2C = @MPE_BUILD_FORTRAN2C@MPE_LIBDIR = @libbuild_dir@LIB_PATH = @X_LIB@ $(MPI_LIBS)LDFLAGS = @LDFLAGS@### End User configurable options ###SHELL = /bin/shRM = @RM@@VPATH@# Installation directoriesprefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@includedir = @includedir@libdir = @libdir@# Build directoriesincludebuild_dir = @includebuild_dir@libbuild_dir = @libbuild_dir@binbuild_dir = @binbuild_dir@srcdir = @srcdir@EXECS =# GETNAME_DEFS are needed by mpehname.cCC_FLAGS = $(CFLAGS) $(INCLUDE_DIR) $(MPE_COPTS)CC_LDFLAGS = $(LDFLAGS) $(CFLAGS) $(MPE_LDOPTS)MPE_CSOURCES = mpe_graphics.c xcolor.c xframe.c xinit.c xwmap.c \ xmouse.c xkey.cMPE_COBJECTS = $(MPE_CSOURCES:.c=.@OBJEXT@)MPE_WSOURCES = mpe_graphicsf.c xmousef.cMPE_WOBJECTS = $(MPE_WSOURCES:.c=.@OBJEXT@)MPE_SHLCOBJECTS = $(MPE_COBJECTS:.@OBJEXT@=.lo)MPE_SHLWOBJECTS = $(MPE_WOBJECTS:.@OBJEXT@=.lo).SUFFIXES: .c .@OBJEXT@ .lo .a @EXEEXT@.c.@OBJEXT@: $(MPE_ICC) $(MPE_ICFLAGS) -c $<.c.a: $(MPE_ICC) $(MPE_ICFLAGS) -c $<# Allow compilers that do not allow -o for renaming object files.c.lo: $(CC_SHL) $(CC_FLAGS) -c $< $(INC_DIR) @mv $*.@OBJEXT@ $*.lo# 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# **** Currently the same as default for simplicity ****default_all: defaultprofile_all: ## libmpe_nompi must be last because some make's "optimize" by computing# all dependencies at the beginning, rather than when each target is# evaluated. Since libmpe_nompi cleans the object files (to force a rebuild# with the NO_MPI switch), this can cause problems.default: clean $(MAKE) ${libbuild_dir}/lib$(PROF_LIBNAME)_nompi.a $(MAKE) ${libbuild_dir}/lib$(PROF_LIBNAME).a $(MAKE) ${libbuild_dir}/lib$(ANIM_LIBNAME).a## It is tempting here to use ... libmpe.a($(MPE_OBJECTS)) as the dependency,# but this would require that all makes properly handle library dependencies.# Since makes that DO are the exception rather than the rule, we don't# use this form## We've also had trouble with this. Sometimes, under Solaris, the # first file in the dependency is built but not included with $? # This is clearly a bug in the make, since the determination of dependencies# is done once (e.g., a blip in the filesystem time can't be # responsible if make works as Sun documents it). To fix this, we# add all the objects to the library, not just the "recent" ones.${libbuild_dir}/lib$(PROF_LIBNAME).a: clean @$(MAKE) $(MPE_COBJECTS) \ "MPE_ICC=${MPI_CC}" "MPE_ICFLAGS=${CC_FLAGS}" @if [ "$(MPE_BUILD_FORTRAN2C)" = "yes" ] ; then \ $(MAKE) $(MPE_WOBJECTS) \ "MPE_ICC=${MPI_CC}" "MPE_ICFLAGS=${CC_FLAGS}" ; \ fi $(AR) $(ARFLAGS) $@ *.@OBJEXT@ $(RANLIB) $@${libbuild_dir}/lib$(ANIM_LIBNAME).a: clean @$(MAKE) visual_mess.@OBJEXT@ \ "MPE_ICC=${MPI_CC}" "MPE_ICFLAGS=${CC_FLAGS}" $(AR) $(ARFLAGS) $@ visual_mess.@OBJEXT@ $(RANLIB) $@${libbuild_dir}/lib$(PROF_LIBNAME)_nompi.a: clean @$(MAKE) $(MPE_COBJECTS) \ "MPE_ICC=${MPI_CC}" "MPE_ICFLAGS=${CC_FLAGS} -DMPE_NOMPI" $(AR) $(ARFLAGS) $@ *.@OBJEXT@ $(RANLIB) $@# ********## Remove the old libraries before rebuilding (in case they came from another# architecture or are otherwise damaged)rmlib: @-$(RM) -f ${libbuild_dir}/lib$(PROF_LIBNAME).a @-$(RM) -f ${libbuild_dir}/lib$(ANIM_LIBNAME).a @-$(RM) -f ${libbuild_dir}/lib$(PROF_LIBNAME)_nompi.armprog: @-$(RM) -f $(EXECS)clean: rmprog @-$(RM) -f *.@OBJEXT@ ${srcdir}/*.@OBJEXT@ *~ $(EXECS) PI*distclean: clean rmlib @-$(RM) -f Makefile Makefile_nompi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -