From: Ken Raeburn Date: Sun, 25 Mar 2007 23:06:44 +0000 (+0000) Subject: Fix PROG_LIBPATH, and use -l instead of an explicit filename to build profile_tcl X-Git-Tag: krb5-1.7-alpha1~1239 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca1d488832cf590658ffa0f9d3711924121793fa;p=krb5.git Fix PROG_LIBPATH, and use -l instead of an explicit filename to build profile_tcl git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19263 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/profile/Makefile.in b/src/util/profile/Makefile.in index 5b82eabf2..8ef538aaf 100644 --- a/src/util/profile/Makefile.in +++ b/src/util/profile/Makefile.in @@ -2,7 +2,7 @@ thisconfigdir=../.. myfulldir=util/profile mydir=util/profile BUILDTOP=$(REL)..$(S).. -PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH) +PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH) -L. PROG_RPATH=$(KRB5_LIBDIR)$(TCL_RPATH) KRB5_RUN_ENV=@KRB5_RUN_ENV@ DEFS= @@ -120,10 +120,10 @@ prof_err.o: prof_err.c $(srcdir)/profile_tcl.c: profile.swg # (cd $(srcdir) && swig -tcl8 -o profile_tcl.c profile.swg) profile_tcl.o: $(srcdir)/profile_tcl.c profile.h -profile_tcl: profile_tcl.o libprofile.a +profile_tcl: profile_tcl.o $(PROF_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB) $(CC_LINK) -o profile_tcl profile_tcl.o \ $(TCL_MAYBE_RPATH) \ - -L../et -L../.. libprofile.a $(TCL_LIBS) $(MLIBS) + -L../et -L../.. -lprofile $(TCL_LIBS) $(MLIBS) clean-unix:: clean-libs clean-libobjs $(RM) $(PROGS) *.o *~ test_parse core prof_err.h \