source: trunk/athena/bin/delete/Makefile.in @ 25126

Revision 25126, 2.9 KB checked in by geofft, 13 years ago (diff)
delete: Remove redundant explicit -lcom_err from Makefile
Line 
1# $Id: Makefile.in,v 1.1 1998-11-16 16:43:36 ghudson Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7INSTALL_DATA=@INSTALL_DATA@
8MKDIR_P=@MKDIR_P@
9srcdir=@srcdir@
10top_srcdir=@top_srcdir@
11prefix=@prefix@
12exec_prefix=@exec_prefix@
13bindir=@bindir@
14datarootdir=@datarootdir@
15mandir=@mandir@
16
17CC=@CC@
18DEFS=@DEFS@
19CPPFLAGS=@CPPFLAGS@
20CFLAGS=@CFLAGS@
21LDFLAGS=@LDFLAGS@
22LIBS=@AFS_LIBS@ @LIBS@
23ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
24
25COBJS=          util.o delete_errs.o errors.o
26POBJS=          directories.o pattern.o shell_regexp.o stack.o
27OBJS=           ${COBJS} ${POBJS} delete.o undelete.o expunge.o lsdel.o col.o
28DELETEOBJS=     delete.o ${POBJS} ${COBJS}
29UNDELETEOBJS=   undelete.o ${POBJS} ${COBJS}
30EXPUNGEOBJS=    expunge.o col.o ${POBJS} ${COBJS}
31LSDELOBJS=      lsdel.o col.o ${POBJS} ${COBJS}
32
33PROGS=          delete undelete expunge lsdel
34
35all: ${PROGS}
36
37delete: ${DELETEOBJS}
38        ${CC} ${LDFLAGS} -o $@ ${DELETEOBJS} ${LIBS}
39
40undelete: ${UNDELETEOBJS}
41        ${CC} ${LDFLAGS} -o $@ ${UNDELETEOBJS} ${LIBS}
42
43expunge: ${EXPUNGEOBJS}
44        ${CC} ${LDFLAGS} -o $@ ${EXPUNGEOBJS} ${LIBS}
45
46lsdel: ${LSDELOBJS}
47        ${CC} ${LDFLAGS} -o $@ ${LSDELOBJS} ${LIBS}
48
49delete_errs.h delete_errs.c:
50        compile_et ${srcdir}/delete_errs.et
51
52.c.o:
53        ${CC} -c ${ALL_CFLAGS} $<
54
55check:
56
57install:
58        ${MKDIR_P} ${DESTDIR}${bindir}
59        ${MKDIR_P} ${DESTDIR}${mandir}/man1
60        ${INSTALL_PROGRAM} delete ${DESTDIR}${bindir}
61        ${INSTALL_PROGRAM} undelete ${DESTDIR}${bindir}
62        ${INSTALL_PROGRAM} expunge ${DESTDIR}${bindir}
63        ${INSTALL_PROGRAM} lsdel ${DESTDIR}${bindir}
64        rm -f ${DESTDIR}${bindir}/purge
65        ln -s expunge ${DESTDIR}${bindir}/purge
66        ${INSTALL_DATA} ${srcdir}/man1/delete.1 ${DESTDIR}${mandir}/man1
67        ${INSTALL_DATA} ${srcdir}/man1/undelete.1 ${DESTDIR}${mandir}/man1
68        ${INSTALL_DATA} ${srcdir}/man1/expunge.1 ${DESTDIR}${mandir}/man1
69        ${INSTALL_DATA} ${srcdir}/man1/lsdel.1 ${DESTDIR}${mandir}/man1
70        ${INSTALL_DATA} ${srcdir}/man1/purge.1 ${DESTDIR}${mandir}/man1
71
72clean:
73        rm -f ${PROGS} ${OBJS}
74
75distclean: clean
76        rm -f config.cache config.log config.status Makefile
77
78col.o: col.c errors.h mit-copying.h delete_errs.h col.h
79delete.o: delete.c errors.h mit-copying.h delete_errs.h util.h delete.h
80directories.o: directories.c delete_errs.h util.h mit-copying.h \
81        directories.h errors.h
82errors.o: errors.c delete_errs.h mit-copying.h
83expunge.o: expunge.c col.h mit-copying.h util.h directories.h \
84        pattern.h expunge.h shell_regexp.h delete_errs.h errors.h
85lsdel.o: lsdel.c col.h mit-copying.h util.h directories.h pattern.h \
86        lsdel.h shell_regexp.h delete_errs.h errors.h
87pattern.o: pattern.c pattern.h mit-copying.h util.h directories.h \
88        undelete.h shell_regexp.h delete_errs.h errors.h stack.h
89shell_regexp.o: shell_regexp.c shell_regexp.h mit-copying.h \
90        delete_errs.h errors.h
91stack.o: stack.c stack.h mit-copying.h delete_errs.h errors.h util.h
92undelete.o: undelete.c delete_errs.h pattern.h mit-copying.h util.h \
93        directories.h undelete.h shell_regexp.h errors.h
94util.o: util.c delete_errs.h util.h mit-copying.h directories.h \
95        errors.h
Note: See TracBrowser for help on using the repository browser.