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