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
1eea5ee0
Commit
1eea5ee0
authored
3 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Create cdilib.c in the build directory.
parent
2f8184b5
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
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile.am
+2
-2
2 additions, 2 deletions
src/Makefile.am
src/make_cdilib
+7
-4
7 additions, 4 deletions
src/make_cdilib
with
9 additions
and
6 deletions
src/Makefile.am
+
2
−
2
View file @
1eea5ee0
...
...
@@ -327,8 +327,8 @@ pkgconfig/cdipio.pc: $(top_builddir)/config.status $(srcdir)/pkgconfig/cdipio.pc
pkgconfig/cdi_f2003.pc
:
$(top_builddir)/config.status $(srcdir)/pkgconfig/cdi_f2003.pc.in
cd
$(
top_builddir
)
&&
$(
SHELL
)
./config.status
$(
subdir
)
/
$@
cdilib.c
:
$(
AM_V_GEN
)
$(
am__cd
)
$(
top_srcdir
)
/src
&&
.
/make_cdilib
cdilib.c
:
$(libcdi_la_SOURCES) $(srcdir)/make_cdilib
$(
AM_V_GEN
)
CPP
=
'
$(
CPP
)
'
$(
srcdir
)
/make_cdilib
$(
srcdir
)
CLEANFILES
=
cdilib.c
MOSTLYCLEANFILES
=
make_fint
...
...
This diff is collapsed.
Click to expand it.
src/make_cdilib
+
7
−
4
View file @
1eea5ee0
...
...
@@ -19,8 +19,9 @@ rm -f ${PROG}
DATE
=
`
date
+%F
`
if
test
-f
../configure.ac
;
then
CDILIBVERSION
=
\"
`
sed
-n
'/^AC_INIT(/s/AC_INIT *( *[^,]*,[[ ]*\([^],]*\).*/\1/ p'
../configure.ac
`
\"
config_file
=
"
${
srcdir
}
/../configure.ac"
if
test
-f
"
$config_file
"
;
then
CDILIBVERSION
=
\"
`
sed
-n
'/^AC_INIT(/s/AC_INIT *( *[^,]*,[[ ]*\([^],]*\).*/\1/ p'
"
$config_file
"
`
\"
else
echo
"error: cannot find configure.ac"
>
&2
exit
1
...
...
@@ -193,8 +194,10 @@ until test "foo$scanlist" = "foo" ; do
if
echo
"
$fileList
"
|
grep
-q
'\<'
"
$curFile
"
'\>'
;
then
true
#Nothing to do, we have already scanned this header.
else
curFilePath
=
"
$srcdir
/
$curFile
"
if
[
"
$curFile
"
=
"config.h"
]
;
then
curFilePath
=
"
$curFile
"
;
fi
#Prepend the includes of the current header to the scanlist so that we will scan them in the order that the preprocessor would.
scanlist
=
"
$(
listIncludes
"
$curFile
"
)
<
$curFile
>
$scanlist
"
scanlist
=
"
$(
listIncludes
"
$curFile
Path
"
)
<
$curFile
>
$scanlist
"
fi
;;
esac
...
...
@@ -212,7 +215,7 @@ for file in $fileList ; do
done
cpp
-P
-DVERSION
=
"
${
CDILIBVERSION
}
"
-DCDI_H_
\
${
CPP
-
cpp
}
-P
-DVERSION
=
"
${
CDILIBVERSION
}
"
-DCDI_H_
\
$srcdir
/version.c
>>
${
PROG
}
# Fortran interface (with -DHAVE_CF_INTERFACE)
...
...
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