1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
2 | # $Id: Makefile.in,v 1.5 2004/01/28 23:48:01 pcg Exp $ |
2 | |
3 | @MCOMMON@ |
3 | DATE=@DATE@ |
|
|
4 | VERSION=@VERSION@ |
|
|
5 | RXVTNAME=@RXVTNAME@ |
|
|
6 | SHELL = /bin/sh |
|
|
7 | bindir = @bindir@ |
|
|
8 | libdir = @libdir@ |
|
|
9 | man1dir = @mandir@/man1 |
|
|
10 | man1ext = 1 |
|
|
11 | man3dir = @mandir@/man3 |
|
|
12 | man3ext = 3 |
|
|
13 | man7dir = @mandir@/man7 |
|
|
14 | man7ext = 7 |
|
|
15 | PERL = @PERL@ |
|
|
16 | INSTALL = @INSTALL@ |
|
|
17 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
|
|
18 | INSTALL_DATA = @INSTALL@ -m 644 |
|
|
19 | |
|
|
20 | VERNAME = rxvt-unicode-$(VERSION) |
4 | |
21 | |
5 | srcdir = @srcdir@ |
22 | srcdir = @srcdir@ |
6 | VPATH = @srcdir@ |
23 | VPATH = @srcdir@ |
7 | .PATH: @srcdir@ |
|
|
8 | |
24 | |
9 | first_rule: all |
25 | first_rule: all |
10 | dummy: |
26 | dummy: |
11 | |
27 | |
12 | subdirs = src doc src/test |
28 | subdirs = src doc |
13 | allsubdirs = W11 $(subdirs) |
|
|
14 | |
29 | |
15 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
30 | RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install |
16 | |
|
|
17 | DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
|
|
18 | autoconf/configure.in autoconf/config.h.in \ |
|
|
19 | autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \ |
|
|
20 | autoconf/config.guess autoconf/config.sub \ |
|
|
21 | autoconf/ltmain.sh \ |
|
|
22 | |
|
|
23 | MKDIR = $(srcdir)/autoconf/mkinstalldirs |
|
|
24 | |
31 | |
25 | #------------------------------------------------------------------------- |
32 | #------------------------------------------------------------------------- |
26 | |
33 | |
27 | all allbin alldoc tags: |
34 | $(RECURSIVE_TARGETS): |
28 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
29 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
35 | @for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
30 | |
36 | |
31 | realclean: clean |
37 | distclean realclean: distclean-local |
32 | $(RMF) config.h config.status config.log libtool |
|
|
33 | |
|
|
34 | clean: |
|
|
35 | $(RMF) *~ config.cache |
|
|
36 | $(RMF) -r autom4te.cache |
|
|
37 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
38 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
|
|
39 | |
38 | |
40 | # |
39 | # |
41 | # entry points for other programs |
40 | # entry points for other programs |
42 | # |
41 | # |
43 | rxvt: |
42 | rxvt: |
44 | (cd src; ${MAKE}) |
43 | (cd src; $(MAKE)) |
45 | |
|
|
46 | tests: |
|
|
47 | (cd src/test; ${MAKE} tests) |
|
|
48 | |
44 | |
49 | #------------------------------------------------------------------------- |
45 | #------------------------------------------------------------------------- |
50 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
46 | configure: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4 |
51 | cd $(srcdir); |
47 | cd $(srcdir); ./autogen.sh |
52 | ./.prebuild |
|
|
53 | |
48 | |
54 | config.status: |
49 | config.status: |
55 | if test -x config.status; then config.status --recheck; \ |
50 | if test -x config.status; then config.status --recheck; \ |
56 | else $(SHELL) configure; fi |
51 | else $(SHELL) configure; fi |
57 | |
52 | |
58 | autoconf/config.h.in: autoconf/configure.in |
53 | config.h.in: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4 |
59 | cd $(srcdir); |
54 | cd $(srcdir); ./autogen.sh |
60 | ./.prebuild |
|
|
61 | |
55 | |
62 | installdirs: |
56 | check: all |
63 | $(MKDIR) $(DESTDIR)$(bindir) |
57 | echo "no tests" |
64 | $(MKDIR) $(DESTDIR)$(mandir) |
|
|
65 | |
|
|
66 | install: installdirs |
|
|
67 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
68 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
|
|
69 | |
58 | |
70 | Makefiles: |
59 | Makefiles: |
71 | $(SHELL) config.status |
60 | $(SHELL) config.status |
72 | |
61 | |
73 | cleandir: realclean |
62 | cleandir: realclean |
74 | |
63 | |
75 | # distclean goal is for making a clean source tree, but if you have run |
|
|
76 | # configure from a different directory, then doesn't destroy all your |
|
|
77 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
|
|
78 | # In that case most of those commands do nothing, except cleaning *~ |
|
|
79 | # and cleaning source links. |
|
|
80 | distclean: |
64 | distclean-local: |
81 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
65 | rm -f config.cache config.h config.log config.status |
82 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
66 | rm -f Makefile |
83 | (cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
|
|
84 | |
67 | |
85 | distdir: |
68 | distdir: |
|
|
69 | cd doc && $(MAKE) distdepend |
|
|
70 | cd src && $(MAKE) depend |
86 | rm -rf $(VERNAME) |
71 | rm -rf $(VERNAME) |
87 | mkdir $(VERNAME) |
72 | mkdir $(VERNAME) |
88 | rsync -aR `cat MANIFEST` $(VERNAME)/. |
73 | rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/. |
89 | |
74 | |
90 | tar.gz: distdir |
75 | tar.gz: distdir |
91 | tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
76 | tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
92 | rm -rf $(VERNAME) |
77 | rm -rf $(VERNAME) |
93 | |
78 | |