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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = ginc

INTERFACES_DISABLE = yes

LIB_EXPORTS = gbl_memory.inc gbl_pi.inc gbl_nan.incpp gbl_format.f90	\
image_def.f90 gildas_def.f90 phys_const.f90 win-include.f90		\
gbl_constant.mod gildas_def.mod phys_const.mod gbl_format.mod		\
gbl_convert.mod image_def.mod gio_headers.mod gio_params.mod

LIB_F_OBJECTS = gildas_def.o gbl_format.o image_def.o phys_const.o	

ifeq ($(CFITSIO_PRESENT),yes)
  LIB_EXPORTS += cfitsio_parameters.mod cfitsio_interfaces.mod	\
  cfitsio_api.mod
  LIB_F_OBJECTS += cfitsio.o
endif

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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