Skip to content

Commit

Permalink
Fixes for autotools build (#797)
Browse files Browse the repository at this point in the history
* Add missing library files (sat_vapor_pres, diag_integral, global FMS module) to libFMS.la

* Fix a typo for checking if on cray systems in configure.ac
  • Loading branch information
rem1776 authored Aug 5, 2021
1 parent 6d6ff95 commit 45559a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ SUBDIRS = \
tracer_manager \
sat_vapor_pres \
random_numbers \
. \
libFMS \
test_fms \
${DOCS}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LT_INIT()
# is, then disable building shared libraries. Note, the user can still override
# this by using --enable-shared when running the configure script.
AS_IF([test x${CRAYPE_VERSION:+yes} = "xyes"],[
AS_IF([test x${CRAYPE_LINK_TYP} = "xstatic"],
AS_IF([test x${CRAYPE_LINK_TYPE} = "xstatic"],
[AC_DISABLE_SHARED])])


Expand Down
3 changes: 3 additions & 0 deletions libFMS/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ libFMS_la_LIBADD += $(top_builddir)/exchange/libexchange.la
libFMS_la_LIBADD += $(top_builddir)/topography/libtopography.la
libFMS_la_LIBADD += $(top_builddir)/tracer_manager/libtracer_manager.la
libFMS_la_LIBADD += $(top_builddir)/random_numbers/librandom_numbers.la
libFMS_la_LIBADD += $(top_builddir)/diag_integral/libdiag_integral.la
libFMS_la_LIBADD += $(top_builddir)/sat_vapor_pres/libsat_vapor_pres.la
libFMS_la_LIBADD += $(top_builddir)/libFMS_mod.la

# At least one source file must be included to please Automake.
libFMS_la_SOURCES = $(top_builddir)/include/file_version.h

0 comments on commit 45559a4

Please sign in to comment.