root/rat/trunk/Makefile.in @ 1827

Revision 1827, 2.2 KB (checked in by ucaccsp, 16 years ago)

A couple of minor tweaks...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[1659]1#
2# Makefile for the RAT project. This probably requires GNU make.
3#
4
[1785]5CFLAGS         = __WFLAGS__ __INCLUDE__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__ -DSASR -DFAST -DUSE_FLOAT_MUL __TCLX__
[1761]6CC             = __CC__
[1659]7
[1786]8OBJS = time.o codec.o convert.o repair.o codec_lpc.o codec_adpcm.o codec_wbs.o codec_g711.o  \
[1659]9       channel.o cc_red.o cc_intl.o rtcp_db.o rtcp_pckt.o qfDES.o gsm_add.o gsm_create.o gsm_encode.o \
10       gsm_preprocess.o gsm_table.o gsm_code.o gsm_decode.o gsm_long_term.o gsm_rpe.o gsm_destroy.o   \
[1784]11       gsm_lpc.o gsm_short_term.o receive.o transmit.o audio.o cushion.o session.o util.o interfaces.o \
[1669]12       statistics.o mix.o parameters.o ui_audiotool.o ui_transcoder.o tcl_libs.o tcltk.o rtcp.o       \
13       speaker_table.o net.o ui_control.o transcoder.o crypt.o crypt_random.o md5.o mbus.o mbus_ui.o  \
[1785]14       mbus_engine.o main.o __AUDIO__ __TCLX_OBJS__
[1659]15
16rat: $(OBJS)
[1785]17        $(CC) $(OBJS) __TCLX_LIBS__ __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o rat
[1659]18
19%.o: %.c session.h
[1756]20        $(CC) $(CFLAGS) -c $*.c
[1659]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
[1796]34tcl2c/tcl2c: tcl2c/tcl2c.c
35        $(CC) -o tcl2c/tcl2c tcl2c/tcl2c.c
[1659]36
[1796]37ui_audiotool.o: ui_audiotool.tcl tcl2c/tcl2c
38        cat ui_audiotool.tcl | tcl2c/tcl2c ui_audiotool > ui_audiotool.c
[1668]39        $(CC) $(CFLAGS) -c ui_audiotool.c -o ui_audiotool.o
[1659]40
[1796]41ui_transcoder.o: ui_transcoder.tcl tcl2c/tcl2c
42        cat ui_transcoder.tcl | tcl2c/tcl2c ui_transcoder > ui_transcoder.c
[1669]43        $(CC) $(CFLAGS) -c ui_transcoder.c -o ui_transcoder.o
44
[1796]45tcl_libs.o: tcl2c/tcl2c
46        cat tcl/*.tcl tk/*.tcl | tcl2c/tcl2c TCL_LIBS > tcl_libs.c
[1659]47        $(CC) $(CFLAGS) -c tcl_libs.c -o tcl_libs.o
48
[1827]49profrep.o: tcl2c/tcl2c
50        cat profrep.tcl | tcl2c/tcl2c profrep > profrep.c
[1785]51        $(CC) $(CFLAGS) -c profrep.c -o profrep.o
52
[1659]53clean:
[1801]54        -rm -f $(OBJS) tcl_libs.c ui_audiotool.c ui_transcoder.c profrep.c version.h Makefile tcl2c/tcl2c rat
[1659]55
[1750]56etags:
[1659]57        etags *.[ch]
58
[1750]59ctags:
60        ctags *.[ch]
61
[1821]62release:
63        cvs tag release-`cat VERSION | sed "s/\./-/g"`
64
Note: See TracBrowser for help on using the browser.