Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
34512bca
Commit
34512bca
authored
Mar 06, 2010
by
Måns Rullgård
Browse files
Split install-headers target and simplify rules
Originally committed as revision 22243 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fd676deb
Changes
1
Hide whitespace changes
Inline
Side-by-side
subdir.mak
View file @
34512bca
...
...
@@ -9,6 +9,7 @@ ifdef CONFIG_STATIC
all
:
$(SUBDIR)$(LIBNAME)
install-libs
:
install-lib$(NAME)-static
install-headers
:
install-lib$(NAME)-headers install-lib$(NAME)-pkgconfig
$(SUBDIR)$(LIBNAME)
:
$(OBJS)
$(RM)
$@
...
...
@@ -76,14 +77,13 @@ install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
$
$(INSTALL)
-m
644
$$
<
"
$(LIBDIR)
"
$(LIB_INSTALL_EXTRA_CMD)
install-
headers
::
install-
lib$(NAME)-headers
:
$(addprefix $(SUBDIR)
,
$(HEADERS) $(BUILT_HEADERS))
mkdir
-p
"
$(INCINSTDIR)
"
$
$(INSTALL)
-m
644
$$
^
"
$(INCINSTDIR)
"
install-lib$(NAME)-pkgconfig
:
$(SUBDIR)lib$(NAME).pc
mkdir
-p
"
$(LIBDIR)
/pkgconfig"
$
$(INSTALL)
-m
644
$(
addprefix
"
$(SRC_DIR)
"
/,
$(HEADERS)
)
"
$(INCINSTDIR)
"
ifdef
BUILT_HEADERS
$
$(INSTALL)
-m
644
$(
addprefix
$(SUBDIR)
,
$(BUILT_HEADERS)
)
"
$(INCINSTDIR)
"
endif
$
$(INSTALL)
-m
644
$(BUILD_ROOT)
/lib
$(NAME)
/lib
$(NAME)
.pc
"
$(LIBDIR)
/pkgconfig"
$
$(INSTALL)
-m
644
$$
^
"
$(LIBDIR)
/pkgconfig"
uninstall-libs
::
-
$(RM)
"
$(SHLIBDIR)
/
$(SLIBNAME_WITH_MAJOR)
"
\
...
...
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