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

include $(gagadmdir)/Makefile.def

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

TEMPLATE_OBJECTS = template-one2two-image.o template-one2two-real.o

TEMPLATE_EXPORTS = cubetemplate_one2two_image_template.mod	\
cubetemplate_one2two_real_template.mod

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

TYPE_OBJECTS = type-factor.o

COMMAND_OBJECTS = command-fullcube2fullcube.o command-image2image.o		\
command-image2visi.o command-spectrum2spectrum.o command-subcube2subcube.o	\
command-visi2visi.o

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

LIB_IDENTITY = cubetemplate

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

LIB_EXPORTS = $(OBSOLETE_EXPORTS) $(TEMPLATE_EXPORTS)	\
cubetemplate_language.mod cubetemplate_messaging.mod

LIB_DEPENDS = -lcubeadm -lcubetopology $(CUBE_CORE_LIBS) $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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