1 |
pcg |
1.1 |
# ./Makefile.in -*- Makefile -*- |
2 |
pcg |
1.5 |
# $Id: Makefile.in,v 1.4 2003/12/18 07:41:39 pcg Exp $ |
3 |
pcg |
1.1 |
@MCOMMON@ |
4 |
|
|
|
5 |
|
|
srcdir = @srcdir@ |
6 |
|
|
VPATH = @srcdir@ |
7 |
|
|
.PATH: @srcdir@ |
8 |
|
|
|
9 |
|
|
first_rule: all |
10 |
|
|
dummy: |
11 |
|
|
|
12 |
pcg |
1.5 |
subdirs = src doc src/test |
13 |
pcg |
1.1 |
allsubdirs = W11 $(subdirs) |
14 |
|
|
|
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 |
24 |
|
|
|
25 |
|
|
#------------------------------------------------------------------------- |
26 |
|
|
|
27 |
|
|
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 |
30 |
|
|
|
31 |
|
|
realclean: clean |
32 |
|
|
$(RMF) config.h config.status config.log libtool |
33 |
|
|
|
34 |
|
|
clean: |
35 |
|
|
$(RMF) *~ config.cache |
36 |
|
|
$(RMF) -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 |
39 |
|
|
|
40 |
|
|
# |
41 |
|
|
# entry points for other programs |
42 |
|
|
# |
43 |
|
|
rxvt: |
44 |
|
|
(cd src; ${MAKE}) |
45 |
|
|
|
46 |
|
|
tests: |
47 |
|
|
(cd src/test; ${MAKE} tests) |
48 |
|
|
|
49 |
|
|
#------------------------------------------------------------------------- |
50 |
|
|
configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
51 |
|
|
cd $(srcdir); |
52 |
|
|
./.prebuild |
53 |
|
|
|
54 |
|
|
config.status: |
55 |
|
|
if test -x config.status; then config.status --recheck; \ |
56 |
|
|
else $(SHELL) configure; fi |
57 |
|
|
|
58 |
|
|
autoconf/config.h.in: autoconf/configure.in |
59 |
|
|
cd $(srcdir); |
60 |
|
|
./.prebuild |
61 |
|
|
|
62 |
|
|
installdirs: |
63 |
|
|
$(MKDIR) $(DESTDIR)$(bindir) |
64 |
|
|
$(MKDIR) $(DESTDIR)$(mandir) |
65 |
|
|
|
66 |
|
|
install: installdirs |
67 |
|
|
@if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
68 |
|
|
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
69 |
|
|
|
70 |
|
|
Makefiles: |
71 |
|
|
$(SHELL) config.status |
72 |
|
|
|
73 |
|
|
cleandir: realclean |
74 |
|
|
|
75 |
|
|
# 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 |
77 |
|
|
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
78 |
|
|
# In that case most of those commands do nothing, except cleaning *~ |
79 |
|
|
# and cleaning source links. |
80 |
|
|
distclean: |
81 |
|
|
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
82 |
|
|
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
83 |
|
|
(cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
84 |
|
|
|
85 |
pcg |
1.3 |
distdir: |
86 |
|
|
rm -rf $(VERNAME) |
87 |
|
|
mkdir $(VERNAME) |
88 |
|
|
rsync -aR `cat MANIFEST` $(VERNAME)/. |
89 |
pcg |
1.1 |
|
90 |
pcg |
1.3 |
tar.gz: distdir |
91 |
|
|
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
92 |
pcg |
1.4 |
rm -rf $(VERNAME) |
93 |
pcg |
1.1 |
|
94 |
pcg |
1.3 |
tar.bz2: distdir |
95 |
|
|
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
96 |
pcg |
1.4 |
rm -rf $(VERNAME) |
97 |
pcg |
1.1 |
|
98 |
pcg |
1.3 |
dist: tar.bz2 |
99 |
pcg |
1.1 |
|
100 |
|
|
# ------------------------------------------------------------------------ |