date and time created 82/10/06 10:25:08 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 7 Oct 1982 02:25:08 +0000 (18:25 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 7 Oct 1982 02:25:08 +0000 (18:25 -0800)
SCCS-vsn: usr.bin/tftp/Makefile 4.1

usr/src/usr.bin/tftp/Makefile [new file with mode: 0644]

diff --git a/usr/src/usr.bin/tftp/Makefile b/usr/src/usr.bin/tftp/Makefile
new file mode 100644 (file)
index 0000000..94f43c5
--- /dev/null
@@ -0,0 +1,23 @@
+# Makefile %G%
+ALL=   tftp tftpd
+CFLAGS=-O
+
+all: ${ALL}
+
+.c.o:
+       ${CC} -S ${CFLAGS} $*.c
+       sed -f ../asm.sed $*.s | as -o $*.o
+       rm -f $*.s
+
+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.?
+
+install: tftp tftpd
+       install -s tftp /usr/ucb
+       install -s tftpd /etc