head     1.2;
branch   ;
access   ;
symbols  ;
locks    bin:1.2;
comment  @@;


1.2
date     91.06.13.14.35.18;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     91.06.10.13.42.49;  author bin;  state Exp;
branches ;
next     ;


desc
@init ver prov by piggy
@


1.2
log
@bob h added destdir
@
text
@# Makefile for uucheckname, permissions checking interpreter
# part of uucheck the uucp sanity checker.
#
# Set this according to where you want this installed.
BIN=../install/usr/lib/uucheck/
DESTDIR=/interim/usr/lib/uucheck/

LIBS=
OBJS=main.o uucheckname.o gethostname.o parse_args.o lookup.o interact.o copyright.o
CFLAGS=-O -I..
#
uucheckname:	$(OBJS)
	$(CC) -o $(DESTDIR)$@@ $(CFLAGS) $(OBJS) $(LIBS)
	su root chmog 511 bin bin $(DESTDIR)$@@
parse_args.o: ../parse_args.c

copyright.o: ../copyright.c

install:
	cp -d uucheckname $(BIN)
	chown bin $(BIN)/uucheckname
	chgrp bin $(BIN)/uucheckname

clean:
	rm -f $(OBJS) core
@


1.1
log
@Initial revision
@
text
@d5 2
a6 1
BIN=/mnt/bin/
d13 3
a15 1
	$(CC) -o $@@ $(CFLAGS) $(OBJS) $(LIBS)
d17 1
a17 2
install: uucheckname
	cp uucheckname $(BIN)
d19 5
@
