1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
2 | # $Id: Makefile.in,v 1.3 2003/12/18 00:56:51 pcg Exp $ |
2 | |
3 | @MCOMMON@ |
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 |
|
|
22 | |
|
|
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 src/graphics src/test |
31 | subdirs = src doc |
13 | allsubdirs = W11 $(subdirs) |
|
|
14 | |
32 | |
15 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
33 | 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 | |
34 | |
25 | #------------------------------------------------------------------------- |
35 | #------------------------------------------------------------------------- |
26 | |
36 | |
27 | all allbin alldoc tags: |
37 | $(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 |
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 | @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 | |
41 | |
40 | # |
42 | # |
41 | # entry points for other programs |
43 | # entry points for other programs |
42 | # |
44 | # |
43 | rxvt: |
45 | rxvt: |
44 | (cd src; ${MAKE}) |
46 | (cd src; $(MAKE)) |
45 | |
|
|
46 | clock: |
|
|
47 | (cd rclock; ${MAKE}) |
|
|
48 | |
|
|
49 | graphics qplot: |
|
|
50 | (cd src/graphics; ${MAKE} qplot) |
|
|
51 | |
|
|
52 | tests: |
|
|
53 | (cd src/test; ${MAKE} tests) |
|
|
54 | |
47 | |
55 | #------------------------------------------------------------------------- |
48 | #------------------------------------------------------------------------- |
56 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
49 | configure: configure.ac aclocal.m4 config.h.in |
57 | cd $(srcdir); |
50 | cd $(srcdir); ./autogen.sh |
58 | ./.prebuild |
|
|
59 | |
51 | |
60 | config.status: |
52 | config.status: |
61 | if test -x config.status; then config.status --recheck; \ |
53 | if test -x config.status; then config.status --recheck; \ |
62 | else $(SHELL) configure; fi |
54 | else $(SHELL) configure; fi |
63 | |
55 | |
64 | autoconf/config.h.in: autoconf/configure.in |
56 | config.h.in: configure.ac |
65 | cd $(srcdir); |
57 | cd $(srcdir); ./autogen.sh |
66 | ./.prebuild |
|
|
67 | |
58 | |
68 | installdirs: |
59 | check: all |
69 | $(MKDIR) $(DESTDIR)$(bindir) |
60 | echo "no tests" |
70 | $(MKDIR) $(DESTDIR)$(mandir) |
|
|
71 | |
|
|
72 | install: installdirs |
|
|
73 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
74 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
|
|
75 | |
61 | |
76 | Makefiles: |
62 | Makefiles: |
77 | $(SHELL) config.status |
63 | $(SHELL) config.status |
78 | |
64 | |
79 | cleandir: realclean |
65 | cleandir: realclean |
80 | |
66 | |
81 | # distclean goal is for making a clean source tree, but if you have run |
|
|
82 | # configure from a different directory, then doesn't destroy all your |
|
|
83 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
|
|
84 | # In that case most of those commands do nothing, except cleaning *~ |
|
|
85 | # and cleaning source links. |
|
|
86 | distclean: |
67 | distclean-local: |
87 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
68 | rm -f config.cache config.h config.log config.status |
88 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
69 | rm -f Makefile |
89 | (cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
|
|
90 | |
70 | |
91 | distdir: |
71 | distdir: |
|
|
72 | cd doc && $(MAKE) distdepend |
|
|
73 | cd src && $(MAKE) depend |
92 | rm -rf $(VERNAME) |
74 | rm -rf $(VERNAME) |
93 | mkdir $(VERNAME) |
75 | mkdir $(VERNAME) |
94 | rsync -aR `cat MANIFEST` $(VERNAME)/. |
76 | rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/. |
95 | |
77 | |
96 | tar.gz: distdir |
78 | tar.gz: distdir |
97 | tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
79 | tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
|
|
80 | rm -rf $(VERNAME) |
98 | |
81 | |
99 | tar.bz2: distdir |
82 | tar.bz2: distdir |
100 | tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
83 | tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
|
|
84 | rm -rf $(VERNAME) |
101 | |
85 | |
102 | dist: tar.bz2 |
86 | dist: tar.bz2 |
103 | |
87 | |
104 | # ------------------------------------------------------------------------ |
88 | # ------------------------------------------------------------------------ |