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

ARCHIVE = @ARCHIVE@
ARADD = @ARADD@

SUBDIRS = @SUBDIRS@

DEFS = @DEFS@
LIBS = @LIBS@
 
CFLAGS = -g $(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