blob: 3df77c8b75938721328361919dee9ce2e02f9a0f (
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
|
thisconfigdir=.
myfulldir=lib/gssapi
mydir=.
BUILDTOP=$(REL)..$(S)..
LOCAL_SUBDIRS= generic krb5
##DOSLIBNAME=$(OUTPRE)gssapi.lib
##DOSOBJFILELIST=@$(OUTPRE)generic.lst @$(OUTPRE)krb5.lst
##DOSOBJFILEDEP=$(OUTPRE)generic.lst $(OUTPRE)krb5.lst
##DOS##DLL_EXP_TYPE=GSS
MAC_SUBDIRS = generic krb5
LOCALINCLUDES = -Igeneric -I$(srcdir)/generic -Ikrb5 -I$(srcdir)/krb5
STLIBOBJS=\
gss_libinit.o
OBJS=\
$(OUTPRE)gss_libinit.$(OBJEXT)
SRCS=\
$(srcdir)/gss_libinit.c
LIB=gssapi_krb5
LIBMAJOR=2
LIBMINOR=2
STOBJLISTS=OBJS.ST generic/OBJS.ST krb5/OBJS.ST
SUBDIROBJLISTS=generic/OBJS.ST krb5/OBJS.ST
SHLIB_EXPDEPS=\
$(TOPLIBD)/libkrb5$(SHLIBEXT) \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(COM_ERR_DEPLIB)
SHLIB_EXPLIBS=-lkrb5 -lk5crypto -lcom_err
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
RELDIR=gssapi
all-unix:: all-liblinks
install-unix:: install-libs
clean-unix:: clean-liblinks clean-libs clean-libobjs
clean-windows::
$(RM) gssapi.lib gssapi.bak
all-windows::
cd generic
@echo Making in gssapi\generic
$(MAKE) -$(MFLAGS)
cd ..\krb5
@echo Making in gssapi\krb5
$(MAKE) -$(MFLAGS)
# cd ..\mechglue
# @echo Making in gssapi\mechglue
# $(MAKE) -$(MFLAGS)
cd ..
clean-windows::
cd generic
@echo Making clean in gssapi\generic
$(MAKE) -$(MFLAGS) clean
cd ..\krb5
@echo Making clean in gssapi\krb5
$(MAKE) -$(MFLAGS) clean
# cd ..\mechglue
# @echo Making clean in gssapi\mechglue
# $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in gssapi
# These rules are an attempt to handle several different problems:
#
# Certain files in subdirectories must be made current by the
# recursion step before we can build files in this directory that
# depend on them. Existing but out-of-date versions must not be used.
#
# In a parallel make, nothing should be built more than once. This
# effect can be exaggerated for testing by sticking "sleep 5" into the
# rules for generating the files in subdirectories. For example, in
# between testing for a directory and creating it -- do you then get
# mkdir complaining that the directory exists? Adding the sleep
# command may also exaggerate the build-with-outdated-headers problem,
# by causing the timestamp on the newly generated header to be several
# seconds newer than object files built with its old version, even on
# fast machines where the UNIX filesystem's one-second granularity
# would mask the problem.
#
# We must not cause these files to always be considered newly updated
# when it comes time to build the object files in this directory.
# Otherwise, we wind up recompiling some files every time we run make.
# This set of rules fails the parallel make case; it can build
# gssapi-include and all-recurse at the same time, and both will
# create include/gssapi and gssapi.h.
#$(BUILDTOP)/include/gssapi/gssapi.h: generic/gssapi.h
# (cd generic && $(MAKE) gssapi-include)
#generic/gssapi.h: generic/gssapi.hin
# (cd generic && $(MAKE) gssapi.h)
#generic/gssapi_err_generic.h: generic/gssapi_err_generic.et
# (cd generic && $(MAKE) gssapi_err_generic.h)
#krb5/gssapi_err_krb5.h: krb5/gssapi_err_krb5.et
# (cd krb5 && $(MAKE) gssapi_err_krb5.h)
# This version, without the no-op command to run, reportedly caused
# repeated rebuilds in certain cases. With the no-op command, it
# appears to be properly serializing the subdir processing and local
# compiles... so far.
$(BUILDTOP)/include/gssapi/gssapi.h generic/gssapi.h krb5/gssapi_err_krb5.h generic/gssapi_err_generic.h: all-recurse
: $@ updated by recursion rule
# @lib_frag@
# @libobj_frag@
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
gss_libinit.so gss_libinit.po $(OUTPRE)gss_libinit.$(OBJEXT): gss_libinit.c generic/gssapi_err_generic.h \
$(COM_ERR_DEPS) krb5/gssapi_err_krb5.h $(srcdir)/krb5/gssapiP_krb5.h \
$(BUILDTOP)/include/krb5.h $(srcdir)/generic/gssapiP_generic.h \
$(srcdir)/generic/gssapi_generic.h $(BUILDTOP)/include/gssapi/gssapi.h \
$(SRCTOP)/include/k5-platform.h $(BUILDTOP)/include/krb5/autoconf.h \
$(srcdir)/krb5/gssapi_krb5.h gss_libinit.h generic/gssapi.h
|