ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/Makefile.in
Revision: 1.3
Committed: Thu Dec 18 00:56:51 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
Changes since 1.2: +10 -24 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 # ./Makefile.in -*- Makefile -*-
2 # $Id: Makefile.in,v 1.2 2003/11/24 17:31:26 pcg Exp $
3 @MCOMMON@
4
5 srcdir = @srcdir@
6 VPATH = @srcdir@
7 .PATH: @srcdir@
8
9 first_rule: all
10 dummy:
11
12 subdirs = src doc src/graphics src/test
13 allsubdirs = W11 $(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/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
25 #-------------------------------------------------------------------------
26
27 all allbin alldoc tags:
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
30
31 realclean: clean
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
40 #
41 # entry points for other programs
42 #
43 rxvt:
44 (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
55 #-------------------------------------------------------------------------
56 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
57 cd $(srcdir);
58 ./.prebuild
59
60 config.status:
61 if test -x config.status; then config.status --recheck; \
62 else $(SHELL) configure; fi
63
64 autoconf/config.h.in: autoconf/configure.in
65 cd $(srcdir);
66 ./.prebuild
67
68 installdirs:
69 $(MKDIR) $(DESTDIR)$(bindir)
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
76 Makefiles:
77 $(SHELL) config.status
78
79 cleandir: realclean
80
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:
87 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
88 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
89 (cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
90
91 distdir:
92 rm -rf $(VERNAME)
93 mkdir $(VERNAME)
94 rsync -aR `cat MANIFEST` $(VERNAME)/.
95
96 tar.gz: distdir
97 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
98
99 tar.bz2: distdir
100 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
101
102 dist: tar.bz2
103
104 # ------------------------------------------------------------------------