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