head	1.11;
access;
symbols
	RAT_3_0_18:1.11
	RAT_3_0_14:1.11
	RAT-v3_0_13:1.11
	stable:1.11
	before_new_receive_buf:1.11
	v2_6a13:1.11
	v2_6a12:1.11
	v2_6a8:1.11
	v2_6a6:1.11
	v2_6a2:1.11
	v2_6a1:1.11
	v2_6a0:1.11
	v2_5a3:1.11
	v2_4a8:1.11
	v2_4a6:1.11
	v2_4a4:1.11
	MERCI-test:1.11
	Amancio:1.8;
locks; strict;
comment	@# @;


1.11
date	96.03.12.10.53.29;	author kouvelas;	state Exp;
branches;
next	1.10;

1.10
date	96.03.11.12.28.44;	author ucaccsp;	state Exp;
branches;
next	1.9;

1.9
date	96.03.11.10.39.59;	author ucaccsp;	state Exp;
branches;
next	1.8;

1.8
date	96.03.04.15.30.00;	author kouvelas;	state Exp;
branches;
next	1.7;

1.7
date	96.02.27.16.39.42;	author ucaccsp;	state Exp;
branches;
next	1.6;

1.6
date	96.02.27.12.40.35;	author ucaccsp;	state Exp;
branches;
next	1.5;

1.5
date	96.02.23.14.46.15;	author ucaccsp;	state Exp;
branches;
next	1.4;

1.4
date	96.02.21.13.55.20;	author ucaccsp;	state Exp;
branches;
next	1.3;

1.3
date	96.02.20.11.27.32;	author ucaccsp;	state Exp;
branches;
next	1.2;

1.2
date	96.02.19.18.09.36;	author ucaccsp;	state Exp;
branches;
next	1.1;

1.1
date	96.02.19.18.08.18;	author ucaccsp;	state Exp;
branches;
next	;


desc
@All new makefile for RAT
@


1.11
log
@Ported to tk4.1 tcl7.5
@
text
@#
#	Makefile for the RAT project. 
#	Note: This makefile uses the % metacharacter for pattern matching, 
#	      unfortunately this doesn't work with some make programs.
#	      It does work with the following: Solaris make
#	                                       GNU make
#	                                       IRIX make
#	      It does NOT work with: HP-UX v9 make
#
#	$Id: Makefile,v 1.10 1996/03/11 12:28:44 ucaccsp Exp kouvelas $
#
 
DEFS = -DREPEAT -DTSDEBUG -DDEBUG 
# -DDEBUG -DTEST -DNON_BLOCK_NET -DGSM -DDEBUG_MIX -DSTORE
# -DDEBUG_RTP

CC     = gcc
CFLAGS = -Wall -g $(INCS) $(DEFS) 
# -Wshadow -Wcast-qual -Wconversion

include Makefile.osdep

OBJDIR = objs/$(OSTYPE)_$(OSVERS)
OBJS   = $(OBJDIR)/net.o \
         $(OBJDIR)/receive.o \
         $(OBJDIR)/audio.o \
         $(OBJDIR)/transmit.o \
         $(OBJDIR)/silence.o \
         $(OBJDIR)/util.o \
         $(OBJDIR)/ui.o \
         $(OBJDIR)/bat.o \
         $(OBJDIR)/interfaces.o \
         $(OBJDIR)/statistics.o \
         $(OBJDIR)/buffer_get.o \
         $(OBJDIR)/audits.o \
         $(OBJDIR)/mix.o \
         $(OBJDIR)/rtcpq.o \
         $(OBJDIR)/codec_encoder.o \
         $(OBJDIR)/codec_decoder.o \
         $(OBJDIR)/parameters.o \
         $(OBJDIR)/rtp.o \
         $(OBJDIR)/screenmcast.o \
         $(OBJDIR)/sync.o \
         $(OBJDIR)/codec_lpc.o \
         $(OBJDIR)/codec_adpcm.o \
         $(OBJDIR)/tabmulaw.o \
         $(OBJDIR)/ui_tcl.o \
         $(OBJDIR)/ui_small_tcl.o \
         $(OBJDIR)/tcl_libs.o \
         $(OBJDIR)/sgi.o \
         $(OBJDIR)/sparc.o \
         $(OBJDIR)/hpux.o

$(OBJDIR)/%.o: %.c
	$(CC) $(CFLAGS) -c $*.c -o $(OBJDIR)/$*.o

rat-$(OSTYPE)-$(OSVERS): $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) $(LDLIBS) -o rat-$(OSTYPE)-$(OSVERS)

tcl2c:	tcl2c.c
	$(CC) -o tcl2c tcl2c.c

$(OBJDIR)/ui.o: version.h
$(OBJDIR)/bat.o: queues.h

