blob: 267f3ca73090c4a2263950e43d02fea729543cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
thisconfigdir=./
BUILDTOP=$(U)$(U)$(U)
CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/../des
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=md5
##DOS##OBJFILE=..\md5.lst
##WIN16##LIBNAME=..\crypto.lib
RUN_SETUP = @KRB5_RUN_ENV@
STLIBOBJS=md5.o md5glue.o md5crypto.o
OBJS= md5.$(OBJEXT) md5glue.$(OBJEXT) md5crypto.$(OBJEXT)
SRCS= $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c
##DOS##LIBOBJS = $(OBJS)
all-unix:: all-libobjs
t_mddriver: t_mddriver.o md5.o
$(CC) $(CFLAGS) $(LDFLAGS) -o t_mddriver t_mddriver.o md5.o
t_mddriver.exe:
$(CC) $(CFLAGS2) -o t_mddriver.exe t_mddriver.c md5.c
t_cksum: t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a
$(CC) $(CFLAGS) -o t_cksum t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(LIBS)
check-unix:: t_mddriver t_cksum
$(RUN_SETUP) $(C)t_mddriver -x
$(RUN_SETUP) $(C)t_cksum "this is a test"
check-windows:: t_mddriver$(EXEEXT)
$(C)t_mddriver$(EXEEXT) -x
clean::
$(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT)
$(RM) t_cksum$(EXEEXT) t_cksum.$(OBJEXT)
clean-unix:: clean-libobjs
|