diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-07-08 18:04:56 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-09-04 01:31:46 -0400 |
| commit | c91cda209a1e2467bbb5fbb5a3116757d38ef374 (patch) | |
| tree | 96f17a8541bc5e637f4fc0cb90d354bcf2fb3fda /src/util/k5ev/Makefile.in | |
| parent | 6b60871d961eff2fa4c476867ae9d8cbcffb8953 (diff) | |
| download | krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.tar.gz krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.tar.xz krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.zip | |
Avoid libdl dependencies in bundled libverto
The upstream libverto depends on dynamic loading and in particular on
dladdr(), which is not universal. To avoid this dependency, stub out
support for module loading (by replacing module.c) and instead
integrate the k5ev module directly into the bundled verto library.
This change removes the need to link, include, and invoke libverto
differently depending on whether we're using the bundled library; we
can always just link with -lverto and call verto_default().
bigredbutton: whitespace
ticket: 7351 (new)
Diffstat (limited to 'src/util/k5ev/Makefile.in')
| -rw-r--r-- | src/util/k5ev/Makefile.in | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/util/k5ev/Makefile.in b/src/util/k5ev/Makefile.in deleted file mode 100644 index b80a60dfb..000000000 --- a/src/util/k5ev/Makefile.in +++ /dev/null @@ -1,52 +0,0 @@ -mydir=util$(S)k5ev -BUILDTOP=$(REL)..$(S).. -RELDIR=../util/k5ev -DEFS= - -SED = sed - -LIBBASE=verto-k5ev -LIBMAJOR=0 -LIBMINOR=0 - -LOCALINCLUDES=-I. -I$(srcdir)/../verto - -# Turn off extra warnings since we're not going to clean up libev's code. -WARN_CFLAGS= - -STLIBOBJS=verto-k5ev.o -LIBOBJS=$(OUTPRE)verto-k5ev.$(OBJEXT) -SRCS=verto-k5ev.c - -STOBJLISTS=OBJS.ST -SHLIB_EXPLIBS= $(LIBS) -lverto -lm # libm needed for ceil() currently. -SHLIB_DIRS=-L$(TOPLIBD) -SHLIB_RDIRS=$(KRB5_LIBDIR) - -VERTO_K5EV_HDR=$(BUILDTOP)$(S)include$(S)verto-k5ev.h - -all-unix:: all-liblinks includes - -install-unix:: install-libs - -clean-unix:: clean-liblinks clean-libs clean-libobjs - $(RM) $(VERTO_K5EV_HDR) - -includes:: $(VERTO_K5EV_HDR) -depend:: $(VERTO_K5EV_HDR) - -$(VERTO_K5EV_HDR): $(srcdir)/verto-k5ev.h - $(RM) $@ - $(CP) $(srcdir)/verto-k5ev.h $@ - -rename.h: $(srcdir)/Symbols.ev - $(RM) $@ - $(SED) -e 's/.*/#define & k5&/' < $(srcdir)/Symbols.ev > $@ - -clean:: - $(RM) rename.h - -depend:: rename.h - -@lib_frag@ -@libobj_frag@ |
