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