blob: 5ac870728d9d53dd57bf5be71129e03ca599395e (
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
mydir=lib$(S)krb5$(S)ccache
BUILDTOP=$(REL)..$(S)..$(S)..
SUBDIRS = # ccapi
WINSUBDIRS = ccapi
##WIN32##DEFINES = -DUSE_CCAPI -DUSE_CCAPI_V3
LOCALINCLUDES = -I$(srcdir)$(S)ccapi -I$(srcdir) -I. $(WIN_INCLUDES)
##DOS##WIN_INCLUDES = -I$(top_srcdir)\windows\lib
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=ccache
##DOS##OBJFILE=..\$(OUTPRE)$(PREFIXDIR).lst
##WIN32##MSLSA_OBJ = $(OUTPRE)cc_mslsa.$(OBJEXT)
##WIN32##MSLSA_SRC = $(srcdir)/cc_mslsa.c
##WIN32##!if 0
KCMRPC_DEPS-osx = kcmrpc.h kcmrpc_types.h
KCMRPC_OBJ-osx = kcmrpc.o
KCMRPC_DEPS-no = # empty
KCMRPC_OBJ-no = # empty
KCMRPC_DEPS = $(KCMRPC_DEPS-@OSX@)
KCMRPC_OBJ = $(KCMRPC_OBJ-@OSX@)
##WIN32##!endif
STLIBOBJS= \
ccbase.o \
cccopy.o \
cccursor.o \
ccdefault.o \
ccdefops.o \
ccmarshal.o \
ccselect.o \
ccselect_k5identity.o \
ccselect_realm.o \
cc_dir.o \
cc_retr.o \
cc_file.o \
cc_kcm.o \
cc_memory.o \
cc_keyring.o \
ccfns.o \
ser_cc.o $(KCMRPC_OBJ)
OBJS= $(OUTPRE)ccbase.$(OBJEXT) \
$(OUTPRE)cccopy.$(OBJEXT) \
$(OUTPRE)cccursor.$(OBJEXT) \
$(OUTPRE)ccdefault.$(OBJEXT) \
$(OUTPRE)ccdefops.$(OBJEXT) \
$(OUTPRE)ccmarshal.$(OBJEXT) \
$(OUTPRE)ccselect.$(OBJEXT) \
$(OUTPRE)ccselect_k5identity.$(OBJEXT) \
$(OUTPRE)ccselect_realm.$(OBJEXT) \
$(OUTPRE)cc_dir.$(OBJEXT) \
$(OUTPRE)cc_retr.$(OBJEXT) \
$(OUTPRE)cc_file.$(OBJEXT) \
$(OUTPRE)cc_kcm.$(OBJEXT) \
$(OUTPRE)cc_memory.$(OBJEXT) \
$(OUTPRE)cc_keyring.$(OBJEXT) \
$(OUTPRE)ccfns.$(OBJEXT) \
$(OUTPRE)ser_cc.$(OBJEXT) $(MSLSA_OBJ)
SRCS= $(srcdir)/ccbase.c \
$(srcdir)/cccopy.c \
$(srcdir)/cccursor.c \
$(srcdir)/ccdefault.c \
$(srcdir)/ccdefops.c \
$(srcdir)/ccmarshal.c \
$(srcdir)/ccselect.c \
$(srcdir)/ccselect_k5identity.c \
$(srcdir)/ccselect_realm.c \
$(srcdir)/cc_dir.c \
$(srcdir)/cc_retr.c \
$(srcdir)/cc_file.c \
$(srcdir)/cc_kcm.c \
$(srcdir)/cc_memory.c \
$(srcdir)/cc_keyring.c \
$(srcdir)/ccfns.c \
$(srcdir)/ser_cc.c $(MSLSA_SRC)
EXTRADEPSRCS= \
$(srcdir)/t_cc.c \
$(srcdir)/t_cccol.c \
$(srcdir)/t_cccursor.c \
$(srcdir)/t_marshal.c
##DOS##OBJS=$(OBJS) $(OUTPRE)ccfns.$(OBJEXT)
all-unix: all-libobjs
all-windows: subdirs $(OBJFILE)
##DOS##subdirs: ccapi\$(OUTPRE)file.lst
##DOS##ccapi\$(OUTPRE)file.lst:
##DOS## cd ccapi
##DOS## @echo Making in krb5\ccache\ccapi
##DOS## $(MAKE) -$(MFLAGS)
##DOS## cd ..
##DOS##$(OBJFILE): $(OBJS) ccapi\$(OUTPRE)file.lst
##DOS## $(RM) $(OBJFILE)
##WIN32## $(LIBECHO) -p $(PREFIXDIR)\ $(OUTPRE)*.obj \
##WIN32## ccapi\$(OUTPRE)*.obj > $(OBJFILE)
kcmrpc.h kcmrpc.c: kcmrpc.defs
mig -header kcmrpc.h -user kcmrpc.c -sheader /dev/null \
-server /dev/null -I$(srcdir) $(srcdir)/kcmrpc.defs
clean-unix:: clean-libobjs
clean-windows::
cd ccapi
@echo Making clean in krb5\ccache\ccapi
$(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in krb5\ccache
$(RM) $(OBJFILE)
T_CC_OBJS=t_cc.o
t_cc: $(T_CC_OBJS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o t_cc $(T_CC_OBJS) $(KRB5_BASE_LIBS)
T_CCCOL_OBJS = t_cccol.o
t_cccol: $(T_CCCOL_OBJS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $@ $(T_CCCOL_OBJS) $(KRB5_BASE_LIBS)
T_CCCURSOR_OBJS = t_cccursor.o
t_cccursor: $(T_CCCURSOR_OBJS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $@ $(T_CCCURSOR_OBJS) $(KRB5_BASE_LIBS)
T_MARSHAL_OBJS = t_marshal.o
t_marshal: $(T_MARSHAL_OBJS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $@ $(T_MARSHAL_OBJS) $(KRB5_BASE_LIBS)
check-unix: t_cc t_marshal
$(RUN_TEST) ./t_cc
$(RUN_TEST) ./t_marshal testcache
check-pytests: t_cccursor t_cccol
$(RUNPYTEST) $(srcdir)/t_cccol.py $(PYTESTFLAGS)
clean-unix::
$(RM) t_cc t_cc.o t_cccursor t_cccursor.o t_cccol t_cccol.o
$(RM) t_marshal t_marshal.o testcache kcmrpc.c kcmrpc.h
depend: $(KCMRPC_DEPS)
##WIN32##$(OUTPRE)cc_mslsa.$(OBJEXT): cc_mslsa.c $(top_srcdir)/include/k5-int.h $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS)
cc_kcm.so cc_kcm.o: $(KCMRPC_DEPS)
kcmrpc.so kcmrpc.o: kcmrpc.h kcmrpc_types.h
@libobj_frag@
|