split tftpd out to etc source directory
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 12 May 1983 13:04:27 +0000 (05:04 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 12 May 1983 13:04:27 +0000 (05:04 -0800)
SCCS-vsn: usr.bin/tftp/Makefile 4.4
SCCS-vsn: usr.bin/tftp/tftp.c 4.5

usr/src/usr.bin/tftp/Makefile
usr/src/usr.bin/tftp/tftp.c

index c78776a..b4e32bd 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile %G%
 # Makefile %G%
-ALL=   tftp tftpd
+ALL=   tftp
 DESTDIR=
 CFLAGS=-O
 
 DESTDIR=
 CFLAGS=-O
 
@@ -8,12 +8,8 @@ all: ${ALL}
 tftp:  main.o tftp.o
        ${CC} main.o tftp.o -o tftp -ljobs
 
 tftp:  main.o tftp.o
        ${CC} main.o tftp.o -o tftp -ljobs
 
-tftpd: tftpd.o
-       ${CC} tftpd.o -o tftpd -ljobs
-
 clean:
        rm -f ${ALL} *.o *.s errs core a.out t.?
 
 clean:
        rm -f ${ALL} *.o *.s errs core a.out t.?
 
-install: tftp tftpd
+install: 
        install -s tftp ${DESTDIR}/usr/ucb
        install -s tftp ${DESTDIR}/usr/ucb
-       install -s tftpd ${DESTDIR}/etc
index ca67c0a..0131822 100644 (file)
@@ -1,4 +1,4 @@
-/*     tftp.c  4.4     82/11/15        */
+/*     tftp.c  4.5     83/05/11        */
 
 /*
  * TFTP User Program -- Protocol Machines
 
 /*
  * TFTP User Program -- Protocol Machines
@@ -8,13 +8,13 @@
 
 #include <netinet/in.h>
 
 
 #include <netinet/in.h>
 
+#include <arpa/tftp.h>
+
 #include <signal.h>
 #include <stdio.h>
 #include <errno.h>
 #include <setjmp.h>
 
 #include <signal.h>
 #include <stdio.h>
 #include <errno.h>
 #include <setjmp.h>
 
-#include "tftp.h"
-
 extern int errno;
 extern struct sockaddr_in sin;
 extern char mode[];
 extern int errno;
 extern struct sockaddr_in sin;
 extern char mode[];