Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
33d90770
Commit
33d90770
authored
Aug 29, 2011
by
Clément Bœsch
Committed by
Clément Bœsch
Sep 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: introduce --progs-suffix option.
parent
3dd2c8bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
Makefile
Makefile
+6
-6
configure
configure
+6
-0
No files found.
Makefile
View file @
33d90770
...
...
@@ -24,8 +24,8 @@ TOOLS = qt-faststart trasher
TOOLS-$(CONFIG_ZLIB)
+=
cws2fws
BASENAMES
=
ffmpeg avconv ffplay ffprobe ffserver
ALLPROGS
=
$
(
BASENAMES:%
=
%
$(EXESUF)
)
ALLPROGS_G
=
$
(
BASENAMES:%
=
%_g
$(EXESUF)
)
ALLPROGS
=
$
(
BASENAMES:%
=
%
$(
PROGSSUF)$(
EXESUF)
)
ALLPROGS_G
=
$
(
BASENAMES:%
=
%
$(PROGSSUF)
_g
$(EXESUF)
)
ALLMANPAGES
=
$
(
BASENAMES:%
=
%.1
)
FFLIBS-$(CONFIG_AVDEVICE)
+=
avdevice
...
...
@@ -48,9 +48,9 @@ FF_DEP_LIBS := $(DEP_LIBS)
all
:
$(PROGS)
$(PROGS)
:
%$(EXESUF): %_g$(EXESUF)
$(CP)
$<
$@
$(STRIP)
$@
$(PROGS)
:
%$(EXESUF): %
$(PROGSSUF)
_g$(EXESUF)
$(CP)
$<
$@
$(PROGSSUF)
$(STRIP)
$@
$(PROGSSUF)
$(TOOLS)
:
%$(EXESUF): %.o
$(LD)
$(LDFLAGS)
-o
$@
$<
$(ELIBS)
...
...
@@ -84,7 +84,7 @@ ffplay.o: CFLAGS += $(SDL_CFLAGS)
ffplay_g$(EXESUF)
:
FF_EXTRALIBS += $(SDL_LIBS)
ffserver_g$(EXESUF)
:
LDFLAGS += $(FFSERVERLDFLAGS)
%_g$(EXESUF)
:
%.o cmdutils.o $(FF_DEP_LIBS)
%
$(PROGSSUF)
_g$(EXESUF)
:
%.o cmdutils.o $(FF_DEP_LIBS)
$(LD)
$(LDFLAGS)
-o
$@
$<
cmdutils.o
$(FF_EXTRALIBS)
OBJDIRS
+=
tools
...
...
configure
View file @
33d90770
...
...
@@ -215,6 +215,7 @@ Advanced options (experts only):
--extra-libs=ELIBS add ELIBS [
$ELIBS
]
--extra-version=STRING version string suffix []
--build-suffix=SUFFIX library name suffix []
--progs-suffix=SUFFIX program name suffix []
--arch=ARCH select architecture [
$arch
]
--cpu=CPU select the minimum required CPU (affects
instruction selection, may crash on older CPUs)
...
...
@@ -1177,6 +1178,7 @@ CMDLINE_SET="
arch
as
build_suffix
progs_suffix
cc
cpu
cross_prefix
...
...
@@ -3170,6 +3172,9 @@ echo "ARCH $arch ($cpu)"
if
test
"
$build_suffix
"
!=
""
;
then
echo
"build suffix
$build_suffix
"
fi
if
test
"
$progs_suffix
"
!=
""
;
then
echo
"progs suffix
$progs_suffix
"
fi
if
test
"
$extra_version
"
!=
""
;
then
echo
"version string suffix
$extra_version
"
fi
...
...
@@ -3319,6 +3324,7 @@ FFSERVERLDFLAGS=$FFSERVERLDFLAGS
SHFLAGS=
$SHFLAGS
YASMFLAGS=
$YASMFLAGS
BUILDSUF=
$build_suffix
PROGSSUF=
$progs_suffix
FULLNAME=
$FULLNAME
LIBPREF=
$LIBPREF
LIBSUF=
$LIBSUF
...
...
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