Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
libremedia
Tethys
FFmpeg
Commits
4baca069
Commit
4baca069
authored
22 years ago
by
Philip Gladstone
Browse files
Options
Downloads
Patches
Plain Diff
More changes to make things compile on more platforms
Originally committed as revision 1287 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3354b0c9
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+2
-8
2 additions, 8 deletions
Makefile
configure
+31
-3
31 additions, 3 deletions
configure
libavformat/Makefile
+1
-1
1 addition, 1 deletion
libavformat/Makefile
with
34 additions
and
12 deletions
Makefile
+
2
−
8
View file @
4baca069
...
...
@@ -7,13 +7,7 @@ include config.mak
VPATH
=
$(
SRC_PATH
)
CFLAGS
=
$(
OPTFLAGS
)
-Wall
-g
-I
.
-I
$(
SRC_PATH
)
-I
$(
SRC_PATH
)
/libavcodec
-I
$(
SRC_PATH
)
/libavformat
-D_FILE_OFFSET_BITS
=
64
-D_LARGEFILE_SOURCE
-D_GNU_SOURCE
ifeq
($(CONFIG_DARWIN),yes)
LDFLAGS
+=
-g
-d
FFSLDFLAGS
=
-Wl
,-bind_at_load
else
LDFLAGS
+=
-g
-Wl
,--warn-common
FFSLDFLAGS
=
-Wl
,-E
endif
LDFLAGS
+=
-g
ifeq
($(TARGET_GPROF),yes)
CFLAGS
+=
-p
...
...
@@ -90,7 +84,7 @@ install-vhook: $(prefix)/lib/vhook
$(
MAKE
)
-C
vhook
install
INSTDIR
=
$(
prefix
)
/lib/vhook
$(prefix)/lib/vhook
:
mkdir
$@
install
-d
$@
installlib
:
$(
MAKE
)
-C
libavcodec installlib
...
...
This diff is collapsed.
Click to expand it.
configure
+
31
−
3
View file @
4baca069
...
...
@@ -68,6 +68,9 @@ vhook="no"
mpegaudio_hp
=
"yes"
SHFLAGS
=
-shared
netserver
=
"no"
need_inet_aton
=
"no"
LDFLAGS
=
-Wl
,--warn-common
FFSLDFLAGS
=
-Wl
,-E
# OS specific
targetos
=
`
uname
-s
`
...
...
@@ -98,13 +101,23 @@ if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
extralibs
=
"-lbind -lsocket"
else
netserver
=
"yes"
need_inet_aton
=
"yes"
extralibs
=
"-lnet"
fi
;;
SunOS
)
v4l
=
"no"
audio_oss
=
"no"
make
=
"gmake"
LDFLAGS
=
""
FFSLDFLAGS
=
""
need_inet_aton
=
"yes"
extralibs
=
"
$extralibs
-lsocket -lnsl"
;;
FreeBSD
)
v4l
=
"no"
audio_oss
=
"yes"
make
=
"gmake"
LDFLAGS
=
"-export-dynamic"
LDFLAGS
=
"
$LDFLAGS
-export-dynamic"
;;
BSD/OS
)
v4l
=
"no"
...
...
@@ -116,11 +129,21 @@ Darwin)
cc
=
"cc"
v4l
=
"no"
audio_oss
=
"no"
CFLAGS
=
"-no-cpp-precomp -pipe -O3 -fomit-frame-pointer -mdynamic-no-pic"
SHFLAGS
=
"-dynamiclib"
extralibs
=
""
darwin
=
"yes"
strip
=
"strip -x"
LDFLAGS
=
"
$LDFLAGS
-d"
FFSLDFLAGS
=
-Wl
,-bind_at_load
gcc_version
=
"
$(
$cc
-v
2>&1 |
grep
version |
cut
-d
' '
-f4-
)
"
case
"
$gcc_version
"
in
*
2.95
*
)
CFLAGS
=
"-no-cpp-precomp -pipe -O3 -fomit-frame-pointer"
;;
*
)
CFLAGS
=
"-no-cpp-precomp -pipe -O3 -fomit-frame-pointer -mdynamic-no-pic"
;;
esac
;;
CYGWIN
*
)
v4l
=
"no"
...
...
@@ -133,7 +156,7 @@ echo "Missing inttypes.h, please copy cygwin_inttypes.h to" \
"/usr/include/inttypes.h !!!"
;;
Linux
)
LDFLAGS
=
-rdynamic
LDFLAGS
=
"
$LDFLAGS
-rdynamic
"
;;
*
)
;;
esac
...
...
@@ -487,6 +510,7 @@ echo "RANLIB=$ranlib" >> config.mak
echo
"STRIP=
$strip
"
>>
config.mak
echo
"OPTFLAGS=
$CFLAGS
"
>>
config.mak
echo
"LDFLAGS=
$LDFLAGS
"
>>
config.mak
echo
"FFSLDFLAGS=
$FFSLDFLAGS
"
>>
config.mak
echo
"SHFLAGS=
$SHFLAGS
"
>>
config.mak
if
test
"
$cpu
"
=
"x86"
;
then
echo
"TARGET_ARCH_X86=yes"
>>
config.mak
...
...
@@ -642,6 +666,10 @@ if test "$netserver" = "yes" ; then
echo
"CONFIG_BEOS_NETSERVER=yes"
>>
config.mak
fi
if
test
"
$need_inet_aton
"
=
"yes"
;
then
echo
"NEED_INET_ATON=yes"
>>
config.mak
fi
if
test
"
$simpleidct
"
=
"yes"
;
then
echo
"#define SIMPLE_IDCT 1"
>>
$TMPH
fi
...
...
This diff is collapsed.
Click to expand it.
libavformat/Makefile
+
1
−
1
View file @
4baca069
...
...
@@ -35,7 +35,7 @@ endif
ifeq
($(CONFIG_NETWORK),yes)
OBJS
+=
udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
# BeOS network stuff
ifeq
($(
CONFIG_BEOS_NETSERVER
),yes)
ifeq
($(
NEED_INET_ATON
),yes)
OBJS
+=
barpainet.o
endif
endif
...
...
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