diff options
author | Ezra Peisach <epeisach@mit.edu> | 1998-03-02 21:25:32 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1998-03-02 21:25:32 +0000 |
commit | 068ee28ca1f44ee70665ad501fe3e089f640fa47 (patch) | |
tree | 57d665c1ef800330e3b87fe731394c781914153b /src/util/profile/Makefile.in | |
parent | 2957a895189b053a41ccc9821ec6d1ba4266f562 (diff) | |
download | krb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.tar.gz krb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.tar.xz krb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.zip |
* Makefile.in: Integrate in the krb5 build tree rules.
(use CC_LINK, etc).
* configure.in: Add AC_BUILD_PROGRAM for test programs.
These changes allow --enable-profiled combined with --disable-static
to function in the build tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10492 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/Makefile.in')
-rw-r--r-- | src/util/profile/Makefile.in | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/util/profile/Makefile.in b/src/util/profile/Makefile.in index 5b3428e50f..6dd0377c80 100644 --- a/src/util/profile/Makefile.in +++ b/src/util/profile/Makefile.in @@ -1,5 +1,7 @@ thisconfigdir=. BUILDTOP=$(REL)$(U)$(S)$(U) +PROG_LIBPATH=-L$(TOPLIBD) +PROG_RPATH=$(KRB5_LIBDIR) ##DOS##BUILDTOP = ..\.. ##DOS##OBJFILE=profile.lst ##DOS##LIBNAME=profile.lib @@ -28,7 +30,8 @@ SRCS = $(srcdir)/prof_tree.c \ prof_err.c \ $(srcdir)/prof_init.c -LIBS = ../et/libcom_err.$(LIBEXT) +DEPLIBS = $(COM_ERR_DEPLIB) +MLIBS = -lcom_err $(GEN_LIB) LIB=profile LIBMAJOR=1 @@ -59,11 +62,11 @@ awk-windows: if exist prof_err.h copy profile.hin+prof_err.h profile.h if exist profile.h copy profile.h $(BUILDTOP)\include\profile.h -test_parse: test_parse.$(OBJEXT) $(OBJS) $(LIBS) - $(CC) -o test_parse test_parse.$(OBJEXT) $(OBJS) $(LIBS) +test_parse: test_parse.$(OBJEXT) $(OBJS) $(DEPLIBS) + $(CC_LINK) -o test_parse test_parse.$(OBJEXT) $(OBJS) $(MLIBS) -test_profile: test_profile.$(OBJEXT) $(OBJS) $(LIBS) - $(CC) -o test_profile test_profile.$(OBJEXT) $(OBJS) $(LIBS) +test_profile: test_profile.$(OBJEXT) $(OBJS) $(DEPLIBS) + $(CC_LINK) -o test_profile test_profile.$(OBJEXT) $(OBJS) $(MLIBS) test_parse.exe: $(CC) $(CFLAGS2) -o test_parse.exe test_parse.c \ |