File: Makefile.in

package info (click to toggle)
tua 4.3-11
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 940 kB
  • ctags: 522
  • sloc: ansic: 5,619; makefile: 486; yacc: 395; sh: 185
file content (116 lines) | stat: -rw-r--r-- 3,356 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Makefile for "The Uucp Analyzer"
#
# This file is part of TUA.
#
#   Copyright (C) 1991,96  Lele Gaifax
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

PACKAGE = @PACKAGE@
VERSION = @VERSION@

SHELL =	/bin/sh
@SET_MAKE@

TAR = /usr/local/bin/gtar

srcdir=@srcdir@
VPATH=@srcdir@

DISTFILES = README NEWS COPYING ChangeLog ChangeLog.O INSTALL PROJECTS \
	TUA.tiff configure Makefile.in configure.in acconfig.h \
	aclocal.m4 install.sh config.h.in mkinstalldirs ABOUT-NLS \
	stamp-h.in

SUBDIRS = @INTLSUB@ @POSUB@ src lib doc 

default: all

all install install-exec install-data uninstall TAGS \
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive dist-recursive: config.h Makefile
	for subdir in $(SUBDIRS); do \
	  target=`echo $@|sed 's/-recursive//'`; \
	  echo making $$target in $$subdir; \
	  (cd $$subdir && $(MAKE) $$target) || exit 1; \
	done

distdir = $(PACKAGE)-$(VERSION)
dist-local: Makefile
	rm -fr $(distdir)
	mkdir $(distdir)
	chmod 777 $(distdir)
	for file in $(DISTFILES); do \
	  ln $$file $(distdir) \
	    || { echo copying $$file instead; cp -p $$file $(distdir);}; \
	done
	for subdir in $(SUBDIRS); do \
          mkdir $(distdir)/$$subdir || exit 1; \
          chmod 777 $(distdir)/$$subdir; \
        done

dist: dist-local dist-recursive
	$(TAR) --gzip -chvf `echo $(distdir) | tr A-Z a-z`.tar.gz $(distdir)
	rm -fr $(distdir)

mostlyclean: mostlyclean-recursive mostlyclean-local
mostlyclean-local:

clean: clean-recursive clean-local
clean-local: mostlyclean-local
	rm -f *~

distclean: distclean-recursive distclean-local
distclean-local: clean-local
	rm -f Makefile config.cache config.h config.log stamp-h 
	rm -f config.status

maintainer-clean: maintainer-clean-recursive maintainer-clean-local
maintainer-clean-local: distclean-local
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."
	rm -f configure

check: all
	src/tua

dvi info docs:
	cd doc && $(MAKE) $@

# For understanding the following see the autoconf manual.
configure: configure.in aclocal.m4
	cd $(srcdir) && autoconf

# autoheader might not change config.h.in
config.h.in: stamp-h.in
stamp-h.in: configure.in acconfig.h
	cd $(srcdir) && autoheader
	rm -f $(srcdir)/stamp-h.in && echo timestamp > $(srcdir)/stamp-h.in

#config.status might not change config.h
# Don't rerun config.status if we just configured.
config.h: stamp-h
stamp-h: config.h.in config.status
	test ! -f stamp-h || ./config.status
	rm -f stamp-h && echo timestamp > stamp-h

Makefile: Makefile.in config.status
	./config.status

config.status: configure config.h.in
	./config.status --recheck

tags: TAGS