--- /dev/null
+# $Header$
+
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Intermediate level imakefile for appl directory.
+
+#define have_subdirs
+SUBDIRS=blanche mailmaint moira mrcheck passwd userreg
+CODE=Imakefile
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for blanche.
+#
+
+SRCS=blanche.c
+SRCDIR=${SRCTOP}/clients/blanche
+CODE=${SRCS} Imakefile
+OBJS=blanche.o
+
+program(blanche,${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for blanche.
+#
+
+SRCS=mailmaint.c
+SRCDIR=${SRCTOP}/clients/mailmaint
+CODE=${SRCS} Imakefile
+OBJS=mailmaint.o
+
+program(mailmaint,${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for moira client.
+#
+
+MSRCS= utils.c attach.c cluster.c delete.c globals.c lists.c main.c \
+ menu.c menus.c nfs.c pobox.c quota.c user.c dcmmaint.c printer.c \
+ misc.c zephyr.c
+SRCS= ${MSRCS} namespace.c
+SRCDIR=${SRCTOP}/clients/moira
+CODE=${SRCS} Imakefile defs.h f_defs.h globals.h menu.h
+MOBJS= attach.o cluster.o delete.o globals.o lists.o main.o menu.o \
+ menus.o nfs.o pobox.o quota.o user.o utils.o dcmmaint.o printer.o \
+ misc.o zephyr.o
+NOBJS= namespace.o globals.o lists.o menu.o \
+ pobox.o user.o utils.o misc.o
+OBJS= ${MOBJS} ${NOBJS}
+
+program(moira, ${MOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
+program(namespace, ${NOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for mrcheck.
+#
+
+SRCS=mrcheck.c
+SRCDIR=${SRCTOP}/clients/mrcheck
+CODE=${SRCS} Imakefile
+OBJS=mrcheck.o
+
+program(mrcheck,${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for mrtest.
+#
+
+SRCS= test.c
+SRCDIR=${SRCTOP}/mrtest
+CODE=${SRCS} Imakefile test_cmds.ct
+OBJS= test.o test_cmds.o
+
+mk_cmds(test_cmds)
+program(mrtest, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for passwd utilities.
+#
+
+SRCS=chfn.c chpobox.c chsh.c
+SRCDIR=${SRCTOP}/clients/passwd
+CODE=${SRCS} Imakefile
+OBJS=chfn.o chpobox.o chsh.o
+
+program(chfn, chfn.o,${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
+program(chpobox, chpobox.o,${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
+program(chsh, chsh.o,${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for userreg.
+#
+
+SRCS= disable.c display.c reg_stubs.c userreg.c
+SRCDIR=${SRCTOP}/clients/userreg
+TEXT= welcome network_down username_blurb password_blurb improper_reg \
+ deleted_acct not_allowed
+CODE=${SRCS} ${TEXT} Imakefile files.h userreg.h
+OBJS= userreg.o display.o reg_stubs.o disable.o
+
+program(userreg, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for GDB library.
+#
+
+SRCS = gdb_struct.c gdb_stype.c gdb.c gdb_trans.c gdb_trans2.c \
+ gdb_conn.c gdb_serv.c gdb_fserv.c gdb_db.c gdb_debug.c gdb_ops.c
+
+OBJECTS = gdb.o gdb_struct.o gdb_stype.o gdb_trans.o gdb_trans2.o \
+ gdb_conn.o gdb_ops.o gdb_serv.o gdb_fserv.o gdb_db.o gdb_debug.o
+
+SRCDIR=$(SRCTOP)/gdb
+CODE=$(SRCS) Imakefile gdb.h gdb_lib.h dbserv.qc
+
+all::
+
+depend:: ${CODE}
+
+library_obj_rule()
+install_library_target(mrgdb,$(OBJECTS),$(SRCS),${GDB_LINTLIB})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for GDB library.
+#
+
+SRCS = mr_auth.c mr_call.c mr_connect.c mr_data.c mr_init.c \
+ mr_query.c mr_param.c mr_access.c mr_ops.c \
+ fixname.c strs.c fixhost.c nfsparttype.c sq.c hash.c \
+ idno.c critical.c
+
+OBJECTS = mr_auth.o mr_call.o mr_connect.o mr_data.o mr_init.o \
+ mr_query.o mr_param.o mr_access.o mr_ops.o \
+ fixname.o strs.o fixhost.o nfsparttype.o sq.o hash.o \
+ idno.o critical.o mr_et.o ureg_err.o krb_et.o
+
+SRCDIR=$(SRCTOP)/rpc
+CODE=$(SRCS) Imakefile mr_et.et krb_et.et ureg_err.et mr_private.h
+
+all::
+
+comp_et_depend(mr_et)
+comp_et_depend(krb_et)
+comp_et_depend(ureg_err)
+
+depend:: ${CODE}
+
+library_obj_rule()
+install_library_target(moira,$(OBJECTS),$(SRCS),${MR_LINTLIB})
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for manual pages.
+#
+
+SRCDIR=${SRCTOP}/man
+CODE=blanche.1 chfn.1 chpobox.1 chsh.1 dcmmaint.1 listmaint.1 \
+ mailmaint.1 moira.1 mrcheck.1 usermaint.1 userreg.1 \
+ moira.3 \
+ dcm.8 mrtest.8 reg_svr.8 moirad.8 startdcm.8 startreg.8 \
+ startmoira.8 update_server.8
+
+manpage(1,blanche.1)
+manpage(1,chfn.1)
+manpage(1,chpobox.1)
+manpage(1,chsh.1)
+manpage(1,dcmmaint.1)
+manpage(1,listmaint.1)
+manpage(1,mailmaint.1)
+manpage(1,moira.1)
+manpage(1,mrcheck.1)
+manpage(1,usermaint.1)
+manpage(1,userreg.1)
+manpage(3,moira.3)
+manpage(8,dcm.8)
+manpage(8,mrtest.8)
+manpage(8,reg_svr.8)
+manpage(8,moirad.8)
+manpage(8,startdcm.8)
+manpage(8,startreg.8)
+manpage(8,startmoira.8)
+manpage(8,update_server.8)
--- /dev/null
+# $Header$
+#
+# Copyright 1990 by the Massachusetts Institute of Technology.
+#
+# For copying and distribution information,
+# please see the file <mit-copyright.h>.
+#
+# Imakefile for update.
+#
+
+SRCS= auth_001.c checksum.c client.c exec_002.c get_file.c \
+ hostname.c inst_001.c log.c send_file.c smskeyu.c ticket.c \
+ update_server.c xfer_002.c
+SRCDIR=${SRCTOP}/update
+CODE=${SRCS} Imakefile
+SOBJS= update_server.o auth_001.o inst_001.o xfer_002.o exec_002.o \
+ hostname.o log.o get_file.o checksum.o
+COBJS= client.o ticket.o send_file.o checksum.o hostname.o
+
+#ifdef SVRBUILD
+all:: update_server moira_update.o
+#else
+all:: update_server
+#endif
+
+#ifdef SVRBUILD
+moira_update.o: ${COBJS}
+ ${LD} -r -o moira_update.o ${COBJS}
+#endif
+
+program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR})