1 # ./Makefile.in -*- Makefile -*-
8 exec_prefix = @exec_prefix@
11 includedir = @includedir@
12 man1dir = @mandir@/man1
14 man3dir = @mandir@/man3
16 man7dir = @mandir@/man7
31 INSTALL_PROGRAM = @INSTALL@ -m 755
32 INSTALL_DATA = @INSTALL@ -m 644
34 CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
40 XINC = @X_CFLAGS@ @XPM_CFLAGS@
41 XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
42 COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
43 LINK = @LINKER@ $(LDFLAGS)
45 VERNAME = rxvt-unicode-$(VERSION)
55 allsubdirs = $(subdirs)
57 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
59 MKDIR = $(srcdir)/mkinstalldirs
61 #-------------------------------------------------------------------------
63 all allbin alldoc tags:
64 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
66 distclean realclean: distclean-local
68 clean distclean realclean:
69 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
72 # entry points for other programs
78 (cd src/test; ${MAKE} tests)
80 #-------------------------------------------------------------------------
81 configure: configure.ac aclocal.m4 config.h.in
82 cd $(srcdir); ./autogen.sh
85 if test -x config.status; then config.status --recheck; \
86 else $(SHELL) configure; fi
88 config.h.in: configure.ac
89 cd $(srcdir); ./autogen.sh
92 $(MKDIR) $(DESTDIR)$(bindir)
93 $(MKDIR) $(DESTDIR)$(mandir)
96 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
102 $(SHELL) config.status
106 # distclean goal is for making a clean source tree, but if you have run
107 # configure from a different directory, then doesn't destroy all your
108 # hardly compiled and linked stuff. That's why there is always $(srcdir)/
109 # In that case most of those commands do nothing, except cleaning *~
110 # and cleaning source links.
112 rm -f *~ config.cache config.h config.log config.status libtool
116 cd doc && $(MAKE) distdepend
117 cd src && $(MAKE) depend
120 rsync -aR `cat MANIFEST` $(VERNAME)/.
123 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
127 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
132 # ------------------------------------------------------------------------