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
0721d8e1
Commit
0721d8e1
authored
3 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Treat the cmake files in a more laconical way.
parent
eb6efeec
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
+7
-29
7 additions, 29 deletions
src/Makefile.am
with
7 additions
and
29 deletions
src/Makefile.am
+
7
−
29
View file @
0721d8e1
pkgconfigdir
=
$(
libdir
)
/pkgconfig
cmakedir
=
$(
libdir
)
/cmake
include_HEADERS
=
nodist_include_HEADERS
=
...
...
@@ -7,7 +8,7 @@ noinst_LTLIBRARIES = libcdiresunpack.la
EXTRA_PROGRAMS
=
make_fint
EXTRA_DIST
=
cdilib.c
nodist_pkgconfig_DATA
=
CMAKECONFIG_FILES
=
nodist_cmake_DATA
=
if
FORTRAN_MOD_UC
mo_cdi_modfile
=
MO_CDI.
$(
FCMODEXT
)
...
...
@@ -23,7 +24,7 @@ include_HEADERS += \
julian_date.h
lib_LTLIBRARIES
+=
libcdi.la
nodist_pkgconfig_DATA
+=
pkgconfig/cdi.pc
CMAKECONFIG_FILES
+=
\
nodist_cmake_DATA
+=
\
cmake/cdi/cdi-config-version.cmake
\
cmake/cdi/cdi-config.cmake
# add cdi.inc only if cfortran interface is required
...
...
@@ -301,11 +302,11 @@ $(mo_cdi_modfile): mo_cdi.lo
$(
AM_V_at
)
test
-f
$@
||
rm
-f
$<
$(
AM_V_at
)
test
-f
$@
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
$<
cmake/cdi/cdi-config.cmake
:
cmake/cdi/cdi-config.cmake.in
..
/config.status
(
cd
..
;
./config.status src/cmake/cdi/cdi-config.cmake
)
cmake/cdi/cdi-config.cmake
:
cmake/cdi/cdi-config.cmake.in
$(top_builddir)
/config.status
cd
$(
top_builddir
)
&&
$(
SHELL
)
./config.status
$(
subdir
)
/
$@
cmake/cdi/cdi-config-version.cmake
:
cmake/cdi/cdi-config-version.cmake.in
..
/config.status
(
cd
..
;
./config.status src/cmake/cdi/cdi-config-version.cmake
)
cmake/cdi/cdi-config-version.cmake
:
cmake/cdi/cdi-config-version.cmake.in
$(top_builddir)
/config.status
cd
$(
top_builddir
)
&&
$(
SHELL
)
./config.status
$(
subdir
)
/
$@
pkgconfig/cdi.pc
:
pkgconfig/cdi.pc.in $(top_builddir)/config.status
cd
$(
top_builddir
)
&&
$(
SHELL
)
./config.status
$(
subdir
)
/
$@
...
...
@@ -319,37 +320,14 @@ pkgconfig/cdi_f2003.pc: pkgconfig/cdi_f2003.pc.in ../config.status
cdilib.c
:
(
cd
$(
top_srcdir
)
/src
;
./make_cdilib
)
all-local
:
$(CMAKECONFIG_FILES)
MOSTLYCLEANFILES
=
make_fint
CLEANFILES
=
if
CREATE_ISOC
CLEANFILES
+=
$(
mo_cdi_modfile
)
endif
if
ENABLE_CDI_LIB
CLEANFILES
+=
\
cmake/cdi/cdi-config-version.cmake
\
cmake/cdi/cdi-config.cmake
endif
MAINTAINERCLEANFILES
=
cdi.inc cdiFortran.c cdipio.inc cdipioFortran.c mo_cdi.f90
if
ENABLE_CDI_LIB
install-exec-local
:
$(CMAKECONFIG_FILES)
$(
mkinstalldirs
)
"
$(
DESTDIR
)$(
libdir
)
/cmake"
@
for
cmakeconfigfile
in
$(
CMAKECONFIG_FILES
)
;
do
\
echo
$(
install_sh_DATA
)
$$
cmakeconfigfile
"
$(
DESTDIR
)$(
libdir
)
/
$$
cmakeconfigfile"
;
\
$(
install_sh_DATA
)
$$
cmakeconfigfile
"
$(
DESTDIR
)$(
libdir
)
/
$$
cmakeconfigfile"
;
\
done
uninstall-local
:
@
for
cmakeconfigfile
in
$(
CMAKECONFIG_FILES
)
;
do
\
echo rm
-f
"
$(
DESTDIR
)$(
libdir
)
/
$$
cmakeconfigfile"
;
\
rm
-f
"
$(
DESTDIR
)$(
libdir
)
/
$$
cmakeconfigfile"
;
\
done
-
@rmdir
"
$(
DESTDIR
)$(
libdir
)
/cmake"
endif
install-exec-hook
:
-
@rmdir
"
$(
DESTDIR
)$(
libdir
)
"
install-data-hook
:
...
...
This diff is collapsed.
Click to expand it.
Sergey Kosukhin
@m300488
mentioned in merge request
!49 (merged)
·
1 year ago
mentioned in merge request
!49 (merged)
mentioned in merge request !49
Toggle commit list
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