ui_tcl.c: ui.tcl tcl2c
	cat ui.tcl | tcl2c init_ui_script > ui_tcl.c

ui_small_tcl.c: ui_small.tcl tcl2c
	cat ui_small.tcl | tcl2c init_ui_small_script > ui_small_tcl.c

tcl_libs.c:
	cat tcl/*.tcl tk/*.tcl | tcl2c TCL_LIBS > tcl_libs.c

clean:
	rm -f $(OBJDIR)/*.o
	rm -f ui_tcl.c ui_small_tcl.c tcl_libs.c
	rm -f tcl2c
	rm -f config.h Makefile.osdep

tar:	clean
	(cd ..; tar cvf rat.tar rat)

@


1.10
log
@Added a couple more warning messages
@
text
@d10 1
a10 1
#	$Id: Makefile,v 1.9 1996/03/11 10:39:59 ucaccsp Exp ucaccsp $
d18 2
a19 1
CFLAGS = -Wall -Wshadow -Wcast-qual -Wconversion -g $(INCS) $(DEFS) 
@


1.9
log
@Added -DTSDEBUG.....
@
text
@d10 1
a10 1
#	$Id: Makefile,v 1.8 1996/03/04 15:30:00 kouvelas Exp ucaccsp $
d18 1
a18 1
CFLAGS = -Wall -g $(INCS) $(DEFS) 
@


1.8
log
@changed debug to off
@
text
@d10 1
a10 1
#	$Id: Makefile,v 1.7 96/02/27 16:39:42 ucaccsp Exp Locker: kouvelas $
d13 1
a13 1
DEFS = -DREPEAT -DNDEBUG
@


1.7
log
@start of hpux port
@
text
@d10 1
a10 1
#	$Id: Makefile,v 1.6 1996/02/27 12:40:35 ucaccsp Exp ucaccsp $
d13 1
a13 1
DEFS = -DREPEAT -DDEBUG
@


1.6
log
@Added comment about problems using some versions of make.
@
text
@d10 1
a10 1
#	$Id: Makefile,v 1.5 1996/02/23 14:46:15 ucaccsp Exp ucaccsp $
a24 1
         $(OBJDIR)/sparc.o \
a36 1
         $(OBJDIR)/sgi.o \
d48 4
a51 1
         $(OBJDIR)/tcl_libs.o
@


1.5
log
@added dependancy of bat.o on queues.h
@
text
@d2 7
a8 1
#	FILE: Makefile
d10 1
a10 6
#	PROGRAM: RAT
#
#	AUTHOR: Isidor Kouvelas
#		Colin Perkins
#
#	$Id: Makefile,v 1.4 1996/02/21 13:55:20 ucaccsp Exp ucaccsp $
@


1.4
log
@Removed -DPARANOID, since it's do longer needed.
@
text
@d9 1
a9 1
#	$Id: Makefile,v 1.3 1996/02/20 11:27:32 ucaccsp Exp ucaccsp $
d12 1
a12 1
DEFS = -DREPEAT
d59 3
@


1.3
log
@Object files now go into separate subdir for each OS.
@
text
@d9 1
a9 1
#	$Id: Makefile,v 1.2 1996/02/19 18:09:36 ucaccsp Exp ucaccsp $
d13 1
a13 1
# -DDEBUG -DTEST -DNON_BLOCK_NET -DGSM -DDEBUG_MIX -DPARANOID -DSTORE
@


1.2
log
@Additions to make clean
@
text
@d9 1
a9 1
#	$Id: Makefile,v 1.1 1996/02/19 18:08:18 ucaccsp Exp ucaccsp $
d19 31
a49 4
OBJS = net.o receive.o sparc.o audio.o transmit.o silence.o util.o ui.o bat.o interfaces.o    \
       statistics.o buffer_get.o audits.o mix.o rtcpq.o sgi.o codec_encoder.o codec_decoder.o \
       parameters.o rtp.o screenmcast.o sync.o codec_lpc.o codec_adpcm.o tabmulaw.o           \
       ui_tcl.o ui_small_tcl.o tcl_libs.o
d51 2
a52 1
include Makefile.osdep
d70 3
a72 2
	rm -f *.o .*.o Makefile.bak ui_tcl.c ui_small_tcl.c tcl_libs.c
	rm -f core rat tcl2c a.out
d76 1
a76 5
	tar cvf rat.tar * .*.c

depend:	clean
	makedepend $(INCS) $(DEFS) *.c
	rm Makefile.bak
@


1.1
log
@Initial revision
@
text
@d9 1
a9 1
#	$Id: Makefile,v 1.8 1995/07/28 16:10:03 kouvelas Exp vhardman $
d44 1
@
