home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
x
/
xntp3.zip
/
authstuff
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-09-04
|
2KB
|
84 lines
PROGRAM= authcert authspeed md5
#
# authcert, authspeed - authentication utilities
#
COMPILER= cc
COPTS= -O
BINDIR= /usr/local
DEFS= -DSTREAM -DREFCLOCK -DNO_SIGNED_CHAR_DECL -DPPS -DPPSDEV -DUSELIBKVM -DDEBUG
COMPAT=
#
INCL= -I../include
CFLAGS= $(COPTS) $(DEFS) $(INCL)
CC= $(COMPILER)
LIB= ../lib/libntp.a
MAKE= make
#
CRTOBJS= authcert.o
SPDOBJS= authspeed.o
PAROBJS= keyparity.o
IFPOBJS= makeIPFP.o
PC1OBJS= makePC1.o
PC2OBJS= makePC2.o
SPOBJS= makeSP.o
RNDOBJS= mkrandkeys.o
OIFOBJS= omakeIPFP.o
UNXOBJS= unixcert.o
MD5OBJS= md5driver.o
SOURCE= authcert.c authspeed.c keyparity.c makeIPFP.c makePC1.c \
makePC2.c makeSP.c mkrandkeys.c omakeIPFP.c unixcert.c md5driver.c
all: $(PROGRAM)
authcert: $(CRTOBJS) $(LIB)
$(CC) $(COPTS) -o $@ $(CRTOBJS) $(LIB)
authspeed: $(SPDOBJS) $(LIB)
$(CC) $(COPTS) -o $@ $(SPDOBJS) $(LIB) $(COMPAT)
keyparity: $(PAROBJS) $(LIB)
$(CC) $(COPTS) -o $@ $(PAROBJS) $(LIB)
makeIPFP: $(IFPOBJS)
$(CC) $(COPTS) -o $@ $(IFPOBJS)
makePC1: $(PC1OBJS)
$(CC) $(COPTS) -o $@ $(PC1OBJS)
makePC2: $(PC2OBJS)
$(CC) $(COPTS) -o $@ $(PC2OBJS)
makeSP: $(SPOBJS)
$(CC) $(COPTS) -o $@ $(SPOBJS)
mkrandkeys: $(RNDOBJS) $(LIB)
$(CC) $(COPTS) -o $@ $(RNDOBJS) $(LIB)
omakeIPFP: $(OIFBJS)
$(CC) $(COPTS) -o $@ $(OIFBJS)
unixcert: $(UNXBJS)
$(CC) $(COPTS) -o $@ $(UNXBJS)
md5: $(MD5OBJS)
$(CC) $(COPTS) -o $@ $(MD5OBJS) $(LIB)
tags:
ctags *.c *.h
install:
# Don't install any of this shit
depend:
mkdep $(CFLAGS) $(SOURCE)
clean:
rm -f $(PROGRAM) *.o *.out tags make.log Makefile.bak keyparity \
makeIPFP makePC1 makePC2 makeSP mkrandkeys omakeIPFP unixcert \
lint.errs
../libc/libntp.a:
cd ../libntp ; $(MAKE) $(MFLAGS)