make output line buffered if selecting only some of the entries
[unix-history] / usr / src / usr.bin / ftp / Makefile
CommitLineData
edf71f48 1#
11c5f0a3
KB
2# Copyright (c) 1988 Regents of the University of California.
3# All rights reserved.
edf71f48 4#
11c5f0a3 5# Redistribution and use in source and binary forms are permitted
b36fc510
KB
6# provided that the above copyright notice and this paragraph are
7# duplicated in all such forms and that any documentation,
8# advertising materials, and other materials related to such
9# distribution and use acknowledge that the software was developed
10# by the University of California, Berkeley. The name of the
11# University may not be used to endorse or promote products derived
12# from this software without specific prior written permission.
13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11c5f0a3 16#
8db07ef8 17# @(#)Makefile 5.10 (Berkeley) %G%
6b64c6fd 18#
6b64c6fd 19CFLAGS= -O
9b75ee7f 20LIBC= /lib/libc.a
fed258a6
KB
21SRCS= cmds.c cmdtab.c ftp.c glob.c main.c ruserpass.c domacro.c
22OBJS= cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.o
d6ba3795 23MAN= ftp.0
899cb952 24
9b75ee7f 25all: ftp
899cb952 26
d6ba3795 27ftp: ${OBJS} ${LIBC}
9b75ee7f 28 ${CC} -o $@ ${CFLAGS} ${OBJS}
899cb952 29
d6ba3795 30clean:
9b75ee7f 31 rm -f ${OBJS} core ftp
899cb952 32
d6ba3795
KB
33cleandir: clean
34 rm -f ${MAN} tags .depend
35
36depend: ${SRCS}
9b75ee7f 37 mkdep ${CFLAGS} ${SRCS}
6b64c6fd 38
d6ba3795 39install: ${MAN}
8db07ef8 40 install -s -o bin -g bin -m 755 ftp ${DESTDIR}/usr/bin
d6ba3795 41 install -c -o bin -g bin -m 444 ftp.0 ${DESTDIR}/usr/man/cat1
300a5f74 42
d6ba3795 43lint: ${SRCS}
9b75ee7f
KB
44 lint ${CFLAGS} ${SRCS}
45
d6ba3795 46tags: ${SRCS}
9b75ee7f 47 ctags ${SRCS}