1 # ./Makefile.in -*- Makefile -*-
8 exec_prefix = @exec_prefix@
11 includedir = @includedir@
12 man1dir = @mandir@/man1
14 man3dir = @mandir@/man3
16 man7dir = @mandir@/man7
33 INSTALL_PROGRAM = @INSTALL@ -m 755
34 INSTALL_DATA = @INSTALL@ -m 644
36 CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
42 XINC = @X_CFLAGS@ @XPM_CFLAGS@
43 XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
44 COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
45 LINK = @LINKER@ $(LDFLAGS)
47 VERNAME = rxvt-unicode-$(VERSION)
57 allsubdirs = $(subdirs)
59 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
61 MKDIR = $(srcdir)/autoconf/mkinstalldirs
63 #-------------------------------------------------------------------------
65 all allbin alldoc tags:
66 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
69 $(RMF) config.h config.status config.log libtool
72 $(RMF) *~ config.cache
73 $(RMF) -r autom4te.cache
74 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
77 # entry points for other programs
83 (cd src/test; ${MAKE} tests)
85 #-------------------------------------------------------------------------
86 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
91 if test -x config.status; then config.status --recheck; \
92 else $(SHELL) configure; fi
94 autoconf/config.h.in: autoconf/configure.in
99 $(MKDIR) $(DESTDIR)$(bindir)
100 $(MKDIR) $(DESTDIR)$(mandir)
103 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
109 $(SHELL) config.status
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.
119 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
120 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
121 (cd $(srcdir); $(RMF) Makefile)
124 cd doc && $(MAKE) distdepend
125 cd src && $(MAKE) depend
128 rsync -aR `cat MANIFEST` $(VERNAME)/.
131 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
135 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
140 # ------------------------------------------------------------------------