add offsets, new fields
[unix-history] / usr / src / usr.bin / rdist / Makefile
CommitLineData
7172eb74
DF
1#
2# Copyright (c) 1983 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6# @(#)Makefile 5.1 (Berkeley) %G%
7#
9b118173 8RDIST = /usr/ucb/rdist
be739acc 9DESTDIR=
82572cb6
RC
10SRCS = docmd.c expand.c gram.y lookup.c main.c server.c
11OBJS = docmd.o expand.o gram.o lookup.o main.o server.o
be739acc 12LINT = lint -ps
030b7771 13CFLAGS= -O -DRDIST=\"${RDIST}\"
be739acc
RC
14
15rdist: ${OBJS}
16 ${CC} -o rdist ${OBJS}
17
18${OBJS}: defs.h
19
20clean:
21 rm -f *.o gram.c errs
22
cca69c89 23install: rdist
087a6a14 24 install -s -m 4751 rdist ${DESTDIR}${RDIST}
be739acc 25
82572cb6
RC
26lint: docmd.c expand.c gram.c lookup.c main.c server.c
27 ${LINT} docmd.c expand.c gram.c lookup.c main.c server.c
be739acc
RC
28
29print: ${SRCS}
30 lpr -p ${SRCS} defs.h