Annotation of hypermess/hypermail/Makefile.in, revision 1.2
1.1 kahan 1: #
2: # Makefile for hypermail package.
3: #
4:
5: @SET_MAKE@
6:
7: prefix=@prefix@
8: exec_prefix=@exec_prefix@
9:
10: # This is where you want hypermail to be installed
11: bindir=@bindir@
12:
13: # This is where the man page goes
14: mandir=@mandir@
15:
16: srcdir=@srcdir@
17:
18: # This is where the HTML documentation goes
19: htmldir=@htmldir@
20:
21: # This is where your CGI programs live
22: cgidir=@cgidir@
23:
24: # Compiler to use
25: CC=@CC@
26: CFLAGS=@CFLAGS@
1.2 ! kahan 27: LIBS=@LIBS@
1.1 kahan 28: LDFLAGS=@LDFLAGS@
29:
30: all: hypermail support
31:
32: hypermail:
33: cd src; $(MAKE) all CC="$(CC)" CFLAGS="$(CFLAGS)" \
1.2 ! kahan 34: cgidir="$(cgidir)" bindir="$(bindir)" LIBS="$(LIBS)"
1.1 kahan 35: support:
36: cd archive; $(MAKE) all CC="$(CC)" CFLAGS="$(CFLAGS)"
37:
38: install:
39: @cd src; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" \
1.2 ! kahan 40: cgidir="$(cgidir)" bindir="$(bindir)" LIBS="$(LIBS)"
1.1 kahan 41: @cd docs; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKEFLAGS) \
42: mandir="$(mandir)" htmldir="$(htmldir)"
43: @cd archive; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" \
44: bindir="$(bindir)"
45:
46: uninstall:
47: @cd src; $(MAKE) uninstall cgidir="$(cgidir)" bindir="$(bindir)"
48: @cd docs; $(MAKE) uninstall mandir="$(mandir)" htmldir="$(htmldir)"
49: @cd archive; $(MAKE) uninstall bindir="$(bindir)"
50:
51: lint:
52: cd src; $(MAKE) lint
53: cd archive; $(MAKE) lint
54:
55: clean:
56: cd src; $(MAKE) clean
57: cd docs; $(MAKE) clean
58: cd archive; $(MAKE) clean
59: rm -f lint.out
60:
61: clobber: clean
62: rm -f config.h
63: rm -f config.cache
64: rm -f config.log
65: rm -f config.status
66: rm -f archive/Makefile
67: rm -f docs/Makefile
68: rm -f libcgi/Makefile
69: rm -f src/Makefile
70: rm -rf tests/testdir
71: rm -rf tests/testmail
72: rm -f Makefile
73:
74: tgz:
75: @(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.tar.gz; cd .. ; \
76: tar -cf $$name.tar `cat $$name/FILES | sed "s:^:$$name/:g"` ; \
77: gzip $$name.tar ; chmod a+r $$name.tar.gz ; mv $$name.tar.gz $$name/)
78:
Webmaster