Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
9ed4ccf7
Commit
9ed4ccf7
authored
5 years ago
by
Thomas Jahns
Committed by
Sergey Kosukhin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Simplify Makefile conditionals.
parent
f63952e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!34
Version 2.2.0
,
!13
Consolidation with CDI-PIO (develop)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.am
+6
-13
6 additions, 13 deletions
src/Makefile.am
with
6 additions
and
13 deletions
src/Makefile.am
+
6
−
13
View file @
9ed4ccf7
...
...
@@ -192,12 +192,13 @@ EXTRA_DIST += \
libcdi_f2003_la_SOURCES
=
mo_cdi.f90
libcdi_f2003_ladir
=
$(
includedir
)
nodist_libcdi_f2003_la_HEADERS
=
if
CREATE_ISOC
if
FORTRAN_MOD_UC
nodist_libcdi_f2003_la_HEADERS
+
=
MO_CDI.
$(
FCMODEXT
)
mo_cdi_modfile
=
MO_CDI.
$(
FCMODEXT
)
else
nodist_libcdi_f2003_la_HEADERS
+
=
mo_cdi.
$(
FCMODEXT
)
mo_cdi_modfile
=
mo_cdi.
$(
FCMODEXT
)
endif
if
CREATE_ISOC
nodist_libcdi_f2003_la_HEADERS
+=
$(
mo_cdi_modfile
)
endif
libcdi_f2003_la_LIBADD
=
libcdi.la
...
...
@@ -324,11 +325,7 @@ cdiFortran.c cdi.inc cdipioFortran.c cdipio.inc mo_cdi.f90:
}
>
&2
;
exit
1
endif
!MAINTAINER_MODE
if
FORTRAN_MOD_UC
MO_CDI.$(FCMODEXT)
:
mo_cdi.lo
else
mo_cdi.$(FCMODEXT)
:
mo_cdi.lo
endif
$(mo_cdi_modfile)
:
mo_cdi.lo
$(
AM_V_at
)
test
-f
$@
||
rm
-f
$<
$(
AM_V_at
)
test
-f
$@
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
$<
#
...
...
@@ -356,11 +353,7 @@ MOSTLYCLEANFILES = make_fint
CLEANFILES
:=
`
ls
*
~
`
#CLEANFILES += cdilib.c
if
CREATE_ISOC
if
FORTRAN_MOD_UC
CLEANFILES
+=
MO_CDI.
$(
FCMODEXT
)
else
CLEANFILES
+=
mo_cdi.
$(
FCMODEXT
)
endif
CLEANFILES
+=
$(
mo_cdi_modfile
)
endif
if
ENABLE_CDI_LIB
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment