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

Comparing cvsroot/rxvt-unicode/Makefile.in (file contents):
Revision 1.19 by sasha, Fri Jun 8 20:04:10 2007 UTC vs.
Revision 1.37 by sf-exg, Fri Dec 23 00:20:45 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines