aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/Makefile.nmake
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-30 15:42:14 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-30 15:42:14 +0000
commitd1e4422a4abc3667351286b13a4224fda65ba26b (patch)
tree7e930d553c4e4179e4936dbfb37fbec76991f456 /codecs/Makefile.nmake
parent021efe411cab62e2757c04d6a84e459ede7ef35d (diff)
Add G.722, G.726 and SBC codecs. G.722 and G.726 are from bug 5619 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5619) and SBC is from bug 7893 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7893).
Codecs are added, but (intentionally) not hooked to the RTP player as a "more generic architecture" is desired. There are some discussions in bug 7893 on how to do this. One thing to add would be how to handle codecs that may not be supported on all platforms. Should the codec not be "registered" at all (with a #define over the whole module) or should it's register functions be stubbed (with a #define in each function that requires a non-supported library) svn path=/trunk/; revision=53676
Diffstat (limited to 'codecs/Makefile.nmake')
-rw-r--r--codecs/Makefile.nmake19
1 files changed, 17 insertions, 2 deletions
diff --git a/codecs/Makefile.nmake b/codecs/Makefile.nmake
index 65158720cc..f335a48e5c 100644
--- a/codecs/Makefile.nmake
+++ b/codecs/Makefile.nmake
@@ -15,7 +15,10 @@ CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
CODEC_OBJECTS= \
G711udecode.obj \
- G711adecode.obj
+ G711adecode.obj \
+ G722decode.obj \
+ G726decode.obj \
+ SBC.obj
codecs.lib : $(CODEC_OBJECTS)
@@ -28,6 +31,15 @@ G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h
G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h
$(CC) $(CFLAGS) -Fd.\ -c G711u\G711udecode.c /Fo%|fF.obj
+G722decode.obj: G722\G722decode.c G722\G722decode.h
+ $(CC) $(CFLAGS) -Fd.\ -c G722\G722decode.c /Fo%|fF.obj
+
+G726decode.obj: G726\G726decode.c G726\G726decode.h
+ $(CC) $(CFLAGS) -Fd.\ -c G726\G726decode.c /Fo%|fF.obj
+
+SBC.obj: SBC\SBC.c SBC\SBC.h
+ $(CC) $(CFLAGS) -Fd.\ -c SBC\SBC.c /Fo%|fF.obj
+
clean:
rm -f $(CODEC_OBJECTS) codecs.lib *.pdb *.sbr
@@ -38,4 +50,7 @@ maintainer-clean: distclean
checkapi:
$(PERL) ../tools/checkAPIs.pl -g abort -g termoutput -build \
G711a/G711adecode.c \
- G711u/G711udecode.c
+ G711u/G711udecode.c \
+ G722/G722decode.c \
+ G726/G726decode.c \
+ SBC/SBC.c