File: Makefile.am

package info (click to toggle)
bgpq4 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 608 kB
  • sloc: ansic: 6,303; sh: 99; makefile: 44
file content (43 lines) | stat: -rw-r--r-- 984 bytes parent folder | download
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
SUBDIRS = include
ACLOCAL_AMFLAGS = -I m4

AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS += -I$(top_srcdir)/compat

AUTOMAKE_OPTIONS=foreign subdir-objects

bin_PROGRAMS=bgpq4
dist_man8_MANS=bgpq4.8

bgpq4_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD)

if !HAVE_STRLCPY
SUBDIRS += compat
bgpq4_LDADD += $(top_builddir)/compat/libcompat.la
endif

bgpq4_SOURCES=main.c extern.h printer.c expander.c \
    sx_prefix.c sx_prefix.h \
    sx_report.c sx_report.h \
    sx_slentry.c


EXTRA_DIST=bootstrap README.md CHANGES

MAINTAINERCLEANFILES=configure aclocal.m4 compile \
                     install-sh missing Makefile.in depcomp \
                     stamp-h1 compat/Makefile.in \
		     config.guess config.sub include/Makefile.in \
		     ltmain.sh

maintainer-clean-local:
	-rm -rf m4 autom4te.cache

check:
	./bgpq4 -v
	@echo
	-if [ -s /etc/resolv.conf ]; then \
		./bgpq4 -ddd -6 AS15562:AS-SNIJDERS ; \
	else \
		echo "No or empty /etc/resolv.conf, skipping online test"; \
	fi