blob: 05661b55d9763110d5c0ef575b3e9c5779dc89cb (
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
|
thisconfigdir=./..
BUILDTOP=$(REL)$(U)$(S)$(U)$(S)$(U)
CFLAGS = $(CCOPTS) $(DEFS) -I. -I$(srcdir)
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=generic
##DOS##OBJFILE=..\generic.lst
##WIN16##LIBNAME=..\gssapi.lib
ETSRCS= gssapi_err_generic.c
ETOBJS= gssapi_err_generic.$(OBJEXT)
ETHDRS= gssapi_err_generic.h
EHDRDIR= $(BUILDTOP)$(S)include$(S)gssapi
HDRS= $(EHDRDIR)$(S)gssapi.h \
$(EHDRDIR)$(S)gssapi_generic.h
$(EHDRDIR)$(S)gssapi.h: gssapi.h
$(CP) gssapi.h $@
$(EHDRDIR)$(S)gssapi_generic.h: $(srcdir)$(S)gssapi_generic.h
$(CP) $(srcdir)$(S)gssapi_generic.h $@
gssapi_err_generic.$(OBJEXT): gssapi_err_generic.c
gssapi_err_generic.h: gssapi_err_generic.et
gssapi_err_generic.c: gssapi_err_generic.et
gssapi.h: gssapi.hin
$(RM) $@
echo "/* This is the gssapi.h prologue. */" >> $@
echo "/* It contains some choice pieces of autoconf.h */" >> $@
grep SIZEOF $(BUILDTOP)/include/krb5/autoconf.h >> $@
grep 'HAVE_.*_H' $(BUILDTOP)/include/krb5/autoconf.h >> $@
grep 'USE_.*_H' $(BUILDTOP)/include/krb5/autoconf.h >> $@
echo "/* End of gssapi.h prologue. */" >> $@
cat $(srcdir)/gssapi.hin >> $@
#if HasHashLibrary
# UTIL_VALIDATE_SRC= $(srcdir)/util_validate.c
# UTIL_VALIDATE_OBJ= util_validate.$(OBJEXT)
#else
#UTIL_VALIDATE_SRC= $(srcdir)/utl_nohash_validate.c
#UTIL_VALIDATE_OBJ= utl_nohash_validate.$(OBJEXT)
#endif
SRCS = \
$(srcdir)/disp_com_err_status.c \
$(srcdir)/disp_major_status.c \
$(srcdir)/gssapi_generic.c \
$(srcdir)/oid_ops.c \
$(srcdir)/rel_buffer.c \
$(srcdir)/rel_oid_set.c \
$(srcdir)/util_buffer.c \
$(srcdir)/util_canonhost.c \
$(srcdir)/util_dup.c \
$(srcdir)/util_oid.c \
$(srcdir)/util_ordering.c \
$(srcdir)/util_set.c \
$(srcdir)/util_token.c \
$(srcdir)/util_validate.c \
gssapi_err_generic.c
OBJS = \
disp_com_err_status.$(OBJEXT) \
disp_major_status.$(OBJEXT) \
gssapi_generic.$(OBJEXT) \
oid_ops.$(OBJEXT) \
rel_buffer.$(OBJEXT) \
rel_oid_set.$(OBJEXT) \
util_buffer.$(OBJEXT) \
util_canonhost.$(OBJEXT) \
util_dup.$(OBJEXT) \
util_oid.$(OBJEXT) \
util_ordering.$(OBJEXT) \
util_set.$(OBJEXT) \
util_token.$(OBJEXT) \
util_validate.$(OBJEXT) \
gssapi_err_generic.$(OBJEXT)
STLIBOBJS = \
disp_com_err_status.o \
disp_major_status.o \
gssapi_generic.o \
oid_ops.o \
rel_buffer.o \
rel_oid_set.o \
util_buffer.o \
util_canonhost.o \
util_dup.o \
util_oid.o \
util_ordering.o \
util_set.o \
util_token.o \
util_validate.o \
gssapi_err_generic.o
EXPORTED_HEADERS= gssapi_generic.h
EXPORTED_BUILT_HEADERS= gssapi.h
$(OBJS): $(EXPORTED_HEADERS) $(ETHDRS)
all-unix:: includes-unix
all-unix:: $(EXPORTED_HEADERS) $(ETHDRS) $(HDRS)
all-unix:: all-libobjs
##DOS##LIBOBJS = $(OBJS)
all-windows:: win-include $(HDRS)
win-include::
if not exist $(EHDRDIR)\nul mkdir $(EHDRDIR)
unixmac: $(SRCS) $(ETHDRS)
clean-unix:: clean-libobjs
$(RM) $(ETHDRS) $(ETSRCS) $(HDRS) $(EXPORTED_BUILT_HEADERS)
clean-windows::
$(RM) $(HDRS)
if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
includes-unix::
@if test -d $(EHDRDIR); then :; else (set -x; mkdir $(EHDRDIR)) fi
# Krb5InstallHeaders($(EXPORTED_HEADERS), $(KRB5_INCDIR)/krb5)
install::
@set -x; for f in $(EXPORTED_HEADERS) ; \
do $(INSTALL_DATA) $(srcdir)/$$f \
$(DESTDIR)$(KRB5_INCDIR)/gssapi/$$f ; \
done
@set -x; for f in $(EXPORTED_BUILT_HEADERS) ; \
do $(INSTALL_DATA) $$f \
$(DESTDIR)$(KRB5_INCDIR)/gssapi/$$f ; \
done
depend:: $(ETSRCS)
|