1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
|
|
2 | |
|
|
3 | DATE=@DATE@ |
|
|
4 | VERSION=@VERSION@ |
|
|
5 | RXVTNAME=@RXVTNAME@ |
|
|
6 | SHELL = /bin/sh |
|
|
7 | prefix = @prefix@ |
|
|
8 | exec_prefix = @exec_prefix@ |
|
|
9 | bindir = @bindir@ |
|
|
10 | libdir = @libdir@ |
|
|
11 | includedir = @includedir@ |
|
|
12 | man1dir = @mandir@/man1 |
|
|
13 | man1ext = 1 |
|
|
14 | man3dir = @mandir@/man3 |
|
|
15 | man3ext = 3 |
|
|
16 | man7dir = @mandir@/man7 |
|
|
17 | man7ext = 7 |
|
|
18 | CC = @CC@ |
|
|
19 | CXX = @CXX@ |
|
|
20 | CPP = @CPP@ |
|
|
21 | MV = @MV@ |
|
|
22 | CP = @CP@ |
|
|
23 | LN = @LN@ |
|
|
24 | SED = @SED@ |
|
|
25 | AWK = @AWK@ |
|
|
26 | ECHO = @ECHO@ |
|
|
27 | CMP = @CMP@ |
|
|
28 | TBL = @TBL@ |
|
|
29 | PERL = @PERL@ |
|
|
30 | INSTALL = @INSTALL@ |
|
|
31 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
|
|
32 | INSTALL_DATA = @INSTALL@ -m 644 |
|
|
33 | CXXFLAGS = @CXXFLAGS@ |
|
|
34 | CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
|
|
35 | LDFLAGS = @LDFLAGS@ |
|
|
36 | DEFS = @DEFS@ |
|
|
37 | LIBS = @LIBS@ |
|
|
38 | DINCLUDE = @DINCLUDE@ |
|
|
39 | DLIB = @DLIB@ |
|
|
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) |
2 | |
44 | |
3 | VERNAME = rxvt-unicode-$(VERSION) |
45 | VERNAME = rxvt-unicode-$(VERSION) |
4 | |
46 | |
5 | srcdir = @srcdir@ |
47 | srcdir = @srcdir@ |
6 | VPATH = @srcdir@ |
48 | VPATH = @srcdir@ |
… | |
… | |
12 | subdirs = src doc |
54 | subdirs = src doc |
13 | allsubdirs = $(subdirs) |
55 | allsubdirs = $(subdirs) |
14 | |
56 | |
15 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
57 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
16 | |
58 | |
17 | DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
|
|
18 | autoconf/configure.in autoconf/config.h.in \ |
|
|
19 | autoconf/install-sh autoconf/mkinstalldirs \ |
|
|
20 | autoconf/config.guess autoconf/config.sub \ |
|
|
21 | autoconf/ltmain.sh \ |
|
|
22 | |
|
|
23 | MKDIR = $(srcdir)/autoconf/mkinstalldirs |
59 | MKDIR = $(srcdir)/mkinstalldirs |
24 | |
60 | |
25 | #------------------------------------------------------------------------- |
61 | #------------------------------------------------------------------------- |
26 | |
62 | |
27 | all allbin alldoc tags: |
63 | all allbin alldoc tags: |
28 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
29 | |
65 | |
30 | realclean: clean |
66 | distclean realclean: distclean-local |
31 | $(RMF) config.h config.status config.log libtool |
|
|
32 | |
67 | |
33 | clean: |
68 | clean distclean realclean: |
34 | $(RMF) *~ config.cache |
|
|
35 | $(RMF) -r autom4te.cache |
|
|
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
69 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
37 | |
70 | |
38 | # |
71 | # |
39 | # entry points for other programs |
72 | # entry points for other programs |
40 | # |
73 | # |
… | |
… | |
43 | |
76 | |
44 | tests: |
77 | tests: |
45 | (cd src/test; ${MAKE} tests) |
78 | (cd src/test; ${MAKE} tests) |
46 | |
79 | |
47 | #------------------------------------------------------------------------- |
80 | #------------------------------------------------------------------------- |
48 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
81 | configure: configure.ac aclocal.m4 config.h.in |
49 | cd $(srcdir); |
82 | cd $(srcdir); ./autogen.sh |
50 | ./.prebuild |
|
|
51 | |
83 | |
52 | config.status: |
84 | config.status: |
53 | if test -x config.status; then config.status --recheck; \ |
85 | if test -x config.status; then config.status --recheck; \ |
54 | else $(SHELL) configure; fi |
86 | else $(SHELL) configure; fi |
55 | |
87 | |
56 | autoconf/config.h.in: autoconf/configure.in |
88 | config.h.in: configure.ac |
57 | cd $(srcdir); |
89 | cd $(srcdir); ./autogen.sh |
58 | ./.prebuild |
|
|
59 | |
90 | |
60 | installdirs: |
91 | installdirs: |
61 | $(MKDIR) $(DESTDIR)$(bindir) |
92 | $(MKDIR) $(DESTDIR)$(bindir) |
62 | $(MKDIR) $(DESTDIR)$(mandir) |
93 | $(MKDIR) $(DESTDIR)$(mandir) |
63 | |
94 | |
… | |
… | |
75 | # distclean goal is for making a clean source tree, but if you have run |
106 | # distclean goal is for making a clean source tree, but if you have run |
76 | # configure from a different directory, then doesn't destroy all your |
107 | # configure from a different directory, then doesn't destroy all your |
77 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
108 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
78 | # In that case most of those commands do nothing, except cleaning *~ |
109 | # In that case most of those commands do nothing, except cleaning *~ |
79 | # and cleaning source links. |
110 | # and cleaning source links. |
80 | distclean: |
111 | distclean-local: |
81 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
112 | rm -f *~ config.cache config.h config.log config.status libtool |
82 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
113 | rm -f Makefile |
83 | (cd $(srcdir); $(RMF) Makefile) |
|
|
84 | |
114 | |
85 | distdir: |
115 | distdir: |
86 | cd doc && $(MAKE) distdepend |
116 | cd doc && $(MAKE) distdepend |
87 | cd src && $(MAKE) depend |
117 | cd src && $(MAKE) depend |
88 | rm -rf $(VERNAME) |
118 | rm -rf $(VERNAME) |