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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubeadm

TYPE_OBJECTS = type-cubeid.o type-image.o type-directory.o type-subcube.o	\
type-visi.o

TYPE_MODULES = cubeadm_cubeid_types.mod cubeadm_image_types.mod	\
cubeadm_subcube_types.mod cubeadm_visi_types.mod

LIB_F_OBJECTS = $(TYPE_OBJECTS) clone.o command-directory.o command-find.o	\
command-free.o command-history.o command-import.o command-list.o		\
command-memory.o command-remove.o command-snapshot.o command-undo.o		\
command-update.o entryloop.o get.o init.o ioloop.o language.o message.o		\
opened.o setup.o taskloop.o timing.o

# ZZZ SB: cubeadm_directory_type should not be exported out of the adm
# library. Needed as long as command EXPORT is not back here.
LIB_EXPORTS = $(TYPE_MODULES) cubeadm_clone.mod cubeadm_directory_type.mod	\
cubeadm_entryloop.mod cubeadm_get.mod cubeadm_init.mod cubeadm_import.mod	\
cubeadm_ioloop.mod cubeadm_language.mod cubeadm_messaging.mod			\
cubeadm_opened.mod cubeadm_setup.mod cubeadm_taskloop.mod			\
cubeadm_timing.mod

INTERFACES_DISABLE = yes

LIB_DEPENDS = -lcubetuple -lcubeio -lcubedag -lcubetools $(GREG_LIBS)

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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