#------------------------------------------------------------------------------- # Makefile for Deltares_hydro # # Irv.Elshoff@deltares.nl # Adri.Mourits@deltares.nl # Fedor.Baart@deltares.nl # 30 aug 11 # # Copyright (C) 2011, Deltares #------------------------------------------------------------------------------- include $(top_srcdir)/common.am bin_PROGRAMS = \ deltares_hydro.exe FINCLUDES += \ -I$(top_srcdir)/utils_lgpl/esmfsm/include FMODULES += \ -I$(top_srcdir)/utils_lgpl/inifiles/packages/inifiles/src FCLIBS += \ -L/opt/mpich2/lib -lmpich #------------------------------------------------------------------------------- #Sources deltares_hydro_exe_SOURCES = \ deltares_hydro_version.F90 \ deltares_hydro_ddlinux.f90 #------------------------------------------------------------------------------- #Libraries deltares_hydro_exe_LDADD = \ $(top_srcdir)/engines_gpl/flow2d3d/packages/flow2d3d/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/manager_dd/src/ddexec/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/manager_dd/src/hydra/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/manager/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/main/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/non_hydro/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/taylor/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/timedep/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/compute/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/compute_nearfar/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/compute_roller/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/compute_sediment/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel_dd_f/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel_dd_c/src/mapper/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/io/src/preprocessor/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/io/src/output/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/inichk/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/dd/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/io/src/input/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/kernel/src/general/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/io_dol_f/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/io_dol_c/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/plugin_user/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/plugin_3dmortrafrm_c/src/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/data/src/allocation/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/data/src/general/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/data/src/gdp/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/data/src/parallel_mpi/*.lo \ $(top_srcdir)/engines_gpl/flow2d3d/packages/data/src/basics/*.lo \ $(top_srcdir)/utils_lgpl/meteo/packages/meteo/src/libmeteo.a \ $(top_srcdir)/utils_lgpl/ec_module/packages/ec_module/src/libec_module.a \ $(top_srcdir)/utils_lgpl/delftio_sync/packages/delftio_sync/src/libdelftio_sync.a \ $(top_srcdir)/utils_lgpl/delftio/packages/delftio/src/diof90/libdelftio.a \ $(top_srcdir)/utils_lgpl/delftio/packages/delftio_shm/src/diof90/libdelftio_shm.a \ $(top_srcdir)/utils_lgpl/esmfsm/packages/esmfsm/src/fsm/libfsm.a \ $(top_srcdir)/utils_lgpl/esmfsm/packages/esmfsm_c/src/fsm/libfsm_c.a \ $(top_srcdir)/utils_lgpl/esmfsm/packages/esmfsm_c/src/esm/libesm_c.a \ $(top_srcdir)/utils_lgpl/inifiles/packages/inifiles/src/libinifiles.a \ $(top_srcdir)/utils_lgpl/nefis/packages/nefis/src/libnefis.a \ $(top_srcdir)/utils_lgpl/constants/packages/mathconsts/src/libmathconsts.a \ $(top_srcdir)/utils_lgpl/precision/packages/precision/src/libprecision.a \ $(top_srcdir)/utils_lgpl/semaphore/packages/semaphore/src/libsemaphore.a \ $(top_srcdir)/utils_lgpl/stream/packages/stream/src/libstream.a \ $(top_srcdir)/utils_lgpl/utils_flow/packages/utils_flow/src/libutils_flow.a \ $(top_srcdir)/utils_lgpl/utils_flow/packages/utils_flow_c/src/libutils_flow_c.a \ $(top_srcdir)/utils_lgpl/delftio_sync/packages/delftio_sync_version_number/src/libdelftio_sync_version_number.a \ $(top_srcdir)/utils_lgpl/delftio/packages/delftio_version_number/src/libdelftio_version_number.a \ $(top_srcdir)/utils_lgpl/esmfsm/packages/esmfsm_version_number/src/libesmfsm_version_number.a \ $(top_srcdir)/utils_lgpl/meteo/packages/meteo_version_number/src/libmeteo_version_number.a \ $(top_srcdir)/utils_lgpl/nefis/packages/nefis_version_number/src/libnefis_version_number.a \ $(top_srcdir)/utils_lgpl/stream/packages/stream_version_number/src/libstream_version_number.a \ $(top_srcdir)/utils_lgpl/utils_flow/packages/utils_flow_version_number/src/libutils_flow_version_number.a \ -L$(top_srcdir)/third_party_open/DelftOnline/lib -lDelftOnline -lDelftOnlineJNI -lJavaLaunch \ $(EXTERNALSOURCES) \ $(MPILIBS) \ $(FCLIBS) BUILT_SOURCES = ./always \ ./deltares_hydro_version.F90 ./always: rm -rf ./deltares_hydro_version.F90 ./deltares_hydro_version.F90: $(top_srcdir)/scripts_lgpl/linux/update_version.sh $(srcdir)/deltares_hydro_version.F90 $(srcdir) ../include/version_number.ini $(top_srcdir)