blob: 651eceae717b2afe9f51aaf198a6ff5b051a5ea0 (
plain)
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
|
## -*- Mode: Makefile -*-
## Makefile.am --- process this file with automake to produce Makefile.in
##
## Time-stamp: "2012-06-10 13:55:27 bkorb"
##
## This file is part of AutoGen.
## AutoGen Copyright (c) 1992-2012 by Bruce Korb - all rights reserved
##
## AutoGen 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 3 of the License, or
## (at your option) any later version.
##
## AutoGen 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, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I config
SUBDIRS = compat snprintfv autoopts agen5
if DO_SHELL_CMDS
if HAVE_XML_LIB
SUBDIRS += columns getdefs xml2ag doc pkg
else
SUBDIRS += columns getdefs pkg
endif
else
## Without shell commands, you cannot build docs or packages and the
## columns and getdefs commands are unworkable.
##
if HAVE_XML_LIB
SUBDIRS += xml2ag
endif
endif
pkgdata_DATA = config/conftest.tpl config/confmacs.tlib config/liboptschk.m4
misc_extra = \
VERSION config/bootstrap \
config/bootstrap.local config/bootstrap.shlib \
config/ag_macros.m4 config/extensions.m4 \
config/gnulib-cache.m4 config/gnulib-comp.m4 \
config/libopts.m4 config/liboptschk.m4 \
config/snprintfv.m4 config/unlocked-io.m4 \
autoopts/parse-duration.c autoopts/parse-duration.h
EXTRA_DIST = $(misc_extra) $(pkgdata_DATA)
DISTCLEANFILES = stamp-h
distcleancheck_listfiles = \
find -type f -exec 'test -f $(srcdir)/{} || echo {} ;'
configure : VERSION
pkg : package
package :
cd pkg && $(MAKE) $@ pkgtype="$(pkgtype)"
docs : gnudocs doxydocs
gnudoc : gnudocs
gnudocs :
cd doc && $(MAKE) gnudocs
doxydocs :
test -f Doxyfile || cp ~/.Doxyfile ./Doxyfile ; \
doxygen
usage-txt.po: gettext
gettext :
cd autoopts && $(MAKE) usage-txt.po
all : config/shdefs
config/shdefs: config/mk-shdefs
$(SHELL) $< $@
if HAVE_XML_LIB
release : distcheck
else
release :
echo "Distributions cannot be made with a partial build" >&2
exit 1
endif
.NOTPARALLEL:
.PHONY: pkg package docs gnudoc gnudocs
## Makefile.am ends here
|