aboutsummaryrefslogtreecommitdiff
path: root/src/util/profile/Makefile.in
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1998-03-02 21:25:32 +0000
committerEzra Peisach <epeisach@mit.edu>1998-03-02 21:25:32 +0000
commit068ee28ca1f44ee70665ad501fe3e089f640fa47 (patch)
tree57d665c1ef800330e3b87fe731394c781914153b /src/util/profile/Makefile.in
parent2957a895189b053a41ccc9821ec6d1ba4266f562 (diff)
downloadkrb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.zip
krb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.tar.gz
krb5-068ee28ca1f44ee70665ad501fe3e089f640fa47.tar.bz2
* 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.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/util/profile/Makefile.in b/src/util/profile/Makefile.in
index 5b3428e..6dd0377 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 \