root/rat/trunk/Makefile.in @ 2136

Revision 2136, 2.0 KB (checked in by ucacoxh, 15 years ago)

Steps towards having mono input and stereo output happening.
- Re-write of codec interface.
- Re-write of repair code. Codec specific repair in codec interfaces.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#
2# Makefile for the RAT project. This probably requires GNU make.
3#
4
5CFLAGS         = __WFLAGS__ __INCLUDE__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__ -DSASR -DFAST -DUSE_FLOAT_MUL
6CC             = __CC__
7
8OBJS = auddev.o auddev_null.o __AUDIO__ audio.o audio_fmt.o \
9       channel.o codec.o codec_state.o codec_adpcm.o codec_gsm.o \
10       codec_l16.o codec_g711.o codec_lpc.o codec_vdvi.o codec_wbs.o \
11       cx_dvi.o cx_gsm.o cx_lpc.o cx_vdvi.o cx_wbs.o \
12       convert.o crypt.o cushion.o interfaces.o main.o mbus_engine.o \
13       mbus_ui.o mix.o net.o parameters.o pckt_queue.o \
14       receive.o render_3D.o repair.o rtcp.o rtcp_db.o rtcp_pckt.o \
15       session.o sndfile.o statistics.o tcltk.o timers.o transmit.o \
16       transcoder.o ui.o ui_audiotool.o ui_transcoder.o
17
18rat: $(OBJS)
19        $(CC) $(OBJS) $(CFLAGS) __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o rat
20
21%.o: %.c session.h config_unix.h config_win32.h
22        $(CC) $(CFLAGS) -c $*.c
23
24init_session.o:         version.h
25rtcp.o:                 version.h
26tcltk.o:                version.h
27tcltk.o:                xbm/ucl.xbm
28tcltk.o:                xbm/mic.xbm
29tcltk.o:                xbm/speaker.xbm
30tcltk.o:                xbm/head.xbm
31tcltk.o:                xbm/line_out.xbm
32tcltk.o:                xbm/line_in.xbm
33tcltk.o:                xbm/rat_med.xbm
34tcltk.o:                xbm/rat_small.xbm
35
36tcl2c/tcl2c: tcl2c/tcl2c.c
37        $(CC) -o tcl2c/tcl2c tcl2c/tcl2c.c
38
39ui_audiotool.o: ui_audiotool.tcl asfilebox.tcl tcl2c/tcl2c
40        cat asfilebox.tcl ui_audiotool.tcl | tcl2c/tcl2c ui_audiotool > ui_audiotool.c
41        $(CC) $(CFLAGS) -c ui_audiotool.c -o ui_audiotool.o
42
43ui_transcoder.o: ui_transcoder.tcl tcl2c/tcl2c
44        cat ui_transcoder.tcl | tcl2c/tcl2c ui_transcoder > ui_transcoder.c
45        $(CC) $(CFLAGS) -c ui_transcoder.c -o ui_transcoder.o
46
47clean:
48        -rm -f $(OBJS) tcl_libs.c ui_audiotool.c ui_transcoder.c version.h Makefile tcl2c/tcl2c rat
49
50etags:
51        etags *.[ch]
52
53ctags:
54        ctags *.[ch]
55
56release:
57        cvs tag release-`cat VERSION | sed "s/\./-/g"`
58
59tgz: rat
60        tar cvf rat-`cat VERSION`-__OSTYPE__.tar README.* MODS COPYRIGHT rat
61        gzip -9v rat-`cat VERSION`-__OSTYPE__.tar
62
Note: See TracBrowser for help on using the browser.