1 | /* |
---|
2 | * Imakefile for nanny |
---|
3 | * Copyright (c) 1991, Massachusetts Institute of Technology |
---|
4 | * |
---|
5 | * $Id: Imakefile,v 1.14 1999-03-17 22:24:34 ghudson Exp $ |
---|
6 | * |
---|
7 | * Copyright 1990, 1991 by the Massachusetts Institute of Technology. |
---|
8 | * |
---|
9 | * For copying and distribution information, please see the file |
---|
10 | * <mit-copyright.h>. |
---|
11 | * |
---|
12 | */ |
---|
13 | |
---|
14 | /* |
---|
15 | *#include "mit-copyright.h" |
---|
16 | */ |
---|
17 | |
---|
18 | error_table(pc_err) |
---|
19 | |
---|
20 | NANNY = nanny |
---|
21 | |
---|
22 | ELMER = elmer |
---|
23 | |
---|
24 | LIBOBJS = pc_err.o nannylib.o pc_bsd.o cons_sysv.o \ |
---|
25 | dpy_irix.o var.o cvt.o |
---|
26 | |
---|
27 | NANNYOBJS = nanny.o |
---|
28 | |
---|
29 | ELMEROBJS = elmer.o |
---|
30 | |
---|
31 | CFILES = pc_err.c nanny.c pc_bsd.c cons_sysv.c var.c cvt.c \ |
---|
32 | dpy_irix.c nannylib.c testtty.c testsetUser.c \ |
---|
33 | testloginUser.c |
---|
34 | |
---|
35 | LIBS = -lal -L. -lnanny -lcom_err -lhesiod |
---|
36 | |
---|
37 | AFSLIBS = -L$(AFSDIR)/lib -L$(AFSDIR)/lib/afs -lauth -lsys -lrx \ |
---|
38 | -lsys -llwp |
---|
39 | |
---|
40 | AnsiCC() |
---|
41 | |
---|
42 | create_dir(${ATHRETCDIR}/login) |
---|
43 | |
---|
44 | build_library(nanny, ${LIBOBJS}) |
---|
45 | build_program(testtty, testtty.o,, ${LIBS}) |
---|
46 | build_program(testsetUser, testsetUser.o,, ${LIBS}) |
---|
47 | build_program(testloginUser, testloginUser.o,, ${LIBS}) |
---|
48 | build_program(testlogoutUser, testlogoutUser.o,, ${LIBS}) |
---|
49 | |
---|
50 | SimpleProgram(${NANNY},${NANNYOBJS},${LIBS} ${AFSLIBS},${ATHRETCDIR}/${NANNY}) |
---|
51 | SimpleProgram(${ELMER},${ELMEROBJS},${LIBS} ${AFSLIBS},${ATHRETCDIR}/login/${ELMER}) |
---|
52 | install_man(${NANNY}.8,${NANNY}.8) |
---|
53 | install_man(${ELMER}.8,${ELMER}.8) |
---|
54 | |
---|
55 | create_depend(${CFILES}) |
---|