source: trunk/athena/bin/quota/Imakefile @ 8887

Revision 8887, 821 bytes checked in by ghudson, 28 years ago (diff)
Simplify a lot, and nuke some Solaris-related cruft.
Line 
1#ifdef UseInstalled
2ATTACH=/source/athena/athena.bin/attach
3#else
4ATTACH=../../athena.bin/attach
5#endif
6
7DEFINES=$(MACHDEFS) -I. -I$(ATTACH) -I$(AFSDIR)/include
8
9BINDIR=$(ATHBINDIR)
10INSTOPT=-o root -m 4755
11AFSLIBS= -L$(AFSDIR)/lib -L$(AFSDIR)/lib/afs -lsys -lrx -lsys -llwp
12
13OBJS = quota.o attachtab.o nfs.o afs.o $(MACHOBJS)
14#ifdef SOLARIS
15MACHLIBS=-lbsd
16#endif
17LIBS = $(AFSLIBS) $(MACHLIBS)
18
19#if defined(vax) || defined(ibm032)
20BINDIR=/usr/ucb
21MACHDEFS= -DUW
22MACHLIBS= -lrpcsvc
23#endif
24
25#if defined(i386)
26MACHLIBS= -lrpclib
27#endif
28
29#if defined(_IBMR2) || defined(SOLARIS) || defined(sgi)
30MACHOBJS=rcquotaxdr.o rquotaxdr.o mountxdr.o
31#endif
32
33#if defined(ultrix) || defined(i386)
34MACHOBJS=rcquotaxdr.o
35#endif
36
37build_program(quota,$(OBJS),,$(LIBS))
38install_program(quota,$(INSTOPT),$(BINDIR))
39install_man(quota.1,quota.1)
40
Note: See TracBrowser for help on using the repository browser.