1 |
# ./Makefile.in -*- Makefile -*- |
2 |
|
3 |
SHELL = /bin/sh |
4 |
|
5 |
srcdir = @srcdir@ |
6 |
VPATH = @srcdir@ |
7 |
.PATH: @srcdir@ |
8 |
|
9 |
first_rule: all |
10 |
dummy: |
11 |
|
12 |
subdirs = src doc |
13 |
allsubdirs = $(subdirs) |
14 |
|
15 |
all allbin alldoc tags install: |
16 |
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
17 |
|
18 |
realclean: clean |
19 |
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
20 |
$(RMF) config.h config.status config.log libtool |
21 |
|
22 |
clean: |
23 |
$(RMF) *~ config.cache |
24 |
$(RMF) -r autom4te.cache |
25 |
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
26 |
|
27 |
check: all |
28 |
echo "no tests" |
29 |
|
30 |
cleandir: realclean |
31 |
|
32 |
# distclean goal is for making a clean source tree, but if you have run |
33 |
# configure from a different directory, then doesn't destroy all your |
34 |
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
35 |
# In that case most of those commands do nothing, except cleaning *~ |
36 |
# and cleaning source links. |
37 |
distclean: |
38 |
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
39 |
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
40 |
(cd $(srcdir); $(RMF) Makefile) |
41 |
|
42 |
distdir: |
43 |
cd src && $(MAKE) depend |
44 |
rm -rf $(VERNAME) |
45 |
mkdir $(VERNAME) |
46 |
rsync -aR `cat MANIFEST` $(VERNAME)/. |
47 |
|
48 |
tar.gz: distdir |
49 |
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
50 |
rm -rf $(VERNAME) |
51 |
|
52 |
tar.bz2: distdir |
53 |
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
54 |
rm -rf $(VERNAME) |
55 |
|
56 |
dist: tar.bz2 |
57 |
|