steps = extract build

extract.ns = gen sps
extract.location[sps] = trunk@4964
extract.path-excl[sps] = doc src/config src/simim \
                         src/code/SpsMod_ModelIngest \
                         src/code/SpsProg_ConvertFieldsfile \
                         src/code/SpsTask_ConvectiveInitiation \
                         src/code/old \
                         src/scripts/Sps_System \
                         src/scripts/old

extract.location[gen] = trunk@3953
extract.path-root[gen] = src/code
extract.path-excl[gen] = /
extract.path-incl[gen] = GenMod_UMConstants

build.target = SpsScr_Install sps/data/Sps_Fire/.etc sps/data/coeffs/.etc sps/data/palettes/.etc \
               sps/data/products/.etc sps/data/sad/.etc sps/data/slotstore/.etc
build.target-rename = h5admin.exe:h5admin h5getatt.exe:h5getatt SpsProg_GetCoords.exe:sps_get_coords
build.prop{fc} = wrap_fc
$FOPT = -CB -traceback -u -convert big_endian
$SPS_LIBDIR = /home/h04/cfsa/SPS/libraries/RHEL6
build.prop{fc.flags} = $FOPT -I${SPS_LIBDIR}/grib_api/include
build.prop{fc.flags}[gen/GenMod_UMConstants] = $FOPT -w -132
build.prop{fc.flags}[sps/src/code/SpsMod_Utilities]              = $FOPT -Duse_f90_unix=''
build.prop{fc.flags}[sps/src/code/SpsTask_HDFReader]             = $FOPT -auto -assume byterecl
build.prop{fc.flags}[sps/src/code/SpsProg_ImageGrib]             = $FOPT -auto -assume byterecl
build.prop{fc.flags}[sps/src/code/SpsProg_GlobalComposite]       = $FOPT -auto -assume byterecl
build.prop{fc.flags}[sps/src/code/rttov10]                       = $FOPT -openmp
build.prop{fc.flags}[sps/src/code/rttov10/main/rttov_locpat_k.F90] = $FOPT
build.prop{cc} = wrap_cc
build.prop{cc.flags} = -Wall -O2 -DLOWERCASE -I${SPS_LIBDIR}/hdf5/include
build.prop{cc.flags}[sps/src/code/SpsMod_Image]                  = -Wall -DLOWERCASE -I${SPS_LIBDIR}/hdf5/include
build.prop{fc.flags-ld} = -openmp -L${SPS_LIBDIR}/hdf5/lib -lhdf5 -lhdf5_hl \
                        \ -L${SPS_LIBDIR}/bufr_ifort -lbufr \
                        \ -L${SPS_LIBDIR}/grib_ifort -lgrib_ifort \
                        \ -L${SPS_LIBDIR}/g2lib -lg2 \
                        \ -L${SPS_LIBDIR}/grib_api/lib -lgrib_api_f90 -lgrib_api \
                        \ -L${SPS_LIBDIR}/jasper/lib -ljasper \
		        \ -L/usr/lib -llapack \
                        \ -ljpeg -lpng
build.prop{dep.o}[sps/src/code/SpsMod_Store/SpsMod_Hdf5F90Support.c] = spsmod_storec.o
build.prop{dep.include}[sps/src/code/SpsMod_Store/Sps_H5Fopen_auto.c] = Sps_H5Fopen_auto.h
build.prop{no-dep.f.module} = grib_api
build.prop{file-ext.script} = .ksh .pl .pm .pro
