summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/Makefile.in
blob: 7a541843f454af225ba202801c5941f1b6c13e23 (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
BUILDTOP=@BUILDTOP@
srcdir = @srcdir@
VPATH = @srcdir@

ARCHIVE = @ARCHIVE@
ARADD = @ARADD@

SUBDIRS = @SUBDIRS@

DEFS = @DEFS@
CCOPTS = @CCOPTS@
LIBS = @LIBS@
 
CFLAGS = $(CCOPTS) $(DEFS)
LDFLAGS = -g

RM = rm -f
CP = cp
RANLIB = @RANLIB@

SRCTOP = $(srcdir)/$(BUILDTOP)

OBJS=	cryptoconf.o
SRCS=	$(srcdir)/cryptoconf.c

all::

libcrypto.a: des/DONE md4/DONE md5/DONE crc32/DONE os/DONE $(OBJS)
	(cd des; $(ARADD) ../$@ `cat DONE`)
	(cd crc32; $(ARADD) ../$@ `cat DONE`)
	(cd md4; $(ARADD) ../$@ `cat DONE`)
	(cd md5; $(ARADD) ../$@ `cat DONE`)
	(cd os; $(ARADD) ../$@ `cat DONE`)
	$(ARADD) $@ $(OBJS)
	$(RANLIB) $@

install:: libcrypto.a
	$(RM) $(KRB5_LIBDIR)/lib/libcrypto.a
	$(CP) libcrypto.a $(KRB5_LIBDIR)/lib/libcrypto.a
	$(RANLIB) $(KRB5_LIBDIR)/lib/libcrypto.a