#
# Some stuff needed by the different parts
#

# SNIPE_LITE needs
#
SL_FLAGS  = -DIMA_LINUX -DNODELAYALLOWED -DDONOTFREEPUTENVSTR
#

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

# Dynamic Library (dl)
DL_LIBS = -ldl

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

# HARNESS 
#Pthread libs?
PLIB = -lpthread
SOFLAG = -fPIC
CGENLIB = 
SPECFLAGS = 

# mknames needs a seperation character for names

SEPCHAR = '/'

######################################################################
# C-compiler
CC = gcc

######################################################################
# On some platforms (e.g. AIX) we need a second C-compiler
MYCC = gcc
LD_FLAGS = -shared
######################################################################
# Options for the C-compiler
COPT = -g -O2 -DNDEBUG -DUSE_MALLOC -DHAVE_PRAGMA_WEAK -DHAVE_ALLOCA -DHAVE_ALLOCA_H  -DFTMPI_TUNED_COLLECTIVE
#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 = 

# Extra flags for each architecture  
EXTRA_FLAGS = 

# Security Flags (OpenSSL)
OPENSSL_CFLAGS = 
OPENSSL_LDFLAGS = 

######################################################################
# C++ Compiler
CCC = g++
CCFLAGS = -g -O2

######################################################################
# Fortran - compiler
FC = g77

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

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

# F2C_OPTS = -DFORTRANDOUBLEUNDERSCORE
F2C_OPTS = -DFORTRANDOUBLEUNDERSCORE

#####################################################################
# Readline library (used by console)
#####################################################################
RL_CFLAGS = -DHAVE_READLINE
RL_LDFLAGS = -lreadline -lcurses
