root/rat/trunk/Makefile.in @ 2027

Revision 2027, 2.0 KB (checked in by ucacoxh, 16 years ago)

- Audio device switching enabled (seems to work :-).

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