1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
|
|
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 |
2 | |
22 | |
3 | VERNAME = rxvt-unicode-$(VERSION) |
23 | VERNAME = rxvt-unicode-$(VERSION) |
4 | |
24 | |
5 | srcdir = @srcdir@ |
25 | srcdir = @srcdir@ |
6 | VPATH = @srcdir@ |
26 | VPATH = @srcdir@ |
7 | .PATH: @srcdir@ |
|
|
8 | |
27 | |
9 | first_rule: all |
28 | first_rule: all |
10 | dummy: |
29 | dummy: |
11 | |
30 | |
12 | subdirs = src doc |
31 | subdirs = src doc |
13 | allsubdirs = $(subdirs) |
|
|
14 | |
|
|
15 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
|
|
16 | |
|
|
17 | DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
|
|
18 | autoconf/configure.in autoconf/config.h.in \ |
|
|
19 | autoconf/install-sh autoconf/mkinstalldirs \ |
|
|
20 | autoconf/config.guess autoconf/config.sub \ |
|
|
21 | autoconf/ltmain.sh \ |
|
|
22 | |
|
|
23 | MKDIR = $(srcdir)/autoconf/mkinstalldirs |
|
|
24 | |
32 | |
25 | #------------------------------------------------------------------------- |
33 | #------------------------------------------------------------------------- |
26 | |
34 | |
27 | all allbin alldoc tags: |
35 | all allbin alldoc tags: |
28 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
29 | |
37 | |
30 | realclean: clean |
38 | distclean realclean: distclean-local |
31 | $(RMF) config.h config.status config.log libtool |
|
|
32 | |
39 | |
33 | clean: |
40 | clean distclean realclean: |
34 | $(RMF) *~ config.cache |
|
|
35 | $(RMF) -r autom4te.cache |
|
|
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
41 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
37 | |
42 | |
38 | # |
43 | # |
39 | # entry points for other programs |
44 | # entry points for other programs |
40 | # |
45 | # |
41 | rxvt: |
46 | rxvt: |
42 | (cd src; ${MAKE}) |
47 | (cd src; ${MAKE}) |
43 | |
48 | |
44 | tests: |
|
|
45 | (cd src/test; ${MAKE} tests) |
|
|
46 | |
|
|
47 | #------------------------------------------------------------------------- |
49 | #------------------------------------------------------------------------- |
48 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
50 | configure: configure.ac aclocal.m4 config.h.in |
49 | cd $(srcdir); |
51 | cd $(srcdir); ./autogen.sh |
50 | ./.prebuild |
|
|
51 | |
52 | |
52 | config.status: |
53 | config.status: |
53 | if test -x config.status; then config.status --recheck; \ |
54 | if test -x config.status; then config.status --recheck; \ |
54 | else $(SHELL) configure; fi |
55 | else $(SHELL) configure; fi |
55 | |
56 | |
56 | autoconf/config.h.in: autoconf/configure.in |
57 | config.h.in: configure.ac |
57 | cd $(srcdir); |
58 | cd $(srcdir); ./autogen.sh |
58 | ./.prebuild |
|
|
59 | |
59 | |
60 | installdirs: |
60 | install: |
61 | $(MKDIR) $(DESTDIR)$(bindir) |
|
|
62 | $(MKDIR) $(DESTDIR)$(mandir) |
|
|
63 | |
|
|
64 | install: installdirs |
|
|
65 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
61 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
66 | |
62 | |
67 | check: all |
63 | check: all |
68 | echo "no tests" |
64 | echo "no tests" |
69 | |
65 | |
70 | Makefiles: |
66 | Makefiles: |
71 | $(SHELL) config.status |
67 | $(SHELL) config.status |
72 | |
68 | |
73 | cleandir: realclean |
69 | cleandir: realclean |
74 | |
70 | |
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: |
71 | distclean-local: |
81 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
72 | rm -f *~ config.cache config.h config.log config.status libtool |
82 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
73 | rm -f Makefile |
83 | (cd $(srcdir); $(RMF) Makefile) |
|
|
84 | |
74 | |
85 | distdir: |
75 | distdir: |
86 | cd doc && $(MAKE) distdepend |
76 | cd doc && $(MAKE) distdepend |
87 | cd src && $(MAKE) depend |
77 | cd src && $(MAKE) depend |
88 | rm -rf $(VERNAME) |
78 | rm -rf $(VERNAME) |