/[imapfilter]/imapfilter/Makefile
ViewVC logotype

Contents of /imapfilter/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (show annotations)
Fri Feb 13 12:17:15 2004 UTC (16 years, 7 months ago) by lefcha
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +1 -1 lines
Stylistic changes.

1 CC = cc
2 CFLAGS = -g
3 LDFLAGS =
4
5 DESTDIR = /usr/local
6 BINDIR = /usr/local/bin
7 MANDIR = /usr/local/man
8
9 MAN_BIN = imapfilter.1
10 MAN_RC = imapfilterrc.5
11
12 BIN = imapfilter
13 OBJ = account.o action.o auth.o buffer.o cert.o destroy.o file.o filter.o \
14 imap.o imapfilter.o lock.o log.o match.o memory.o misc.o parse.o \
15 passwd.o response.o request.o socket.o tty.o
16
17 LIBS = -lssl -lcrypto
18
19 all: imapfilter
20
21 imapfilter: $(OBJ)
22 $(CC) $(LIBS) $(LDFLAGS) -o $(BIN) $(OBJ)
23
24 account.o action.o auth.o buffer.o cert.o destroy.o file.o filter.o imap.o \
25 imapfilter.o lock.o log.o match.o memory.o parse.o passwd.o \
26 request.o response.o socket.o tty.o: config.h imapfilter.h
27 account.o destroy.o filter.o imapfilter.o match.o: account.h
28 action.o destroy.o filter.o imap.o imapfilter.o match.o: filter.h
29 account.o filter.o: struct.h
30 buffer.o imap.o imapfilter.o response.o: buffer.h
31 cert.o file.o lock.o log.o parse.o: pathnames.h
32 imapfilter.o: version.h
33
34 install: imapfilter
35 if test ! -d $(BINDIR); then mkdir -p $(BINDIR); fi
36 cp -f $(BIN) $(BINDIR) && chmod 0755 $(BINDIR)/$(BIN)
37 if test ! -d $(MANDIR)/man1; then mkdir -p $(MANDIR)/man1; fi
38 cp -f $(MAN_BIN) $(MANDIR)/man1 && chmod 0644 $(MANDIR)/man1/$(MAN_BIN)
39 if test ! -d $(MANDIR)/man5; then mkdir -p $(MANDIR)/man5; fi
40 cp -f $(MAN_RC) $(MANDIR)/man5 && chmod 0644 $(MANDIR)/man5/$(MAN_RC)
41
42 deinstall:
43 rm -f $(BINDIR)/$(BIN) $(MANDIR)/man1/$(MAN_BIN) $(MANDIR)/man5/$(MAN_RC)
44
45 uninstall: deinstall
46
47 clean:
48 rm -f $(OBJ) $(BIN) imapfilter.core core *.BAK *~
49
50 distclean: clean
51 @if test -f .Makefile; then mv -f .Makefile Makefile; fi
52 @if test -f .config.h; then mv -f .config.h config.h; fi

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26