diff options
author | Sam Hartman <hartmans@mit.edu> | 2011-10-05 21:30:50 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 2011-10-05 21:30:50 +0000 |
commit | c68f4f687800d66a114dd2989093fc75bf4fadd1 (patch) | |
tree | b642efbae4903a9c80bcc0d34c492b5103742002 /src/util/support/Makefile.in | |
parent | 61ccf4d6a8fa65780e8564a065d7aa4e76f5d54d (diff) | |
download | krb5-c68f4f687800d66a114dd2989093fc75bf4fadd1.tar.gz krb5-c68f4f687800d66a114dd2989093fc75bf4fadd1.tar.xz krb5-c68f4f687800d66a114dd2989093fc75bf4fadd1.zip |
Add krb5int_gettimeofday to k5sprt for platforms w/o native gettimeofday
Microsecond accuracy on _WIN32, but only one second accuracy on other,
AFAIK purely hypothetical, platforms that lack native gettimeofday.
Shamelessly cribbed from Heimdal.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25310 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/support/Makefile.in')
-rw-r--r-- | src/util/support/Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/util/support/Makefile.in b/src/util/support/Makefile.in index b3dc4fcfc..6c059c07d 100644 --- a/src/util/support/Makefile.in +++ b/src/util/support/Makefile.in @@ -23,6 +23,11 @@ LIBMINOR=1 LIBINITFUNC=krb5int_thread_support_init LIBFINIFUNC=krb5int_thread_support_fini +GETTIMEOFDAY_ST_OBJ= @GETTIMEOFDAY_ST_OBJ@ +GETTIMEOFDAY_OBJ= @GETTIMEOFDAY_OBJ@ +##DOS##GETTIMEOFDAY_ST_OBJ= gettimeofday.o +##DOS##GETTIMEOFDAY_OBJ= $(OUTPRE)gettimeofday.$(OBJEXT) + MKSTEMP_ST_OBJ= @MKSTEMP_ST_OBJ@ MKSTEMP_OBJ= @MKSTEMP_OBJ@ ##DOS##MKSTEMP_ST_OBJ= mkstemp.o @@ -69,6 +74,7 @@ STLIBOBJS= \ utf8_conv.o \ zap.o \ path.o \ + $(GETTIMEOFDAY_ST_OBJ) \ $(IPC_ST_OBJ) \ $(STRLCPY_ST_OBJ) \ $(FNMATCH_ST_OBJ) \ @@ -87,6 +93,7 @@ LIBOBJS= \ $(OUTPRE)utf8_conv.$(OBJEXT) \ $(OUTPRE)zap.$(OBJEXT) \ $(OUTPRE)path.$(OBJEXT) \ + $(GETTIMEOFDAY_OBJ) \ $(IPC_OBJ) \ $(STRLCPY_OBJ) \ $(FNMATCH_OBJ) \ @@ -108,6 +115,7 @@ SRCS=\ $(srcdir)/fake-addrinfo.c \ $(srcdir)/utf8.c \ $(srcdir)/utf8_conv.c \ + $(srcdir)/gettimeofday.c \ $(srcdir)/strlcpy.c \ $(srcdir)/fnmatch.c \ $(srcdir)/printf.c \ @@ -145,7 +153,7 @@ SHLIB_EXPORT_FILE=libkrb5support.exports EXTRA_SUPPORT_SYMS= @EXTRA_SUPPORT_SYMS@ ##DOS##EXTRA_SUPPORT_SYMS= krb5int_mkstemp krb5int_strlcpy krb5int_strlcat \ -##DOS## krb5int_vasprintf krb5int_asprintf $(IPC_SYMS) +##DOS## krb5int_vasprintf krb5int_asprintf krb5int_gettimeofday $(IPC_SYMS) ##DOS##!if 0 libkrb5support.exports: $(srcdir)/libkrb5support-fixed.exports Makefile |