summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/Makefile.in
blob: 0cab7cd5c9d2d39696993064d46141e058a2265f (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/crc32 -I$(srcdir)/des -I$(srcdir)/md4 -I$(srcdir)/md5 -I$(srcdir)/sha

##DOSBUILDTOP = ..\..
##DOSLIBNAME=crypto.lib
##DOSOBJFILE=crypto.lst
##DOSOBJFILELIST=@crypto.lst @des.lst @md4.lst @md5.lst @sha.lst @crc32.lst @os.lst
##DOSOBJFILEDEP =crypto.lst des.lst md4.lst md5.lst sha.lst crc32.lst os.lst

MAC_SUBDIRS = des sha md4 md5 crc32 os

OBJS=	cryptoconf.$(OBJEXT) \
	encrypt_data.$(OBJEXT) \
	krb5_glue.$(OBJEXT) \
	decrypt_data.$(OBJEXT) \
	des_crc.$(OBJEXT) \
	des_md5.$(OBJEXT) \
	des3_sha.$(OBJEXT) \
	des3_raw.$(OBJEXT) \
	raw_des.$(OBJEXT)

SRCS=	$(srcdir)/cryptoconf.c \
	$(srcdir)/encrypt_data.c \
	$(srcdir)/krb5_glue.c \
	$(srcdir)/decrypt_data.c \
	$(srcdir)/des_crc.c \
	$(srcdir)/des_md5.c \
	$(srcdir)/des3_sha.c \
	$(srcdir)/des3_raw.c \
	$(srcdir)/raw_des.c 

LIB=crypto
LIBMAJOR=2
LIBMINOR=0
RELDIR=crypto
STLIBOBJS=cryptoconf.o encrypt_data.o decrypt_data.o \
	des_crc.o des_md5.o des3_sha.o des3_raw.o raw_des.o krb5_glue.o

STOBJLISTS=des/OBJS.ST md4/OBJS.ST md5/OBJS.ST sha/OBJS.ST crc32/OBJS.ST \
	os/OBJS.ST OBJS.ST

# No dependencies.  Record places to find this shared object if the target
# link editor and loader support it.
DEPLIBS=
SHLIB_LIBS=
SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
SHLIB_LIBDIRS= @SHLIB_LIBDIRS@

##DOS##LIBOBJS = $(OBJS)

all-unix:: all-liblinks
install-unix:: install-libs

libcrypto.lib:
	libdir crypto.lib

clean-unix:: clean-liblinks clean-libs clean-libobjs

check-unix::

all-windows::
	cd crc32
	@echo Making in crypto\crc32
	-$(MAKE) -$(MFLAGS)
	cd ..\des
	@echo Making in crypto\des
	-$(MAKE) -$(MFLAGS)
	cd ..\md4
	@echo Making in crypto\md4
	-$(MAKE) -$(MFLAGS)
	cd ..\os
	@echo Making in crypto\os
	-$(MAKE) -$(MFLAGS)
	cd ..\md5
	@echo Making in crypto\md5
	-$(MAKE) -$(MFLAGS)
	cd ..\sha
	@echo Making in crypto\sha
	-$(MAKE) -$(MFLAGS)
	cd ..

clean-windows::
	cd crc32
	@echo Making clean in crypto\crc32
	-$(MAKE) -$(MFLAGS) clean
	cd ..\des
	@echo Making clean in crypto\des
	-$(MAKE) -$(MFLAGS) clean
	cd ..\md4
	@echo Making clean in crypto\md4
	-$(MAKE) -$(MFLAGS) clean
	cd ..\md5
	@echo Making clean in crypto\md5
	-$(MAKE) -$(MFLAGS) clean
	cd ..\sha
	@echo Making clean in crypto\sha
	-$(MAKE) -$(MFLAGS) clean
	cd ..\os
	@echo Making clean in crypto\os
	-$(MAKE) -$(MFLAGS) clean
	cd ..
	@echo Making clean locally

check-windows::
	cd crc32
	@echo Making check in crypto\crc32
	-$(MAKE) -$(MFLAGS) check
	cd ..\des
	@echo Making check in crypto\des
	-$(MAKE) -$(MFLAGS) check
	cd ..\md4
	@echo Making check in crypto\md4
	-$(MAKE) -$(MFLAGS) check
	cd ..\md5
	@echo Making check in crypto\md5
	-$(MAKE) -$(MFLAGS) check
	cd ..\sha
	@echo Making check in crypto\sha
	-$(MAKE) -$(MFLAGS) check
	cd ..\os
	@echo Making check in crypto\os
	-$(MAKE) -$(MFLAGS) check
	cd ..