root/rat/trunk/Makefile.in @ 1942

Revision 1942, 1.8 KB (checked in by ucacoxh, 16 years ago)

- Incremental steps towards sound file handling. Can now select file
in UI and open it for playback or recording. Record may work - I've
replaced bits of the old code that hung over from 3.0 but yet tested.
Waiting until pause, stop, play, etc implemented first.

  • 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 = timers.o codec.o convert.o repair.o codec_lpc.o codec_adpcm.o codec_wbs.o codec_g711.o codec_gsm.o \
9       channel.o cc_red.o cc_intl.o rtcp_db.o rtcp_pckt.o qfDES.o receive.o transmit.o audio.o cushion.o  \
10       session.o util.o interfaces.o statistics.o mix.o parameters.o ui_audiotool.o ui_transcoder.o       \
11       tcltk.o rtcp.o net.o ui.o transcoder.o crypt.o crypt_random.o md5.o mbus.o mbus_ui.o mbus_engine.o \
12       sndfile.o main.o __AUDIO__
13
14rat: $(OBJS)
15        $(CC) $(OBJS) __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o rat
16
17%.o: %.c session.h config_unix.h config_win32.h
18        $(CC) $(CFLAGS) -c $*.c
19
20init_session.o:         version.h
21rtcp.o:                 version.h
22tcltk.o:                version.h
23tcltk.o:                xbm/ucl.xbm
24tcltk.o:                xbm/mic.xbm
25tcltk.o:                xbm/speaker.xbm
26tcltk.o:                xbm/head.xbm
27tcltk.o:                xbm/line_out.xbm
28tcltk.o:                xbm/line_in.xbm
29tcltk.o:                xbm/rat_med.xbm
30tcltk.o:                xbm/rat_small.xbm
31
32tcl2c/tcl2c: tcl2c/tcl2c.c
33        $(CC) -o tcl2c/tcl2c tcl2c/tcl2c.c
34
35ui_audiotool.o: ui_audiotool.tcl asfilebox.tcl tcl2c/tcl2c
36        cat asfilebox.tcl ui_audiotool.tcl | tcl2c/tcl2c ui_audiotool > ui_audiotool.c
37        $(CC) $(CFLAGS) -c ui_audiotool.c -o ui_audiotool.o
38
39ui_transcoder.o: ui_transcoder.tcl tcl2c/tcl2c
40        cat ui_transcoder.tcl | tcl2c/tcl2c ui_transcoder > ui_transcoder.c
41        $(CC) $(CFLAGS) -c ui_transcoder.c -o ui_transcoder.o
42
43clean:
44        -rm -f $(OBJS) tcl_libs.c ui_audiotool.c ui_transcoder.c version.h Makefile tcl2c/tcl2c rat
45
46etags:
47        etags *.[ch]
48
49ctags:
50        ctags *.[ch]
51
52release:
53        cvs tag release-`cat VERSION | sed "s/\./-/g"`
54
Note: See TracBrowser for help on using the browser.