Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Christopher Ng
OpenLDAP
Commits
3ab4579e
Commit
3ab4579e
authored
22 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Unneeded, merged into regular mkdep script
parent
49f7399e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/mkdep.os390
+0
-43
0 additions, 43 deletions
build/mkdep.os390
with
0 additions
and
43 deletions
build/mkdep.os390
deleted
100644 → 0
+
0
−
43
View file @
49f7399e
#! /bin/sh
# $OpenLDAP$
## Copyright 2002 The OpenLDAP Foundation
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
#
# use the preprocessor, parse #line directives...
#
# The _C89_ELINES env var tells c89 to generate #line directives. It only
# generates them for files that actually contribute non-whitespace. Since
# portable.h is mostly #defines, it preprocesses to blanks, and causes no
# #line directive to be emitted for it.
#
# We work around this with the -C flag which says to preserve comments.
# With this flag, all files generate non-blank output, so all header files
# are included in the output. Because we depend on comments, every file
# must have a comment on its first line to get accurate results.
#
_C89_ELINES
=
1
export
_C89_ELINES
FLAGS
=
""
FILES
=
""
for
i
in
$*
;
do
case
$i
in
-
*
)
FLAGS
=
"
$FLAGS
$i
"
;;
*
)
FILES
=
"
$FILES
$i
"
;;
esac
done
for
i
in
$FILES
;
do
c89
-CE
$FLAGS
$i
| egrep
'^#line.*"'
|
awk
'
BEGIN {
file = "'
$i
'"
n = split(file, parts, "/")
filenm = substr(parts[n], 0, length(parts[n])-1) "o"
}
{
dep = split($3, parts, "\"")
dep = parts[2]
if (dep ~ "^\./.*") dep = substr(dep, 3, length(dep)-2)
if (deps[dep] == 0) printf "%s: %s\n", filenm, dep
deps[dep] = 1
}'
done
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