port of netbsd's tr
[minix.git] / commands / telnetd / Makefile
blob6f68956469fec1ba44b8546696c885ad352d85f8
1 # Makefile for telnetd
3 # 01/30/96 Initial Release Michael Temari, <temari@ix.netcom.com>
6 CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
7 LDFLAGS=-i
8 BINDIR= /usr/bin
9 PROG= in.telnetd
10 CC = exec cc
12 OBJS= main.o telnet.o term.o pty.o wtmp.o
14 all: $(PROG)
16 $(PROG): $(OBJS)
17 $(CC) $(LDFLAGS) -o $@ $(OBJS)
18 install -S 8kw $@
20 clean:
21 rm -f $(PROG) $(OBJS)
23 install: $(BINDIR)/$(PROG)
25 $(BINDIR)/$(PROG): $(PROG)
26 install -cs -o bin $? $@
28 main.o: main.c telnetd.h
29 telnet.o: telnet.c telnetd.h telnet.h
30 term.o: term.c telnetd.h telnet.h
31 pty.o: pty.c telnetd.h
32 wtmp.o: telnetd.h