/* * Description: This file contains all the directives needed to * tell ymake how to build NCARG/NCL on a LINUX * system. * * The default version of this file assumes you are * using the GNU compilers, gcc and gfortran. * * You may need to modify it to change or include * options. You can also look at the other LINUX* * files in this directory for help on how to configure * this file. */ #define HdfDefines -DLINUX #define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DNGLONG2XINT -Dppc64 #define Cstatic #define Cdynamic #define CppCommand '/usr/bin/cpp -traditional' #define CCompiler gcc #define FCompiler gfortran #define CtoFLibraries -lgfortran -lm #define CtoFLibrariesUser -lgfortran -lm #define CcOptions -ansi -fPIC -fopenmp #define FcOptions -fPIC -fno-second-underscore -fno-range-check -fopenmp #define XToolLibrary -lXt -lSM -lICE #define BuildShared NO #define XLibrary -lX11 -lXext #define ExtraExportFlags -rdynamic #define LibSearchUser -L/usr/X11R6/lib64 #define IncSearchUser -I/usr/X11R6/include #define ArchRecLibSearch -L/usr/X11R6/lib64 #define ArchRecIncSearch -I/usr/X11R6/include FC = $(F77) /*************** Redefine Macros from Rules ********************************/ /* * Macro: MakeDir * * Description: This rule creates a directory - if a parent dir doesn't exist * it attempts to create it. */ #ifndef MakeDir #define MakeDir(dir) @if (test ! -d dir); then ($(MKDIRHIER) dir); fi #endif