/*
 * Local configuration file for libastetool.a
 */

ADSOFT = /adsoft

/* if you want to turn on debug falgs, define here */
#define PassCDebugFlags

/* path to install binaries and libraries */
INSTALL_LIB_PATH = $(TOP)/$(EXT)

/*
 * atFunctions
 */
ATFUNCTIONS_DIR = ${ADSOFT}/atFunctions/3.0
/*   where atFunctions.h and atError.h exists */
ATFUNCTIONS_INC = ${ATFUNCTIONS_DIR}/include
/*   atFunctions link option */
ATFUNCTIONS_LNK = -L${ATFUNCTIONS_DIR}/${EXT} -latFunctions

/*
 * CFITSIO
 */
CFITSIO_DIR = ${ADSOFT}/cfitsio/3.060
/*   where fitsio.h exists */
CFITSIO_INC = ${CFITSIO_DIR}/include
/*   CFITSIO link option */
CFITSIO_LNK = -L${CFITSIO_DIR}/${EXT} -lcfitsio

/*
 * CERN
 */
CERN_DIR = ${ADSOFT}/cern/v2002
/*   where hbook.h, hplot.h, higz.h exists */
CERN_INC = ${CERN_DIR}/include

/*
 * CFORTRAN
 */
CFORTRAN_INC = ${ADSOFT}/cfortran/3.9


/* Architecture dependent definitions */

#if defined(AlphaArchitecture)
CDEBUGFLAGS = -O -g3
#elif defined(SunArchitecture)
CDEBUGFLAGS = -O -g
#else
CDEBUGFLAGS = -O3 -g -Wall
#endif

/* if you want to use gcc, comment out the next line */
/*CC = gcc*/
/* if you want to use g77, comment out the next line */
/*FC = g77 -fno-second-underscore*/

#if defined(LinuxArchitecture)
DEFINES = -Dg77Fortran #-fwritable-strings
#endif

#if defined(DarwinArchitecture)
DEFINES = -Dg77Fortran #-fwritable-strings
INSTALLFLAGS = -c
#endif

#if defined(cygwinArchitecture)
DEFINES = -Dg77Fortran #-fwritable-strings
#endif
