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

include $(gagadmdir)/Makefile.def

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

ENGINE_OBJECTS = engine-fft.o

ENGINE_EXPORTS = cubemain_fft_utils.mod

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

SPECTRAL_OBJECTS = type-spectral-range.o type-window.o

SPECTRAL_EXPORTS = cubemain_range.mod cubemain_windowing.mod	\
cubemain_window_types.mod

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

SPECTRUM_OBJECTS = type-spectrum-real.o type-spectrum-blanking.o	\
type-spectrum-operations.o

SPECTRUM_EXPORTS = cubemain_spectrum_blanking.mod		\
cubemain_spectrum_operations.mod cubemain_spectrum_real.mod

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

OTHER_OBJECTS = type-auxiliary.o

OTHER_EXPORTS = cubemain_auxiliary.mod

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

LIB_IDENTITY = cubeobsolete

LIB_F_OBJECTS = $(ENGINE_OBJECTS) $(SPECTRAL_OBJECTS) $(SPECTRUM_OBJECTS)	\
$(OTHER_OBJECTS) message.o

LIB_EXPORTS = $(ENGINE_EXPORTS) $(SPECTRAL_EXPORTS) $(SPECTRUM_EXPORTS)	\
$(OTHER_EXPORTS) cubeobsolete_messaging.mod

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

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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