blob: cac3eb4ca4c1f6eca0857cd43004edcd166bbfdd (
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
|
CFLAGS = $(CCOPTS) $(DEFS)
##DOSBUILDTOP = ..
##DOS!include $(BUILDTOP)\config\windows.in
all-unix::
all-mac::
CLEANLIBS = libkrb5.a libkdb5.a libcrypto.a libgssapi_krb5.a libdes425.a \
libkrb425.a libkadm.a libkrb4.a libkdb4.a libcom_err.a libpty.a \
libss.a \
libkrb5.so libcrypto.so libkrb4.so libdes425.so
clean-mac:: clean-unix
clean-unix::
$(RM) $(CLEANLIBS)
clean-windows::
$(RM) libkrb5.dll libkrb5.lib libkrb5.bak libkrb5.map winsock.lib
$(RM) gssapi.dll gssapi.lib gssapi.bak gssapi.map
#
# Windows stuff to make libkrb5.dll and libkrb5.lib. Currently it
# combines crypto, krb5, kadm and the util/et directories.
#
ALIB = kadm\kadm.lib
CLIB = crypto\crypto.lib
KLIB = krb5\krb5.lib
GLIB = gssapi\gssapi.lib
ETLIB = $(BUILDTOP)\util\et\comerr.lib
PLIB = $(BUILDTOP)\util\profile\profile.lib
WLIB = .\winsock.lib
LIBS = $(ALIB) $(CLIB) $(KLIB) $(GLIB) $(ETLIB) $(PLIB) $(WLIB)
lib-windows: winsock.lib libkrb5.lib gssapi.lib
gssapi.lib:: gssapi.dll
implib /nologo gssapi.lib gssapi.dll
gssapi.dll:: $(GLIB) $(LIBS) gssapi.def
link /co /seg:400 /noe /nod /nol win_glue, gssapi.dll, gssapi.map, \
$(LIBS) ldllcew libw oldnames, gssapi.def
rc /nologo /p /k gssapi.dll
libkrb5.lib:: libkrb5.dll
implib /nologo libkrb5.lib libkrb5.dll
libkrb5.dll:: $(LIBS) libkrb5.def win_glue.obj
link /co /seg:400 /noe /nod /nol win_glue, libkrb5.dll, libkrb5.map, \
$(LIBS) ldllcew libw oldnames, libkrb5.def
rc /nologo /p /k libkrb5.dll
winsock.lib: winsock.def
implib /nologo winsock.lib winsock.def
all-windows::
@echo Making in lib\crypto
cd crypto
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in lib\kadm
cd ..\kadm
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in lib\krb5
cd ..\krb5
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in lib\gssapi
cd ..\gssapi
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in lib
cd ..
all-windows:: libkrb5.lib gssapi.lib
clean-windows::
@echo Making clean in lib\crypto
cd crypto
-$(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\kadm
cd ..\kadm
-$(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\krb5
cd ..\krb5
-$(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\gssapi
cd ..\gssapi
-$(MAKE) -$(MFLAGS) clean
@echo Making clean in lib
cd ..
|