File: Makefile.am

package info (click to toggle)
rblcheck 20020316-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 676 kB
  • sloc: ansic: 400; makefile: 144; sh: 39; awk: 27; perl: 12
file content (66 lines) | stat: -rw-r--r-- 1,697 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
## Process this file with automake to produce Makefile.in

auxdir = @ac_aux_dir@
AUX_DIST = $(auxdir)/install-sh $(auxdir)/missing $(auxdir)/mkinstalldirs

noinst_HEADERS = sites.h

bin_PROGRAMS = rblcheck
rblcheck_SOURCES = rblcheck.c

bin_SCRIPTS = rbl

XFAIL_TESTS =
TESTS = tests/clearlist tests/addlisting tests/removelisting $(XFAIL_TESTS)

# We don't include README.ALPHA or bootstrap here, so we don't include them
# in a "make distcheck". Since all tests are shell scripts, we're including
# the full list verbatim.
EXTRA_DIST = \
	rbl.in				\
	config/install-sh		\
	config/missing			\
	config/mkinstalldirs		\
	config/rblcheck.spec		\
	config/rblcheck.spec.in		\
	config/pkginfo.in		\
	utils/README			\
	utils/test_origip.sh		\
	utils/test_rblcheck.sh		\
	utils/dns/Makefile		\
	utils/dns/dump.c		\
	utils/qmail/Makefile		\
	utils/qmail/origip.awk		\
	utils/qmail/origip.c		\
	utils/sendmail/origip.pl	\
	$(TESTS)

SUBDIRS = docs .

MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.in stamp-h.in \
	$(AUX_DIST)

DISTCLEANFILES = config/rblcheck.spec config/pkginfo

CLEANFILES = config/Prototype rbl

ACLOCAL = aclocal -I $(auxdir)

# Build a Solaris package.
solarispkg: $(bin_PROGRAMS)
	test -x /usr/bin/pkgproto
	test -x /usr/bin/pkgmk
	$(MAKE) DESTDIR=`pwd`/$(distdir) install
	echo 'i pkginfo' > config/Prototype
	pkgproto $(distdir)/usr \
		| sed -e "s, $(distdir), ," >> config/Prototype
	pkgmk -d config -f config/Prototype -r $(distdir)
	pkgtrans config ../$(distdir).pkg rblcheck
	rm -rf $(distdir) config/rblcheck

rbl: rbl.in
	rm -f $@ $@.tmp
	sed -e 's,@bindir\@,$(bindir),g' \
	  -e 's,@sysconfdir\@,$(sysconfdir),g' $< >$@.tmp
	chmod +x $@.tmp
	mv $@.tmp $@