head	1.5;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2010.07.23.07.16.26;	author demon;	state Exp;
branches;
next	1.4;

1.4
date	2009.06.23.07.55.03;	author demon;	state Exp;
branches;
next	1.3;

1.3
date	2009.06.19.11.36.14;	author demon;	state Exp;
branches;
next	1.2;

1.2
date	2009.06.17.10.01.22;	author demon;	state Exp;
branches;
next	1.1;

1.1
date	2008.06.05.01.53.43;	author wxs;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to version 3.3.1.
@
text
@--- makefile.orig	2010-07-19 06:03:27.000000000 +0400
+++ makefile	2010-07-23 11:11:06.000000000 +0400
@@@@ -39,14 +39,15 @@@@ CRYPT_LIB=-lcrypto
 endif
 
 # defaults
-CC = gcc
+CC ?= gcc
 OPTIONS=-g -Wall $(ENC_OPTS)
-LDLIBS=-lc -lm $(CRYPT_LIB)
-CFLAGS=
+LDLIBS+=-lm $(CRYPT_LIB)
+CFLAGS?=
 
 # FreeBSD
 ifeq ("FreeBSD", "$(UNAME_S)")
-OPTIONS=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS)
+OPTIONS=-Wall -DHAS_GETIFADDRS $(ENC_OPTS)
+OPENSSL=/usr
 endif
 
 # OSX, aka Darwin
@


1.4
log
@Update to version 2.9.2
@
text
@d1 4
a4 4
--- makefile.orig	2009-06-23 11:49:24.000000000 +0400
+++ makefile	2009-06-23 11:50:10.000000000 +0400
@@@@ -1,10 +1,10 @@@@
 UNAME_S:=$(shell uname -s)
d9 2
a10 2
 OPTIONS=-g -Wall
-LDLIBS=-lc -lm
d12 1
a12 1
+LDLIBS+=-lc -lm
d17 6
@


1.3
log
@Downgrade to 2.8.1 while issues with 2.9.1 are being addressed.
@
text
@d1 16
a16 15
*** /dev/null	Wed Jun  4 14:07:15 2008
--- Makefile	Wed Jun  4 14:07:49 2008
***************
*** 0 ****
--- 1,10 ----
+ #
+ # Makefile for uftp client and server
+ #
+ all: uftp uftpd
+ 
+ uftp: uftp.c
+ 	${CC} ${CFLAGS} -o $@@ $< -lm
+ 
+ uftpd: uftpd.c
+ 	${CC} ${CFLAGS} -o $@@ $< -lm
@


1.2
log
@Update to 2.9.1.
@
text
@d1 15
a15 17
--- makefile.orig	2009-06-14 04:29:21.000000000 +0400
+++ makefile	2009-06-17 13:58:51.000000000 +0400
@@@@ -1,10 +1,10 @@@@
 UNAME_S:=$(shell uname -s)
 
 # defaults
-CC = gcc
-OPTIONS=-g -Wall
-LDLIBS=-lc -lm
-CFLAGS=
+CC ?= gcc
+OPTIONS=
+LDLIBS=-lm
+CFLAGS?=
 
 # Sun
 ifeq ("SunOS", "$(UNAME_S)")
@


1.1
log
@UFTP is a multicast file transfer program, utilizing a protocol
based on Starburst MFTP. It is designed to reliably and efficiently
transfer files to multiple receivers simultaneously, where either
the intended receivers can be specified beforehand, or receivers
can join the transfer when it is initiated. This is useful for
distributing large files to a large number of receivers, and is
especially useful for data distribution over a satellite link (with
two way communication), where the inherent delay makes any TCP based
communication terribly inefficient.

http://www.tcnj.edu/~bush/uftp.html

Submitted by:	gnn (private email/IRC)
Approved by:	garga (mentor)
@
text
@d1 17
a17 15
*** /dev/null	Wed Jun  4 14:07:15 2008
--- Makefile	Wed Jun  4 14:07:49 2008
***************
*** 0 ****
--- 1,10 ----
+ #
+ # Makefile for uftp client and server
+ #
+ all: uftp uftpd
+ 
+ uftp: uftp.c
+ 	${CC} ${CFLAGS} -o $@@ $< -lm
+ 
+ uftpd: uftpd.c
+ 	${CC} ${CFLAGS} -o $@@ $< -lm
@

