Commit e2197691 authored by Ron Rahaman's avatar Ron Rahaman
Browse files

First commit for Nek5000/Makefile.in (WIP)

parent a46c7e70
# @configure_input@
# =============================================================================
# SUBSTITUTION VARIABLES
# =============================================================================
F77=@F77@ # Fortran 77 compiler (set by AC_PROG_F77)
FFLAGS=@FFLAGS@ # Debugging and optimization options for F77
CC=@CC@ # C compiler
CFLAGS=@CFLAGS@ # Debugging and optimization options for CC
CPPFLAGS=@CPPFLAGS@ # Preprocessor options (-D, -U, etc.)
DEFS=@DEFS@ # -D options for compiler
INCLUDES=@INCLUDES@ # -I options for compiler
LDFLAGS=@LDFLAGS@ # Options for linker (-L, -s, but NOT -l)
LIBS=@LIBS@ # Library names (-l)
OBJEXT=@OBJEXT@ # Extension for object files
srcdir=@srcdir@ # top-level source directory
VPATH=@srcdir@ # virtual search path for out-of-source builds
LIBTOOL=@LIBTOOL@ # libtool executable
LIBTOOLFLAGS=@LIBTOOLFLAGS@ # flags for running libtool
# =============================================================================
# OBJECTS
# =============================================================================
CORE_F77_OBJECTS = drive.o drive1.o drive2.o \
plan4.o bdry.o coef.o conduct.o connect1.o connect2.o \
dssum.o edgec.o eigsolv.o gauss.o genxyz.o navier1.o makeq.o \
navier0.o navier2.o navier3.o navier4.o prepost.o speclib.o \
map2.o turb.o mvmesh.o ic.o ssolv.o planx.o math.o mxm_wrapper.o \
hmholtz.o gfdm_par.o gfdm_op.o gfdm_solve.o subs1.o subs2.o \
genbox.o gmres.o hsmg.o convect.o induct.o perturb.o \
navier5.o navier6.o navier7.o navier8.o fast3d.o fasts.o calcz.o \
byte_mpi.o postpro.o \
cvode_driver.o \
vprops.o qthermal.o cvode_aux.o makeq_aux.o \
papi.o nek_in_situ.o \
readat_new.o finiparser.o iniparser.o dictionary.o
CORE_CC_OBJECTS = nek_comm.o byte.o chelpers.o
MXM_OBJECTS = mxm_std.o
LPACK_OBJECTS = dsygv.o ssygv.o
JL_CORE_OBJECTS = jl_gs.o jl_sort.o jl_sarray_transfer.o jl_sarray_sort.o \
jl_gs_local.o jl_crystal.o jl_comm.o jl_tensor.o jl_fail.o \
jl_fcrystal.o
JL_INTP_OBJECTS = jl_findpts.o jl_findpts_local.o \
jl_obbox.o jl_poly.o jl_lob_bnd.o \
jl_findpts_el_3.o jl_findpts_el_2.o
ifeq ($(IFAMG),true)
JL_CGS_OBJECTS = jl_amg.o jl_fcrs.o
else
JL_CGS_OBJECTS = jl_sparse_cholesky.o jl_xxt.o jl_fcrs.o
endif
ifeq ($(IFNEKNEK),true)
NEKNEK_OBJECTS = multimesh.o
else
NEKNEK_OBJECTS = singlmesh.o
endif
ifeq ($(IFMPI),false)
COMM_MPI_OBJECTS = comm_mpi.o mpi_dummy.o
else
COMM_MPI_OBJECTS = comm_mpi.o
endif
CMT_OBJECTS = drive1_cmt.o drive2_cmt.o driver3_cmt.o \
face.o ausm.o MixtPerf.o intpdiff.o diffusive_cmt.o eqnsolver_cmt.o surface_fluxes.o \
bc.o inflow_bc.o outflow_bc.o wall_bc.o step.o \
filters_cmt.o diagnostics.o
ifeq ($(IFVISIT),true)
VISIT_OBJECTS = visit.o
endif
ifeq ($(IFMOAB),true)
MOAB_OBJECTS = moab.o imeshutil.o imeshcutil.o
endif
# =============================================================================
# LIBTOOL COMMANDS
# =============================================================================
# These follow automake's naming conventions
# C compiler
LTCOMPILE = $(LIBTOOL) --tag=CC $(LIBTOOLFLAGS) --mode=compile --quiet $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(LIBTOOL) --tag=CC $(LIBTOOLFLAGS) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)
# Need to add defs?
LTF77COMPILE = $(LIBTOOL) --tag=F77 $(LIBTOOLFLAGS) --mode=compile --quiet $(F77) $(INCLUDES) $(FFLAGS)
F77LINK = $(LIBTOOL) --tag=F77 $(LIBTOOLFLAGS) --mode=link $(F77) $(FFLAGS) $(LDFLAGS)
# =============================================================================
# RULES
# =============================================================================
# Extra pre-processor symbols for JL_OBJECTS
ifeq ($(IFAMG_DUMP),true)
$(JL_CORE_OBJECTS) $(JL_INTP_OBJECTS) $(JL_CGS_OBJECTS) : DEFS += "-DPREFIX=_jl -DAMG_DUMP"
else
$(JL_CORE_OBJECTS) $(JL_INTP_OBJECTS) $(JL_CGS_OBJECTS) : DEFS += "-DPREFIX=_jl"
endif
$(F77_OBJECTS) : %.o : %.f
@$(F77COMPILE) -c $< -o $@
$(CORE_CC_OBJECTS) $(JL_OBJECTS): %.o : %.c
@$(F77COMPILE) -c $< -o $@
# =============================================================================
# ADDITIONAL SUBSTITION VARIABLES
# =============================================================================
# These would be unnecessary if this makefile were generated with automake
# =============================================================================
# RULES
# =============================================================================
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment