1 | # $Id: Imakefile,v 1.45 1999-01-22 23:16:22 ghudson Exp $ |
---|
2 | |
---|
3 | #ifdef SOLARIS |
---|
4 | MACHDEFS=-DSOLARIS_MAE |
---|
5 | MACHLIBS=-lbsd |
---|
6 | #endif |
---|
7 | |
---|
8 | #ifdef sgi |
---|
9 | /* AFS 3.4a rx depends on sys now; sys already depended on rx */ |
---|
10 | MACHLIBS = ../misc/libnanny.a |
---|
11 | #endif |
---|
12 | |
---|
13 | KRB5_DEFS = -DKRB5 |
---|
14 | |
---|
15 | DEFINES = -DSETPAG $(KRB5_DEFS) $(MACHDEFS) |
---|
16 | AFSLIBS = -L$(AFSDIR)/lib -L$(AFSDIR)/lib/afs -lsys -lrx -llwp -lsys |
---|
17 | |
---|
18 | |
---|
19 | SRCS = xlogin.c verify.c SmeBSB.c StringToPixel.c Clock.c |
---|
20 | OBJS = xlogin.o verify.o SmeBSB.o StringToPixel.o Clock.o |
---|
21 | LIBS = -lWc -lXp -lXmu -lXaw -lXt -lXext -lX11 -lal -llarv -lkrb4 -ldes425 \ |
---|
22 | -lkrb5 -lcrypto -lhesiod $(AFSLIBS) $(MACHLIBS) -lcom_err -lm |
---|
23 | |
---|
24 | #ifdef SOLARIS |
---|
25 | PRESOURCES=Xlogin.sun4.presed |
---|
26 | #endif |
---|
27 | #ifdef sgi |
---|
28 | PRESOURCES=Xlogin.s/**/gi.presed |
---|
29 | #endif |
---|
30 | |
---|
31 | create_dir(/etc/athena/login) |
---|
32 | create_dir(/etc/athena/login/bitmaps) |
---|
33 | SimpleProgram(timeout,timeout.o,,$(ATHBINDIR)) |
---|
34 | |
---|
35 | static_program(xlogin,$(OBJS),,$(LIBS)) |
---|
36 | install_program(xlogin,-s,$(ATHRETCDIR)/xlogin) |
---|
37 | install_program(xlogin,,$(ATHRETCDIR)/xlogin.unstripped) |
---|
38 | |
---|
39 | all:: Xlogin |
---|
40 | install:: Xlogin |
---|
41 | |
---|
42 | Xlogin: $(PRESOURCES) $(ATHVERS) |
---|
43 | . $(ATHVERS); \ |
---|
44 | sed -e "s/ATHENA_VERSION/$$major.$$minor/" \ |
---|
45 | -e "s:MOTD_FILE:/afs/athena.mit.edu/system/config/motd/login.$$Id: Imakefile,v 1.45 1999-01-22 23:16:22 ghudson Exp $$minor:" \ |
---|
46 | $(PRESOURCES) > Xlogin |
---|
47 | |
---|
48 | install_file(bitmaps/check,/etc/athena/login/bitmaps/check) |
---|
49 | install_file(bitmaps/question,/etc/athena/login/bitmaps/question) |
---|
50 | install_file(bitmaps/warning,/etc/athena/login/bitmaps/warning) |
---|
51 | install_file(bitmaps/white,/etc/athena/login/bitmaps/white) |
---|
52 | install_file(bitmaps/owl,/etc/athena/login/bitmaps/owl) |
---|
53 | install_file(bitmaps/owleyes0.xbm,/etc/athena/login/bitmaps/owleyes0.xbm) |
---|
54 | install_file(bitmaps/owleyes1.xbm,/etc/athena/login/bitmaps/owleyes1.xbm) |
---|
55 | install_file(bitmaps/owleyes2.xbm,/etc/athena/login/bitmaps/owleyes2.xbm) |
---|
56 | install_file(bitmaps/owleyes3.xbm,/etc/athena/login/bitmaps/owleyes3.xbm) |
---|
57 | install_file(bitmaps/owleyes4.xbm,/etc/athena/login/bitmaps/owleyes4.xbm) |
---|
58 | install_file(bitmaps/owleyes5.xbm,/etc/athena/login/bitmaps/owleyes5.xbm) |
---|
59 | install_file(bitmaps/is,/etc/athena/login/bitmaps/is) |
---|
60 | install_file(bitmaps/is0.xbm,/etc/athena/login/bitmaps/is0.xbm) |
---|
61 | install_file(bitmaps/is1.xbm,/etc/athena/login/bitmaps/is1.xbm) |
---|
62 | install_file(bitmaps/is2.xbm,/etc/athena/login/bitmaps/is2.xbm) |
---|
63 | install_file(bitmaps/is3.xbm,/etc/athena/login/bitmaps/is3.xbm) |
---|
64 | install_file(bitmaps/is4.xbm,/etc/athena/login/bitmaps/is4.xbm) |
---|
65 | install_file(bitmaps/is5.xbm,/etc/athena/login/bitmaps/is5.xbm) |
---|
66 | install_file(bitmaps/menu16,/etc/athena/login/bitmaps/menu16) |
---|
67 | install_file(bitmaps/Ctrl-P,/etc/athena/login/bitmaps/Ctrl-P) |
---|
68 | install_file(bitmaps/F1,/etc/athena/login/bitmaps/F1) |
---|
69 | install_file(bitmaps/F2,/etc/athena/login/bitmaps/F2) |
---|
70 | install_file(bitmaps/F3,/etc/athena/login/bitmaps/F3) |
---|
71 | install_file(bitmaps/F4,/etc/athena/login/bitmaps/F4) |
---|
72 | install_file(bitmaps/F5,/etc/athena/login/bitmaps/F5) |
---|
73 | install_file(bitmaps/F6,/etc/athena/login/bitmaps/F6) |
---|
74 | install_file(bitmaps/Prev,/etc/athena/login/bitmaps/Prev) |
---|
75 | install_file(bitmaps/Shift-F1,/etc/athena/login/bitmaps/Shift-F1) |
---|
76 | install_file(bitmaps/Shift-F2,/etc/athena/login/bitmaps/Shift-F2) |
---|
77 | install_file(bitmaps/Shift-F3,/etc/athena/login/bitmaps/Shift-F3) |
---|
78 | install_file(bitmaps/Shift-F4,/etc/athena/login/bitmaps/Shift-F4) |
---|
79 | install_file(bitmaps/Shift-F5,/etc/athena/login/bitmaps/Shift-F5) |
---|
80 | install_file(bitmaps/Shift-F6,/etc/athena/login/bitmaps/Shift-F6) |
---|
81 | install_file(bitmaps/Shift-F7,/etc/athena/login/bitmaps/Shift-F7) |
---|
82 | install_file(bitmaps/Shift-F8,/etc/athena/login/bitmaps/Shift-F8) |
---|
83 | install_file(Xlogin,/etc/athena/login/Xlogin) |
---|
84 | install_man(timeout.1,timeout.1) |
---|
85 | install_man(xlogin.8,xlogin.8) |
---|