Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
221158d7
Commit
221158d7
authored
Jun 22, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Makefile.dep: the file that would never die.
parent
da65bd50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
73 deletions
+0
-73
Makefile.dep
Makefile.dep
+0
-73
No files found.
Makefile.dep
deleted
100644 → 0
View file @
da65bd50
################################################################################
# vlc (VideoLAN Client) dependencies makefile
# (c)1998 VideoLAN
################################################################################
# This Makefile is dedicated to build of .d files. It should not be called
# directly by user, but only through main Makefile.
################################################################################
###############################################################################
# Note on generic rules and dependencies
###############################################################################
# Note on dependencies: each .c file is associated with a .d file, which
# depends of it. The .o file associated with a .c file depends of the .d, of the
# .c itself, and of Makefile. The .d files are stored in a separate .dep/
# directory.
# The dep directory should be ignored by CVS.
# Note on inclusions: depending of the target, the dependencies files must
# or must not be included. The problem is that if we ask make to include a file,
# and this file does not exist, it is made before it can be included. In a
# general way, a .d file should be included if and only if the corresponding .o
# needs to be re-made.
# The object Makefile knows how to make a .o from a .c, and includes
# dependencies for the target, but only those required.
# All settings and options are passed through main Makefile
################################################################################
# Default target
################################################################################
default
:
@
echo
"This Makefile should not be called directly,"
@
echo
"see notes at end of main Makefile."
################################################################################
# Dependencies creation
################################################################################
# A dependencies file needs to be rebuilt if the .c changed or if one of the
# dependencies files have been changed. In other words, it depends from the
# .c and from itself.
-include
$(MAKECMDGOALS)
CFLAGS
+=
-DMAKE_DEP
$(C_DEP)
:
.dep/%.d: %.c
@
test
-d
.dep/
$(
dir
$*
)
||
mkdir
-p
$(
shell
dirname
.dep/
$*
)
@
echo
"make[
$(MAKELEVEL)
]: Generating dependencies for
\`
$*
.c'"
@
$(SHELL)
-ec
'
$(CC)
-M
$(CFLAGS)
2>/dev/null $< \
| sed '
\'
's/
$(
subst
.,\.,
$(
notdir
$*
))
\.o[ :]*/
$(
subst
/,\/,$*
)
.o \
.dep\/
$(
subst
/,\/,$*
)
.d : /g'
\'
' > $@; \
[ -s $@ ] || rm -f $@'
$(CPP_DEP)
:
.dep/%.dpp: %.cpp
@
test
-d
.dep/
$(
dir
$*
)
||
mkdir
-p
$(
shell
dirname
.dep/
$*
)
@
echo
"make[
$(MAKELEVEL)
]: Generating dependencies for
\`
$*
.cpp'"
@
$(SHELL)
-ec
'
$(CC)
-M
$(CFLAGS)
2>/dev/null $< \
| sed '
\'
's/
$(
subst
.,\.,
$(
notdir
$*
))
\.o[ :]*/
$(
subst
/,\/,$*
)
.o \
.dep\/
$(
subst
/,\/,$*
)
.dpp : /g'
\'
' > $@; \
[ -s $@ ] || rm -f $@'
$(M_DEP)
:
.dep/%.dm: %.m
@
test
-d
.dep/
$(
dir
$*
)
||
mkdir
-p
$(
shell
dirname
.dep/
$*
)
@
echo
"make[
$(MAKELEVEL)
]: Generating dependencies for
\`
$*
.m'"
@
$(SHELL)
-ec
'
$(CC)
-M
$(CFLAGS)
2>/dev/null $< \
| sed '
\'
's/
$(
subst
.,\.,
$(
notdir
$*
))
\.o[ :]*/
$(
subst
/,\/,$*
)
.o \
.dep\/
$(
subst
/,\/,$*
)
.dm : /g'
\'
' > $@; \
[ -s $@ ] || rm -f $@'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment