root/rat/trunk/Makefile.in @ 2105

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

PLEASE DO NOT UPDATE UNTIL YOU GET AN EMAIL SAYING TO DO SO...ALL PLATFORMS
SHOULD BE DONE BY THURSDAY A.M.

Major audio interface and device changes in progress. [oth]

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