summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-03-25 23:06:44 +0000
committerKen Raeburn <raeburn@mit.edu>2007-03-25 23:06:44 +0000
commitca1d488832cf590658ffa0f9d3711924121793fa (patch)
tree1e00d85c9e9961923edf4322e7d1dad70c5155be /src
parent5ffac99a46f912d29bdebafe6443f0649354f398 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/util/profile/Makefile.in6
1 files changed, 3 insertions, 3 deletions
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 \