Line | |
---|
1 | $Id: Makefile.in,v 1.5 2005-03-12 17:30:22 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | INSTALL=@INSTALL@ |
---|
5 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
6 | RANLIB=@RANLIB@ |
---|
7 | VPATH=@srcdir@ |
---|
8 | srcdir=@srcdir@ |
---|
9 | top_srcdir=@top_srcdir@ |
---|
10 | prefix=@prefix@ |
---|
11 | exec_prefix=@exec_prefix@ |
---|
12 | bindir=@bindir@ |
---|
13 | lbindir=@lbindir@ |
---|
14 | lsbindir=@lsbindir@ |
---|
15 | mandir=@mandir@ |
---|
16 | |
---|
17 | CC=@CC@ |
---|
18 | CPPFLAGS=@CPPFLAGS@ |
---|
19 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} |
---|
20 | DEFS=@DEFS@ |
---|
21 | LDFLAGS=@LDFLAGS@ |
---|
22 | LIBS=@LIBS@ |
---|
23 | ZEPHYR_LIBS=-lzephyr |
---|
24 | AFS_LIBS=-lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil |
---|
25 | MOST_CFLAGS= |
---|
26 | ALL_CFLAGS=${WARN_CFLAGS} -I. ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
27 | ALL_LIBS=-llocker ${AFS_LIBS} ${ZEPHYR_LIBS} \ |
---|
28 | -lhesiod -lcom_err -lrpcsvc ${LIBS} |
---|
29 | |
---|
30 | OBJS= quota.o fslist.o afs.o nfs.o ufs.o @RQUOTA_OBJS@ |
---|
31 | |
---|
32 | all: quota |
---|
33 | |
---|
34 | quota: ${OBJS} |
---|
35 | ${CC} ${LDFLAGS} -o quota ${OBJS} ${ALL_LIBS} |
---|
36 | |
---|
37 | .c.o: |
---|
38 | ${CC} -c ${ALL_CFLAGS} $< |
---|
39 | |
---|
40 | rquota.x: |
---|
41 | cp /usr/include/rpcsvc/rquota.x . |
---|
42 | |
---|
43 | rquota_xdr.c: rquota.x |
---|
44 | rpcgen -C rquota.x |
---|
45 | |
---|
46 | check: |
---|
47 | |
---|
48 | install: |
---|
49 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
50 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
51 | ${INSTALL} -m 4755 -o root quota ${DESTDIR}${bindir} |
---|
52 | ${INSTALL} -m 644 quota.1 ${DESTDIR}${mandir}/man1 |
---|
53 | |
---|
54 | clean: |
---|
55 | rm -f quota ${OBJS} @RQUOTA_JUNK@ |
---|
56 | |
---|
57 | distclean: clean |
---|
58 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.