summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2003-07-18 06:35:51 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2003-07-18 06:35:51 +0000
commit32012f22f1b1e5c611cfcfa0e600f6e8acac05c7 (patch)
tree12b267fc9a6b36356facbcf53e28401705559f24 /lib
parent77e7750dd0a8b730545bdc854a56c0a48bc2d4dd (diff)
Fix for builds with NOPROFILE set. PR3354, ok pval@.
Diffstat (limited to 'lib')
-rw-r--r--lib/libkrb5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libkrb5/Makefile b/lib/libkrb5/Makefile
index a421a53a652..195ab12e370 100644
--- a/lib/libkrb5/Makefile
+++ b/lib/libkrb5/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.13 2003/07/15 19:29:29 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2003/07/18 06:35:50 matthieu Exp $
+
+.include <bsd.own.mk>
KRB5DIR= ${.CURDIR}/../../kerberosV
GENDIR= ${.CURDIR}/generated
@@ -101,9 +103,11 @@ afterinstall:
ln -f $(DESTDIR)$(LIBDIR)/lib$(LIB).a \
$(DESTDIR)$(LIBDIR)/lib$$f.a ; \
done
+.if !defined(NOPROFILE)
for f in $(ALIB_LINKS); do \
ln -f $(DESTDIR)$(LIBDIR)/lib$(LIB)_p.a \
$(DESTDIR)$(LIBDIR)/lib$${f}_p.a ; \
done
+.endif
.include <bsd.lib.mk>