1 | # $Header: /afs/dev.mit.edu/source/repository/athena/etc/xdm/xdm/Imakefile,v 1.12 1994-07-28 03:46:14 cfields Exp $ |
---|
2 | # Builds xdm and installs it with Athenized config |
---|
3 | |
---|
4 | #ifdef _AIX |
---|
5 | OSDEFS= -U_BSD -U_BSD_INCLUDES |
---|
6 | #endif |
---|
7 | #if defined(vax) || defined(ibm032) || defined(sun) |
---|
8 | OSDEFS= -DX_NOT_POSIX -DX_NOT_STDC_ENV -DSIGNALRETURNSINT |
---|
9 | #endif |
---|
10 | DEFINES= -I. -DTCPCONN -DUNIXCONN -DXDM $(OSDEFS) |
---|
11 | AFSLIBS = $(AFSDIR)/lib/afs/libsys.a |
---|
12 | |
---|
13 | #ifdef sun |
---|
14 | OSLIBS = -lm |
---|
15 | #endif |
---|
16 | #ifdef _IBMR2 |
---|
17 | OSLIBS = -ls -lodm -lcfg |
---|
18 | #endif |
---|
19 | #ifdef ultrix |
---|
20 | OSLIBS = -lnsyslog |
---|
21 | #endif |
---|
22 | |
---|
23 | LIBS = -lXaw -lXmu -lXt -lXext -lX11 -lXau -lXdmcp -lhesiod -lkrb -ldes $(AFSLIBS) $(OSLIBS) |
---|
24 | |
---|
25 | OBJS = auth.o daemon.o server.o dpylist.o dm.o error.o file.o \ |
---|
26 | greet.o netaddr.o reset.o resource.o protodpy.o policy.o \ |
---|
27 | session.o socket.o streams.o util.o verify.o xdmcp.o \ |
---|
28 | Login.o mitauth.o genauth.o access.o choose.o \ |
---|
29 | athena-verify.o |
---|
30 | |
---|
31 | |
---|
32 | AnsiCC() |
---|
33 | SimpleProgram(xdm,$(OBJS),$(LIBS),$(ATHETCDIR)) |
---|
34 | install_man(xdm.man,xdm.8) |
---|
35 | create_dir($(ATHCONFDIR)/xdm) |
---|
36 | install_file(Xresources,$(ATHCONFDIR)/xdm/Xresources) |
---|
37 | install_file(xdm-config,$(ATHCONFDIR)/xdm/xdm-config) |
---|
38 | install_file(Xservers,$(ATHCONFDIR)/xdm/Xservers) |
---|
39 | install_file(Xaccess,$(ATHCONFDIR)/xdm/Xaccess) |
---|
40 | |
---|
41 | athena-verify.c: ../xlogin/verify.c |
---|
42 | rm -f athena-verify.c |
---|
43 | cp ../xlogin/verify.c athena-verify.c |
---|
44 | |
---|
45 | environment.h: ../xlogin/environment.h |
---|
46 | rm -f environment.h |
---|
47 | cp ../xlogin/environment.h environment.h |
---|
48 | |
---|
49 | athena-verify.o: environment.h |
---|
50 | |
---|
51 | #ifdef _AIX |
---|
52 | athena-verify.o: athena-verify.c |
---|
53 | $(CC) $(CFLAGS) -D_BSD -D_BSD_INCLUDES -c athena-verify.c |
---|
54 | #endif |
---|