* Makefile.in: Add support for compiling with Hesiod
authorTom Yu <tlyu@mit.edu>
Thu, 7 Aug 1997 00:27:44 +0000 (00:27 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 7 Aug 1997 00:27:44 +0000 (00:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10163 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/ChangeLog
src/kadmin/v4server/Makefile.in

index 1d512ba42363d59235770d18a6f8cb3427d688cd..27a5eb291e27bf94fa8ae34d1e0792453cedd2c2 100644 (file)
@@ -1,3 +1,7 @@
+Wed Aug  6 20:27:27 1997  Tom Yu  <tlyu@mit.edu>
+
+       * Makefile.in: Add support for compiling with Hesiod.
+
 Fri Jul 25 15:49:58 1997  Tom Yu  <tlyu@mit.edu>
 
        * kadm_funcs.c: Remove mention of dbm for now.  It should probably
index 6a9554ad938998ce6cfec55685386f132d1b9248..395d92ea95aa81af77ee1871e98303a0e7e9d15d 100644 (file)
@@ -1,8 +1,10 @@
 CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) \
-       -DKADM5 -DNEED_SOCKETS
+       -DKADM5 -DNEED_SOCKETS @HESIOD_DEFS@
 PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
 PROG_RPATH=$(KRB5_LIBDIR)
 
+HESIOD_LIBS=@HESIOD_LIBS@
+
 LOCALINCLUDE = $(KRB4_INCLUDES) -I. -I$(srcdir)
 
 PROG = kadmind4
@@ -16,7 +18,7 @@ kadm_err.c kadm_err.h: kadm_err.et
 $(OBJS): kadm_err.h
 
 $(PROG): $(OBJS) $(KADMCLNT_DEPLIBS) $(DB_DEPLIB) $(KRB4COMPAT_DEPLIBS)
-       $(CC_LINK) -o $(PROG) $(OBJS) $(KADMCLNT_LIBS) $(DB_LIB) $(KRB4COMPAT_LIBS)
+       $(CC_LINK) -o $(PROG) $(OBJS) $(KADMCLNT_LIBS) $(DB_LIB) $(KRB4COMPAT_LIBS) $(HESIOD_LIBS)
 
 install::
        $(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)