summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/Makefile
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-09-14 21:53:34 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-09-14 21:53:34 +0000
commit0e57f2a299667350f0094976659b7e7f6dee3478 (patch)
treed8ede62a3ccc6a1f3f2356331b66e9053ae3a2aa /usr.sbin/afs/Makefile
parent788dcf9c3006bfae877a4297f0cb91c6e6f20b25 (diff)
Initial version of Arla, a free implementation of an AFS cache-manager.
(second try, hopefully into the correct repository this time)
Diffstat (limited to 'usr.sbin/afs/Makefile')
-rw-r--r--usr.sbin/afs/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.sbin/afs/Makefile b/usr.sbin/afs/Makefile
new file mode 100644
index 00000000000..9f372a42cfd
--- /dev/null
+++ b/usr.sbin/afs/Makefile
@@ -0,0 +1,29 @@
+# $OpenBSD: Makefile,v 1.1 1998/09/14 21:52:50 art Exp $
+
+#
+# This is hairy. libroken (originally libroken and libutil) has to be built
+# before ydr. But libroken should be a part of libarla (because libarla uses
+# libroken), but libarla needs ydr to be able to build. Yuck.
+#
+# To the future maintainer (if I get hit by a car or something): The structure
+# is like this (everything in src, except the makefiles), because we want
+# the upgrade process to be easy, without building and installing 5 different
+# libs and without making a hairy Makefile.bsd-wrapper
+#
+
+.if !make(install)
+SUBDIR += libroken
+SUBDIR += ydr
+SUBDIR += libarla
+.endif
+SUBDIR += afsd fs vos pts
+
+## To be able to make depend in libarla we have to have ydr (that needs
+## libroken) and libroken used by gensysname in (libarla/Makefile.ko.inc)
+
+beforedepend:
+ (cd libroken && make depend && make)
+ (cd ydr && make depend && make)
+
+.include <bsd.dep.mk>
+.include <bsd.subdir.mk>