/[imapfilter]/imapfilter/Makefile
ViewVC logotype

Annotation of /imapfilter/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


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

1 lefcha 1.1 CC = cc
2 lefcha 1.11 CFLAGS = -g
3 lefcha 1.14 LDFLAGS =
4 lefcha 1.1
5     DESTDIR = /usr/local
6 lefcha 1.8 BINDIR = /usr/local/bin
7     MANDIR = /usr/local/man
8 lefcha 1.1
9 lefcha 1.4 MAN_BIN = imapfilter.1
10     MAN_RC = imapfilterrc.5
11 lefcha 1.1
12 lefcha 1.7 BIN = imapfilter
13 lefcha 1.17 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 lefcha 1.7
17 lefcha 1.8 LIBS = -lssl -lcrypto
18 lefcha 1.7
19 lefcha 1.17 all: imapfilter
20    
21 lefcha 1.2 imapfilter: $(OBJ)
22 lefcha 1.14 $(CC) $(LIBS) $(LDFLAGS) -o $(BIN) $(OBJ)
23 lefcha 1.1
24 lefcha 1.17 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 lefcha 1.19 action.o destroy.o filter.o imap.o imapfilter.o match.o: filter.h
29 lefcha 1.17 account.o filter.o: struct.h
30     buffer.o imap.o imapfilter.o response.o: buffer.h
31 lefcha 1.18 cert.o file.o lock.o log.o parse.o: pathnames.h
32 lefcha 1.17 imapfilter.o: version.h
33 lefcha 1.1
34     install: imapfilter
35 lefcha 1.12 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 lefcha 1.13 if test ! -d $(MANDIR)/man5; then mkdir -p $(MANDIR)/man5; fi
40 lefcha 1.12 cp -f $(MAN_RC) $(MANDIR)/man5 && chmod 0644 $(MANDIR)/man5/$(MAN_RC)
41 lefcha 1.1
42 lefcha 1.17 deinstall:
43 lefcha 1.4 rm -f $(BINDIR)/$(BIN) $(MANDIR)/man1/$(MAN_BIN) $(MANDIR)/man5/$(MAN_RC)
44 lefcha 1.17
45     uninstall: deinstall
46 lefcha 1.1
47 lefcha 1.8 clean:
48     rm -f $(OBJ) $(BIN) imapfilter.core core *.BAK *~
49 lefcha 1.1
50 lefcha 1.8 distclean: clean
51 lefcha 1.12 @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