###########################################################################
#
# Makefile system for GILDAS softwares (2003-2023).
#
# Please be careful: element order often matters in makefiles.
#
###########################################################################

include $(gagadmdir)/Makefile.def

###########################################################################

TASK_KIND = mapping

# List of tasks that are declared obsolete (put in the obsolete directory
# for the moment).
OBSOLETE_TASKS = make_mosaic.exe mosaic_make.exe primary.exe uv_check.exe	\
uv_compress.exe uv_continuum.exe uv_flag.exe uv_line2cont.exe uv_sort.exe

SELFCAL_TASKS = uv_cal.exe uv_gain.exe uv_cal_old.exe uv_gain_old.exe

UV_TASKS = uv_average.exe uv_casa.exe uv_center.exe uv_checkbeam.exe	\
uv_circle.exe uv_clip.exe uv_ctime.exe uv_cuts.exe uv_dft.exe		\
uv_fit.exe uv_fitc.exe uv_fit-proper.exe uv_getinterval.exe		\
uv_hanning.exe uv_invert.exe uv_list.exe uv_merge.exe uv_mflag.exe	\
uv_mosaic.exe uv_mult.exe uv_noise.exe uv_proper_motion.exe		\
uv_ref_gauss.exe uv_ref_model.exe uv_ref_point.exe uv_robust.exe	\
uv_short.exe uv_splitpolar.exe uv_subtract.exe uv_stokes.exe		\
uv_template.exe uv_trim.exe uv_update_fields.exe uv_vla_patchif.exe	\
uv_vla_reorder.exe uv_zero.exe map_refine.exe $(SELFCAL_TASKS)

TASKS = $(UV_TASKS)

LOAD_LIBS = -lmaptasks -lmapping $(GREG_LIBS)

ADD_LIBS += $(GREG_SYS_LIBS)

LOCAL_FFLAGS = -Ilib

###########################################################################

include $(gagadmdir)/Makefile.tasks

###########################################################################
