Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6ec51c91
Commit
6ec51c91
authored
Nov 04, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE: strip plugin DLLs when creating package
This is quite important on devices where storage space is limited...
parent
1a445678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
21 deletions
+17
-21
Makefile.am
Makefile.am
+17
-21
No files found.
Makefile.am
View file @
6ec51c91
...
@@ -890,7 +890,7 @@ endif
...
@@ -890,7 +890,7 @@ endif
find
vlc-$(VERSION)/sdk.tmp
-type
d
|
sort
-r
|
xargs
rmdir
find
vlc-$(VERSION)/sdk.tmp
-type
d
|
sort
-r
|
xargs
rmdir
rm
-Rf
vlc-$(VERSION)/sdk/bin
rm
-Rf
vlc-$(VERSION)/sdk/bin
#
strip exe and main dll
#
Strip DLLs
package-win-common-strip
:
package-win32-base-debug
package-win-common-strip
:
package-win32-base-debug
@
if
test
-e
"
$(win32_debugdir)
"
;
then
\
@
if
test
-e
"
$(win32_debugdir)
"
;
then
\
echo
"Error: please remove
$(win32_debugdir)
, it is in the way"
;
\
echo
"Error: please remove
$(win32_debugdir)
, it is in the way"
;
\
...
@@ -898,23 +898,18 @@ package-win-common-strip: package-win32-base-debug
...
@@ -898,23 +898,18 @@ package-win-common-strip: package-win32-base-debug
else
\
else
\
echo
"OK."
;
mkdir
-p
"
$(win32_debugdir)
"
;
\
echo
"OK."
;
mkdir
-p
"
$(win32_debugdir)
"
;
\
fi
fi
for
i
in
""
vlc-
$(VERSION)
/
*
$(LIBEXT)
;
\
for
i
in
""
$(win32_destdir)
/
*
$(LIBEXT)
\
do if
test
-n
"
$$
i"
;
then
\
$(win32_destdir)
/plugins/
*
$(LIBEXT)
\
$(OBJCOPY)
--only-keep-debug
"
$$
i"
"
$$
i.dbg"
;
\
;
do
\
$(OBJCOPY)
--strip-all
"
$$
i"
;
\
if
test
-n
"
$$
i"
;
then
\
$(OBJCOPY)
--add-gnu-debuglink
=
"
$$
i.dbg"
"
$$
i"
;
\
$(OBJCOPY)
--only-keep-debug
"
$$
i"
"
$$
i.dbg"
;
\
mv
"
$$
i.dbg"
"
$(win32_debugdir)
"
;
\
$(OBJCOPY)
--strip-all
"
$$
i"
;
\
fi
;
done
$(OBJCOPY)
--add-gnu-debuglink
=
"
$$
i.dbg"
"
$$
i"
;
\
mv
"
$$
i.dbg"
"
$(win32_debugdir)
"
;
\
#strip all plugins dll
fi
;
\
done
package-win32-base
:
package-win-common-strip
package-win32-base
:
package-win-common-strip
for
i
in
""
$(win32_destdir)
/plugins/
*
$(LIBEXT)
;
\
do if
test
-n
"
$$
i"
;
then
\
$(OBJCOPY)
--only-keep-debug
"
$$
i"
"
$$
i.dbg"
;
\
$(OBJCOPY)
--strip-all
"
$$
i"
;
\
$(OBJCOPY)
--add-gnu-debuglink
=
"
$$
i.dbg"
"
$$
i"
;
\
mv
"
$$
i.dbg"
"
$(win32_debugdir)
"
;
\
fi
;
done
package-win32-base-exe
:
package-win32-base
package-win32-base-exe
:
package-win32-base
# Create package
# Create package
...
@@ -980,13 +975,14 @@ package-win32-debug: package-win32-base-debug-zip package-win32-base-debug-7zip
...
@@ -980,13 +975,14 @@ package-win32-debug: package-win32-base-debug-zip package-win32-base-debug-7zip
# Clean up
# Clean up
rm
-Rf
$(win32_destdir)
rm
-Rf
$(win32_destdir)
package-wince-base
:
package-win-common
package-win-common
-strip
package-wince-base
:
package-win-common-strip
package-wince-base-zip
:
package-wince-base-zip
:
package-wince-base
# Create package
# Create package
zip
-r
vlc-$(VERSION)-wince.zip
vlc-$(VERSION)
rm
-f
--
vlc-$(VERSION)-wince.zip
zip
-r
-9
vlc-$(VERSION)-wince.zip
vlc-$(VERSION)
package-wince
:
package-wince-base
package-wince-base
-zip
package-wince
:
package-wince-base-zip
# Clean up
# Clean up
rm
-Rf
$(win32_destdir)
rm
-Rf
$(win32_destdir)
...
...
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