-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
71 lines (60 loc) · 1.82 KB
/
Makefile.am
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
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = gnits 1.1k
@SET_MAKE@
SUBDIRS = src data
#
# include *ogig and *rej here for files generated by patch?
#
DISTCLEANFILES = *~ *% tags
EXTRA_DIST =
tags:
ctags src/*.c src/*.h
wordcount:
wc src/*.c src/*.h
maintainer-check:
# Tag before making distribution. Also, don't make a distribution if
# checks fail. Also, make sure the NEWS file is up-to-date.
cvs-dist: maintainer-check
pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
tag="$$pkg-$$ver"; \
echo tag=$$tag; \
if cvs -n log -h README| grep -e $$tag > /dev/null; then \
echo "VERSION not new; not releasing" 1>&2; \
exit 1; \
else :; \
fi; \
cvs tag -c $$tag
$(MAKE) dist
vpathcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck
-rm -rf $(distdir)
@banner="Successfull VPATH build for $(distdir).tar.gz"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
acdir = m4
@MAINT@aclocal-files: configure.in
@MAINT@ echo 'acfiles = \' > $@-tmp
@MAINT@ find $(acdir) -type f -name '*.m4' -print \
@MAINT@ | sed 's!^!$(top_srcdir)/!' \
@MAINT@ | tr '\012' ' ' \
@MAINT@ >> $@-tmp
@MAINT@ echo >> $@-tmp
@MAINT@ mv $@-tmp $@
@MAINT@include aclocal-files
@MAINT@# Override default rule to use --acdir option
@MAINT@$(srcdir)/aclocal.m4: configure.in $(acfiles)
@MAINT@ cd $(srcdir) && aclocal --acdir=$(acdir)