1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
2 | # $Id: Makefile.in,v 1.10 2005/02/02 08:09:23 root Exp $ |
2 | |
3 | @MCOMMON@ |
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) |
|
|
44 | |
|
|
45 | VERNAME = rxvt-unicode-$(VERSION) |
4 | |
46 | |
5 | srcdir = @srcdir@ |
47 | srcdir = @srcdir@ |
6 | VPATH = @srcdir@ |
48 | VPATH = @srcdir@ |
7 | .PATH: @srcdir@ |
|
|
8 | |
49 | |
9 | first_rule: all |
50 | first_rule: all |
10 | dummy: |
51 | dummy: |
11 | |
52 | |
12 | subdirs = src doc |
53 | subdirs = src doc |
13 | allsubdirs = $(subdirs) |
|
|
14 | |
54 | |
15 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
|
|
16 | |
|
|
17 | DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
|
|
18 | autoconf/configure.in autoconf/config.h.in \ |
|
|
19 | autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \ |
|
|
20 | autoconf/config.guess autoconf/config.sub \ |
|
|
21 | autoconf/ltmain.sh \ |
|
|
22 | |
|
|
23 | MKDIR = $(srcdir)/autoconf/mkinstalldirs |
55 | MKDIR = $(srcdir)/mkinstalldirs |
24 | |
56 | |
25 | #------------------------------------------------------------------------- |
57 | #------------------------------------------------------------------------- |
26 | |
58 | |
27 | all allbin alldoc tags: |
59 | all allbin alldoc tags: |
28 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
60 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
29 | |
61 | |
30 | realclean: clean |
62 | distclean realclean: distclean-local |
31 | $(RMF) config.h config.status config.log libtool |
|
|
32 | |
63 | |
33 | clean: |
64 | clean distclean realclean: |
34 | $(RMF) *~ config.cache |
|
|
35 | $(RMF) -r autom4te.cache |
|
|
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
65 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
37 | |
66 | |
38 | # |
67 | # |
39 | # entry points for other programs |
68 | # entry points for other programs |
40 | # |
69 | # |
41 | rxvt: |
70 | rxvt: |
42 | (cd src; ${MAKE}) |
71 | (cd src; ${MAKE}) |
43 | |
72 | |
44 | tests: |
|
|
45 | (cd src/test; ${MAKE} tests) |
|
|
46 | |
|
|
47 | #------------------------------------------------------------------------- |
73 | #------------------------------------------------------------------------- |
48 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
74 | configure: configure.ac aclocal.m4 config.h.in |
49 | cd $(srcdir); |
75 | cd $(srcdir); ./autogen.sh |
50 | ./.prebuild |
|
|
51 | |
76 | |
52 | config.status: |
77 | config.status: |
53 | if test -x config.status; then config.status --recheck; \ |
78 | if test -x config.status; then config.status --recheck; \ |
54 | else $(SHELL) configure; fi |
79 | else $(SHELL) configure; fi |
55 | |
80 | |
56 | autoconf/config.h.in: autoconf/configure.in |
81 | config.h.in: configure.ac |
57 | cd $(srcdir); |
82 | cd $(srcdir); ./autogen.sh |
58 | ./.prebuild |
|
|
59 | |
83 | |
60 | installdirs: |
84 | installdirs: |
61 | $(MKDIR) $(DESTDIR)$(bindir) |
85 | $(MKDIR) $(DESTDIR)$(bindir) |
62 | $(MKDIR) $(DESTDIR)$(mandir) |
86 | $(MKDIR) $(DESTDIR)$(mandir) |
63 | |
87 | |
64 | install: installdirs |
88 | install: installdirs |
65 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
89 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
66 | |
90 | |
|
|
91 | check: all |
|
|
92 | echo "no tests" |
|
|
93 | |
67 | Makefiles: |
94 | Makefiles: |
68 | $(SHELL) config.status |
95 | $(SHELL) config.status |
69 | |
96 | |
70 | cleandir: realclean |
97 | cleandir: realclean |
71 | |
98 | |
72 | # distclean goal is for making a clean source tree, but if you have run |
|
|
73 | # configure from a different directory, then doesn't destroy all your |
|
|
74 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
|
|
75 | # In that case most of those commands do nothing, except cleaning *~ |
|
|
76 | # and cleaning source links. |
|
|
77 | distclean: |
99 | distclean-local: |
78 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
100 | rm -f *~ config.cache config.h config.log config.status libtool |
79 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
101 | rm -f Makefile |
80 | (cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
|
|
81 | |
102 | |
82 | distdir: |
103 | distdir: |
83 | cd doc && $(MAKE) distdepend |
104 | cd doc && $(MAKE) distdepend |
|
|
105 | cd src && $(MAKE) depend |
84 | rm -rf $(VERNAME) |
106 | rm -rf $(VERNAME) |
85 | mkdir $(VERNAME) |
107 | mkdir $(VERNAME) |
86 | rsync -aR `cat MANIFEST` $(VERNAME)/. |
108 | rsync -aR `cat MANIFEST` $(VERNAME)/. |
87 | |
109 | |
88 | tar.gz: distdir |
110 | tar.gz: distdir |