3 # Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (c) 1996-2003 by Internet Software Consortium
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
16 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 # Internet Systems Consortium, Inc.
20 # Redwood City, CA 94063
24 SRC = dst_support.c dst_api.c hmac_link.c md5_dgst.c base64.c prandom.c
25 OBJ = dst_support.o dst_api.o hmac_link.o md5_dgst.o base64.o prandom.o
26 HDRS = dst_internal.h md5.h md5_locl.h
28 INCLUDES = $(BINDINC) -I$(TOP)/includes
29 CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHMAC_MD5 -DMINIRES_LIB
37 ar cruv libdst.a $(OBJ)
41 $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
44 -rm -f $(OBJ) libdst.a
47 -rm -f *~ $(CATMANPAGES) $(SEDMANPAGES)
53 @for foo in $(SRC) $(MAN) $(HDRS); do \
54 if [ ! -b $$foo ]; then \
57 ln -s $(TOP)/dst/$$foo $$foo; \
59 # Dependencies (semi-automatically-generated)