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