36 lines
742 B
Makefile
36 lines
742 B
Makefile
#
|
|
# Copyright (c) 1983 Regents of the University of California.
|
|
# All rights reserved. The Berkeley software License Agreement
|
|
# specifies the terms and conditions for redistribution.
|
|
#
|
|
# @(#)Makefile 1.1 94/10/31 SMI; from UCB 5.1 6/6/85
|
|
#
|
|
|
|
RDIST = /usr/ucb/rdist
|
|
DESTDIR=
|
|
SRCS = docmd.c expand.c gram.y lookup.c main.c server.c
|
|
SRCX = docmd.c expand.c gram.c lookup.c main.c server.c
|
|
OBJS = docmd.o expand.o gram.o lookup.o main.o server.o
|
|
LINT = lint -ps
|
|
CFLAGS= -O -DRDIST=\"${RDIST}\"
|
|
|
|
rdist: ${OBJS}
|
|
${CC} -o rdist ${OBJS}
|
|
|
|
${OBJS}: defs.h
|
|
|
|
clean:
|
|
rm -f *.o gram.c errs
|
|
|
|
install: rdist
|
|
install -s -m 4751 rdist ${DESTDIR}${RDIST}
|
|
|
|
lint: ${SRCX}
|
|
${LINT} ${SRCX}
|
|
|
|
print: ${SRCS}
|
|
lpr -p ${SRCS} defs.h
|
|
|
|
tags: ${SRCX}
|
|
ctags ${SRCX}
|