File: Makefile.in

package info (click to toggle)
gnats 4.1.0-3
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 5,912 kB
  • sloc: ansic: 22,478; sh: 9,854; tcl: 8,156; lisp: 2,254; perl: 1,740; yacc: 1,632; makefile: 1,207; lex: 449; sql: 280; sed: 22
file content (108 lines) | stat: -rw-r--r-- 2,994 bytes parent folder | download | duplicates (8)
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
# The top-level Makefile for GNU GNATS
# Copyright (C) 2001, 2002 Milan Zamazal
#
# This file is part of GNU GNATS.
#
# GNU GNATS 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.
# 
# GNU GNATS 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 GNU GNATS; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

VERSION = @PACKAGE_VERSION@
DISTDIR = gnats-$(VERSION)

srcdir = @srcdir@
VPATH = @srcdir@

SUBDIRS = gnats send-pr doc

# Standard GNU targets
.PHONY: all install install-strip uninstall clean distclean distclean-here \
	mostlyclean maintainer-clean TAGS info dvi dist check
# GNATS specific targets
.PHONY: all-gnats all-tools

all: all-gnats

all-gnats:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

all-tools:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

install: install-gnats

install-gnats:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

install-strip:
	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' $@

install-tools:
	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' $@

uninstall:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

mostlyclean:
	-rm -f TAGS *.tar *.tar.gz
	-rm -f .\#* *~*
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

clean: mostlyclean
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

distclean: clean distclean-here
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
distclean-here:
	-rm -f Makefile config.status config.cache config.log
	-rm -f .\#* \#* *~*
	-rm -f *.orig *.rej

maintainer-clean: distclean-here
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

Makefile: $(srcdir)/Makefile.in config.status
	./config.status

TAGS:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

info:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

dvi:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

dist: maintainer-clean
	./configure
	$(MAKE)
	$(MAKE) distclean
	-rm -rf $(DISTDIR)
	mkdir $(DISTDIR)
	find \( -maxdepth 1 -not -name . -not -name .. -not -name $(DISTDIR) \
		-not -name debian \) -print0 | \
		xargs --null cp -al --target-directory=$(DISTDIR)
	find $(DISTDIR) \( -name CVS -o -name .cvsignore \) -print0 | \
		xargs --null --no-run-if-empty rm -r
	-find $(DISTDIR) -type d -print0 | \
		xargs --null --no-run-if-empty rmdir -p 2>/dev/null
	set -e; for i in gnats/configure gnats/configure.in; do \
		sed 's/-Werror//' $(DISTDIR)/$$i >$(DISTDIR)/$$i.tmp; \
		mv $(DISTDIR)/$$i.tmp $(DISTDIR)/$$i; \
	done
	tar cvf $(DISTDIR).tar $(DISTDIR)
	rm -rf $(DISTDIR)
	gzip -9 $(DISTDIR).tar

check:
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done