root/rat/trunk/tests/Makefile @ 2263

Revision 2263, 1.4 KB (checked in by ucacoxh, 15 years ago)

- Added Sun's G726 coder (was 72x but now unified in 726).
- Moved dvi interface files to codec_dvi.{c,h} since adpcm does not fit

(especially now we have a real adpcm codec).

- Updated Makefile, tests/Makefile, passes test_codecs.
- Have not updated Windows project.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2CC = gcc
3DEBUG=-fbounds-checking -g
4INCLUDE = -I.. -I../../common
5CFLAGS  = -W -Wall -Wbad-function-cast -Wmissing-prototypes -Werror -g -fsigned-char  -DHAVE_PCA -DDEBUG -DFreeBSD -DSASR -DFAST -DUSE_FLOAT_MUL -DDEBUG_MEM
6LIBS = -L../../common -lm -lcommon
7
8CODEC_OBJS = ../codec.o ../codec_state.o ../codec_dvi.o ../codec_gsm.o \
9             ../codec_l16.o ../codec_g711.o ../codec_lpc.o ../codec_types.o \
10             ../codec_vdvi.o ../codec_wbs.o ../cx_dvi.o ../cx_gsm.o \
11             ../cx_lpc.o     ../cx_vdvi.o   ../cx_wbs.o ../codec_g726.o \
12             ../cx_g726.o ../cx_g726_24.o ../cx_g726_32.o ../cx_g726_40.o
13
14CHANNEL_OBJS = ../cc_vanilla.o ../new_channel.o ../channel_types.o
15
16UTIL_OBJS = ../timers.o ../playout.o ../ts.o
17
183D_OBJS = test_3d.o ../render_3D.o
19
20test_3d: $(3D_OBJS) $(CODEC_OBJS)
21        $(CC) $(DEBUG)  -o $@  $(3D_OBJS) $(CODEC_OBJS) $(LIBS)
22
23native: native.o $(CODEC_OBJS)
24        $(CC) $(DEBUG)  -o $@  $(CODEC_OBJS) native.o $(LIBS)
25
26test_channel: $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) test_channel.o
27        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) \
28        $(LIBS) test_channel.o
29
30test_codecs: $(CODEC_OBJS) test_codecs.o
31        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(LIBS) test_codecs.o
32
33test_ts: $(UTIL_OBJS) test_ts.o
34        $(CC) $(DEBUG)  -o $@ $(UTIL_OBJS) $(LIBS) test_ts.o
35
36.c.o:
37        $(CC) $(INCLUDE) $(CFLAGS) -c $< -o $@
38
39clean:
40        rm -rf $(CODEC_OBJS) $(3D_OBJS) test_3d test_codecs native \
41        test_channel *.o
42
Note: See TracBrowser for help on using the browser.