source: trunk/athena/etc/xdm/xdm/Imakefile @ 7523

Revision 7523, 1.5 KB checked in by cfields, 31 years ago (diff)
Copy in environment.h as well as verify.c.
Line 
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
5OSDEFS= -U_BSD -U_BSD_INCLUDES
6#endif
7#if defined(vax) || defined(ibm032) || defined(sun)
8OSDEFS= -DX_NOT_POSIX -DX_NOT_STDC_ENV -DSIGNALRETURNSINT
9#endif
10DEFINES= -I. -DTCPCONN -DUNIXCONN -DXDM $(OSDEFS)
11AFSLIBS = $(AFSDIR)/lib/afs/libsys.a
12
13#ifdef sun
14OSLIBS = -lm
15#endif
16#ifdef _IBMR2
17OSLIBS = -ls -lodm -lcfg
18#endif
19#ifdef ultrix
20OSLIBS = -lnsyslog
21#endif
22
23LIBS = -lXaw -lXmu -lXt -lXext -lX11  -lXau -lXdmcp -lhesiod -lkrb -ldes $(AFSLIBS) $(OSLIBS)
24
25OBJS = 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
32AnsiCC()
33SimpleProgram(xdm,$(OBJS),$(LIBS),$(ATHETCDIR))
34install_man(xdm.man,xdm.8)
35create_dir($(ATHCONFDIR)/xdm)
36install_file(Xresources,$(ATHCONFDIR)/xdm/Xresources)
37install_file(xdm-config,$(ATHCONFDIR)/xdm/xdm-config)
38install_file(Xservers,$(ATHCONFDIR)/xdm/Xservers)
39install_file(Xaccess,$(ATHCONFDIR)/xdm/Xaccess)
40
41athena-verify.c: ../xlogin/verify.c
42        rm -f athena-verify.c
43        cp ../xlogin/verify.c athena-verify.c
44
45environment.h: ../xlogin/environment.h
46        rm -f environment.h
47        cp ../xlogin/environment.h environment.h
48
49athena-verify.o: environment.h
50
51#ifdef _AIX
52athena-verify.o: athena-verify.c
53        $(CC) $(CFLAGS) -D_BSD -D_BSD_INCLUDES -c athena-verify.c
54#endif
Note: See TracBrowser for help on using the repository browser.