ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/Makefile.in
(Generate patch)

Comparing rxvt-unicode/Makefile.in (file contents):
Revision 1.16 by ayin, Tue Jan 17 12:14:27 2006 UTC vs.
Revision 1.38 by sf-exg, Mon Dec 26 15:44:01 2011 UTC

6SHELL = /bin/sh 6SHELL = /bin/sh
7prefix = @prefix@ 7prefix = @prefix@
8exec_prefix = @exec_prefix@ 8exec_prefix = @exec_prefix@
9bindir = @bindir@ 9bindir = @bindir@
10libdir = @libdir@ 10libdir = @libdir@
11includedir = @includedir@
12man1dir = @mandir@/man1 11man1dir = @mandir@/man1
13man1ext = 1 12man1ext = 1
14man3dir = @mandir@/man3 13man3dir = @mandir@/man3
15man3ext = 3 14man3ext = 3
16man7dir = @mandir@/man7 15man7dir = @mandir@/man7
17man7ext = 7 16man7ext = 7
18CC = @CC@
19CXX = @CXX@
20CPP = @CPP@
21MV = @MV@
22RM = @RM@
23RMF = @RM@ -f
24CP = @CP@
25LN = @LN@
26SED = @SED@
27AWK = @AWK@
28ECHO = @ECHO@
29CMP = @CMP@
30TBL = @TBL@
31PERL = @PERL@ 17PERL = @PERL@
32INSTALL = @INSTALL@ 18INSTALL = @INSTALL@
33INSTALL_PROGRAM = @INSTALL@ -m 755 19INSTALL_PROGRAM = @INSTALL@ -m 755
34INSTALL_DATA = @INSTALL@ -m 644 20INSTALL_DATA = @INSTALL@ -m 644
35CXXFLAGS = @CXXFLAGS@
36CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
37LDFLAGS = @LDFLAGS@
38DEFS = @DEFS@
39LIBS = @LIBS@
40DINCLUDE = @DINCLUDE@
41DLIB = @DLIB@
42XINC = @X_CFLAGS@ @XPM_CFLAGS@
43XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
44COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
45LINK = @LINKER@ $(LDFLAGS)
46 21
47VERNAME = rxvt-unicode-$(VERSION) 22VERNAME = rxvt-unicode-$(VERSION)
48 23
49srcdir = @srcdir@ 24srcdir = @srcdir@
50VPATH = @srcdir@ 25VPATH = @srcdir@
51.PATH: @srcdir@
52 26
53first_rule: all 27first_rule: all
54dummy: 28dummy:
55 29
56subdirs = src doc 30subdirs = src doc
57allsubdirs = $(subdirs)
58 31
59DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog 32RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install
60
61MKDIR = $(srcdir)/autoconf/mkinstalldirs
62 33
63#------------------------------------------------------------------------- 34#-------------------------------------------------------------------------
64 35
65all allbin alldoc tags: 36$(RECURSIVE_TARGETS):
66 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done 37 @for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
67 38
68realclean: clean 39distclean realclean: distclean-local
69 $(RMF) config.h config.status config.log libtool
70
71clean:
72 $(RMF) *~ config.cache
73 $(RMF) -r autom4te.cache
74 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
75 40
76# 41#
77# entry points for other programs 42# entry points for other programs
78# 43#
79rxvt: 44rxvt:
80 (cd src; ${MAKE}) 45 (cd src; $(MAKE))
81
82tests:
83 (cd src/test; ${MAKE} tests)
84 46
85#------------------------------------------------------------------------- 47#-------------------------------------------------------------------------
86configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in 48configure: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4
87 cd $(srcdir); 49 cd $(srcdir); ./autogen.sh
88 ./.prebuild
89 50
90config.status: 51config.status:
91 if test -x config.status; then config.status --recheck; \ 52 if test -x config.status; then config.status --recheck; \
92 else $(SHELL) configure; fi 53 else $(SHELL) configure; fi
93 54
94autoconf/config.h.in: autoconf/configure.in 55config.h.in: configure.ac aclocal.m4 libev/libev.m4 libptytty/ptytty.m4
95 cd $(srcdir); 56 cd $(srcdir); ./autogen.sh
96 ./.prebuild
97
98installdirs:
99 $(MKDIR) $(DESTDIR)$(bindir)
100 $(MKDIR) $(DESTDIR)$(mandir)
101
102install: installdirs
103 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
104 57
105check: all 58check: all
106 echo "no tests" 59 echo "no tests"
107 60
108Makefiles: 61Makefiles:
109 $(SHELL) config.status 62 $(SHELL) config.status
110 63
111cleandir: realclean 64cleandir: realclean
112 65
113# distclean goal is for making a clean source tree, but if you have run
114# configure from a different directory, then doesn't destroy all your
115# hardly compiled and linked stuff. That's why there is always $(srcdir)/
116# In that case most of those commands do nothing, except cleaning *~
117# and cleaning source links.
118distclean: 66distclean-local:
119 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) 67 rm -f config.cache config.h config.log config.status
120 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done 68 rm -f Makefile
121 (cd $(srcdir); $(RMF) Makefile)
122 69
123distdir: 70distdir:
124 cd doc && $(MAKE) distdepend 71 cd doc && $(MAKE) distdepend
125 cd src && $(MAKE) depend 72 cd src && $(MAKE) depend
126 rm -rf $(VERNAME) 73 rm -rf $(VERNAME)
127 mkdir $(VERNAME) 74 mkdir $(VERNAME)
128 rsync -aR `cat MANIFEST` $(VERNAME)/. 75 rsync -aR --copy-unsafe-links `cat MANIFEST` $(VERNAME)/.
129 76
130tar.gz: distdir 77tar.gz: distdir
131 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz 78 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
132 rm -rf $(VERNAME) 79 rm -rf $(VERNAME)
133 80

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines