1 | /* |
---|
2 | * Imakefile for nanny |
---|
3 | * Copyright (c) 1991, Massachusetts Institute of Technology |
---|
4 | * |
---|
5 | * $Id: Imakefile,v 1.13 1999-01-22 23:16:15 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 | DEFINES = -I$(AFSDIR)/include |
---|
36 | |
---|
37 | LIBS = -lal -L. -lnanny -lcom_err -lhesiod |
---|
38 | |
---|
39 | AFSLIBS = -L$(AFSDIR)/lib -L$(AFSDIR)/lib/afs -lauth -lsys -lrx \ |
---|
40 | -lsys -llwp |
---|
41 | |
---|
42 | AnsiCC() |
---|
43 | |
---|
44 | create_dir(${ATHRETCDIR}/login) |
---|
45 | |
---|
46 | build_library(nanny, ${LIBOBJS}) |
---|
47 | build_program(testtty, testtty.o,, ${LIBS}) |
---|
48 | build_program(testsetUser, testsetUser.o,, ${LIBS}) |
---|
49 | build_program(testloginUser, testloginUser.o,, ${LIBS}) |
---|
50 | build_program(testlogoutUser, testlogoutUser.o,, ${LIBS}) |
---|
51 | |
---|
52 | SimpleProgram(${NANNY},${NANNYOBJS},${LIBS} ${AFSLIBS},${ATHRETCDIR}/${NANNY}) |
---|
53 | SimpleProgram(${ELMER},${ELMEROBJS},${LIBS} ${AFSLIBS},${ATHRETCDIR}/login/${ELMER}) |
---|
54 | install_man(${NANNY}.8,${NANNY}.8) |
---|
55 | install_man(${ELMER}.8,${ELMER}.8) |
---|
56 | |
---|
57 | create_depend(${CFILES}) |
---|