1 | # ./Makefile.in -*- Makefile -*- |
1 | # ./Makefile.in -*- Makefile -*- |
2 | # $Id: Makefile.in,v 1.2 2003/11/24 17:31:26 pcg 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@ |
49 | .PATH: @srcdir@ |
8 | |
50 | |
9 | first_rule: all |
51 | first_rule: all |
10 | dummy: |
52 | dummy: |
11 | |
53 | |
12 | subdirs = src doc src/graphics src/test |
54 | subdirs = src doc |
13 | allsubdirs = W11 $(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/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 |
59 | MKDIR = $(srcdir)/mkinstalldirs |
24 | |
60 | |
25 | #------------------------------------------------------------------------- |
61 | #------------------------------------------------------------------------- |
26 | |
62 | |
27 | all allbin alldoc tags: |
63 | all allbin alldoc tags: |
28 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
29 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
30 | |
65 | |
31 | realclean: clean |
66 | realclean: clean |
32 | $(RMF) config.h config.status config.log libtool |
67 | rm -f config.h config.status config.log libtool |
33 | |
68 | |
34 | clean: |
69 | clean: |
35 | $(RMF) *~ config.cache |
70 | rm -f *~ config.cache |
36 | $(RMF) -r autom4te.cache |
71 | rm -f -r autom4te.cache |
37 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
38 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
72 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
39 | |
73 | |
40 | # |
74 | # |
41 | # entry points for other programs |
75 | # entry points for other programs |
42 | # |
76 | # |
43 | rxvt: |
77 | rxvt: |
44 | (cd src; ${MAKE}) |
78 | (cd src; ${MAKE}) |
45 | |
79 | |
46 | clock: |
|
|
47 | (cd rclock; ${MAKE}) |
|
|
48 | |
|
|
49 | graphics qplot: |
|
|
50 | (cd src/graphics; ${MAKE} qplot) |
|
|
51 | |
|
|
52 | tests: |
80 | tests: |
53 | (cd src/test; ${MAKE} tests) |
81 | (cd src/test; ${MAKE} tests) |
54 | |
82 | |
55 | #------------------------------------------------------------------------- |
83 | #------------------------------------------------------------------------- |
56 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
84 | configure: configure.ac aclocal.m4 config.h.in |
57 | cd $(srcdir); |
85 | cd $(srcdir); ./autogen.sh |
58 | ./.prebuild |
|
|
59 | |
86 | |
60 | config.status: |
87 | config.status: |
61 | if test -x config.status; then config.status --recheck; \ |
88 | if test -x config.status; then config.status --recheck; \ |
62 | else $(SHELL) configure; fi |
89 | else $(SHELL) configure; fi |
63 | |
90 | |
64 | autoconf/config.h.in: autoconf/configure.in |
91 | config.h.in: configure.ac |
65 | cd $(srcdir); |
92 | cd $(srcdir); ./autogen.sh |
66 | ./.prebuild |
|
|
67 | |
93 | |
68 | installdirs: |
94 | installdirs: |
69 | $(MKDIR) $(DESTDIR)$(bindir) |
95 | $(MKDIR) $(DESTDIR)$(bindir) |
70 | $(MKDIR) $(DESTDIR)$(mandir) |
96 | $(MKDIR) $(DESTDIR)$(mandir) |
71 | |
97 | |
72 | install: installdirs |
98 | install: installdirs |
73 | @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
|
|
74 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
99 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
|
|
100 | |
|
|
101 | check: all |
|
|
102 | echo "no tests" |
75 | |
103 | |
76 | Makefiles: |
104 | Makefiles: |
77 | $(SHELL) config.status |
105 | $(SHELL) config.status |
78 | |
106 | |
79 | cleandir: realclean |
107 | cleandir: realclean |
… | |
… | |
82 | # configure from a different directory, then doesn't destroy all your |
110 | # configure from a different directory, then doesn't destroy all your |
83 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
111 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
84 | # In that case most of those commands do nothing, except cleaning *~ |
112 | # In that case most of those commands do nothing, except cleaning *~ |
85 | # and cleaning source links. |
113 | # and cleaning source links. |
86 | distclean: |
114 | distclean: |
87 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
115 | rm -f *~ config.cache config.h config.log config.status libtool |
88 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
116 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
89 | (cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
117 | rm -f Makefile |
90 | |
118 | |
91 | distdirs: |
119 | distdir: |
|
|
120 | cd doc && $(MAKE) distdepend |
|
|
121 | cd src && $(MAKE) depend |
|
|
122 | rm -rf $(VERNAME) |
92 | mkdir ../$(VERNAME); |
123 | mkdir $(VERNAME) |
93 | mkdir ../$(VERNAME)/autoconf; |
124 | rsync -aR `cat MANIFEST` $(VERNAME)/. |
94 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || (echo "Failed to make distclean in $$I"; exit 0) ); done |
|
|
95 | |
125 | |
96 | distcopy: |
126 | tar.gz: distdir |
97 | $(CP) -p $(DIST) ../$(VERNAME); |
127 | tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
98 | $(CP) -p $(DIST_CFG) ../$(VERNAME)/autoconf; |
128 | rm -rf $(VERNAME) |
99 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
|
|
100 | |
129 | |
101 | distrib: configure autoconf/config.h.in distdirs distcopy |
130 | tar.bz2: distdir |
|
|
131 | tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
|
|
132 | rm -rf $(VERNAME) |
102 | |
133 | |
103 | tar.gz: ../$(VERNAME).tar.gz |
134 | dist: tar.bz2 |
104 | ../$(VERNAME).tar.gz: |
|
|
105 | (cd ..; tar cvf - $(VERNAME) | gzip -f9 > $(VERNAME).tar.gz) |
|
|
106 | |
|
|
107 | tar.Z: ../$(VERNAME).tar.Z |
|
|
108 | ../$(VERNAME).tar.Z: |
|
|
109 | (cd ..; tar cvf - $(VERNAME) | compress > $(VERNAME).tar.Z) |
|
|
110 | |
|
|
111 | tar.bz2: ../$(VERNAME).tar.bz2 |
|
|
112 | ../$(VERNAME).tar.bz2: |
|
|
113 | (cd ..; tar cvf - $(VERNAME) | bzip2 -f9 > $(VERNAME).tar.bz2) |
|
|
114 | |
|
|
115 | uuencode: tar.gz |
|
|
116 | uuencode ../$(VERNAME).tar.gz $(VERNAME).tar.gz > ../$(VERNAME).tgz.uu |
|
|
117 | |
135 | |
118 | # ------------------------------------------------------------------------ |
136 | # ------------------------------------------------------------------------ |