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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cube

# Creates pycube.so (implicit compilation of cube-pyimport.c)
IMPORT_FROM_PYTHON = yes

LIB_C_OBJECTS = cube-sicimport.o

LIB_F_OBJECTS = command-collect.o command-debug.o command-help.o	\
command-question.o language.o message.o package.o

LIB_EXPORTS = cube_debug.mod cubehelp_question.mod	\
cubehelp_language.mod

LIB_DEPENDS = -lcubestatistics -lcubeedit -lcubego -lcubefit		\
-lcubefield -lcubecompute -lcubemain -lcubetemplate -lcubeadm		\
-lcubetopology -lcubeset -lcubetuple -lcubeio -lcubedag -lcubefitsio	\
-lcubetools -lclassic $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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