#
# Some stuff needed by the different parts
#

# SNIPE_LITE needs
#
SL_FLAGS  = -DIMA_SP2
#

# SNIPE_LITE libs
# like -lnsl -lsocket etc
#
SL_LIBS = -lm
#

# Dynamic Library (dl)
DL_LIBS = -ldl

# Ranlib?
RANLIB = echo 'Not using ranlib on'
#RANLIB = ranlib

# HARNESS 
#Pthread libs?
PLIB = -lpthread
SOFLAG = -c
CGENLIB = 
# mknames needs a seperation character for names

SEPCHAR = '/'

######################################################################
# C-compiler
CC = gcc
######################################################################
# Options for the C-compiler
COPT = -g -O2  
#COPT = -DHAVE_PRAGMA_WEAK

# if HAVE_PRAGMA_WEAK is NOT set, then the following file
# must be linked additionally
# WOBJ =  ${objdir}/ft-mpi-prof-wrappers.o
WOBJ = AIX46K/ft-mpi-prof-wrappers.o

# Extra flags for each architecture  
EXTRA_FLAGS = -D_LONG_LONG -DALL_SOURCE

######################################################################
# Fortran - compiler
FC = f77

# Options for the Fortran compiler
# e.g for the g77
# FOPT = -fno-f90 -w
FOPT = -g

# fortran to c naming convention ?
# undex linux and g77 

# F2C_OPTS = -DFORTRANDOUBLEUNDERSCORE
F2C_OPTS = -DFORTRANNOUNDERSCORE
######################################################################

# NBlocking arch dependant ops
NBOPT = -DFT_MPI_SHORT_MSG_LENGTH=16384
