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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubeedit

TYPE_OBJECTS = type-cube.o type-entry.o	type-opened.o \
type-which-data.o

TOOL_OBJECTS = engine-getdata.o engine-putdata.o tool-getheader.o 

COMMAND_OBJECTS = command-abort.o command-copy.o command-close.o	\
command-dump.o command-get.o command-glimpse.o command-open.o		\
command-put.o command-split.o

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

LIB_EXPORTS = cubeedit_language.mod cubeedit_messaging.mod	\
cubeedit_get.mod cubeedit_getdata.mod cubeedit_getheader_tool.mod

LIB_DEPENDS = -lcubeset -lcubetemplate -lcubeadm -lcubetopology	\
-lcubeformats $(CUBE_CORE_LIBS) $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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