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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubecompute

TEMPLATE_OBJECTS = template-one2one.o template-two2one.o type-act.o	\
type-unit.o

TYPE_OBJECTS = type-operdir.o

TOOL_OBJECTS = tool-fft-visi.o tool-prime-power.o	\
tool-convolve-spectrum.o

OPERATION_OBJECTS = command-average.o					\
command-convolution-of-cube-with-spectrum.o command-difference.o	\
command-product.o command-ratio.o command-sum.o

COMMAND_OBJECTS = command-amplitude.o command-complex.o				\
command-conjugate.o command-cumulant.o command-derivative.o command-fft.o	\
command-phase.o command-weight.o

LIB_F_OBJECTS = $(TEMPLATE_OBJECTS) $(TYPE_OBJECTS) $(TOOL_OBJECTS)	\
$(OPERATION_OBJECTS) $(COMMAND_OBJECTS) language.o message.o

LIB_EXPORTS = cubecompute_language.mod cubecompute_messaging.mod	\
cubecompute_one2one_template.mod

LIB_DEPENDS = $(CUBE_INTERFACE_LIBS) $(CUBE_CORE_LIBS) $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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