root/rat/trunk/tests/Makefile @ 2275

Revision 2275, 1.6 KB (checked in by ucacoxh, 15 years ago)

- start of test framework for debugging redundancy.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2CC = gcc
3DEBUG=-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
20RDNCY_OBJS = ../cc_rdncy.o ../channel_types.o test_rdncy.o
21
22test_rdncy: $(RDNCY_OBJS) $(CODEC_OBJS) $(UTIL_OBJS)
23        $(CC) $(DEBUG) -o $@ $(RDNCY_OBJS) $(CODEC_OBJS) $(UTIL_OBJS) $(LIBS)
24
25test_3d: $(3D_OBJS) $(CODEC_OBJS)
26        $(CC) $(DEBUG)  -o $@  $(3D_OBJS) $(CODEC_OBJS) $(LIBS)
27
28native: native.o $(CODEC_OBJS)
29        $(CC) $(DEBUG)  -o $@  $(CODEC_OBJS) native.o $(LIBS)
30
31test_channel: $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) test_channel.o
32        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) \
33        $(LIBS) test_channel.o
34
35test_codecs: $(CODEC_OBJS) test_codecs.o
36        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(LIBS) test_codecs.o
37
38test_ts: $(UTIL_OBJS) test_ts.o
39        $(CC) $(DEBUG)  -o $@ $(UTIL_OBJS) $(LIBS) test_ts.o
40
41.c.o:
42        $(CC) $(INCLUDE) $(CFLAGS) -c $< -o $@
43
44clean:
45        rm -rf $(CODEC_OBJS) $(3D_OBJS) $(RDNCY_OBJS) $(UTIL_OBJS) test_3d \
46                test_codecs native test_channel *.o
47
Note: See TracBrowser for help on using the browser.