aboutsummaryrefslogtreecommitdiff
path: root/rtr-origin/Makefile.in
blob: daa180096126801a54dae051c2c39fc47abaf372 (plain) (blame)
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
# $Id$

BASE		= rtr-origin
SRC		= ${BASE}.py
BIN		= ${BASE}

INSTALL		= @INSTALL@
PYTHON		= @PYTHON@
AWK		= @AWK@

prefix		= @prefix@
exec_prefix	= @exec_prefix@
datarootdir	= @datarootdir@
datadir		= @datadir@
localstatedir	= @localstatedir@
sharedstatedir	= @sharedstatedir@
sysconfdir	= @sysconfdir@
bindir		= @bindir@
sbindir		= @sbindir@
libexecdir	= @libexecdir@
libdir		= @libdir@

abs_top_srcdir	 = @abs_top_srcdir@
abs_top_builddir = @abs_top_builddir@

RTR_ORIGIN_INSTALL_TARGETS = @RCYNIC_INSTALL_TARGETS@

RPKI_RTR_PORT	= 43779

SCAN_ROAS	= ${bindir}/scan_roas


all: ${BIN}

clean:
	rm -f ${BIN}

install: all ${RTR_ORIGIN_INSTALL_TARGETS}

install-binary:
	if test -d ${DESTDIR}${bindir} ; then :; else ${INSTALL} -m 555 -d ${DESTDIR}${bindir}; fi
	${INSTALL} -m 555 ${BIN} ${DESTDIR}${bindir}/${BIN}

deinstall uninstall:
	rm -f ${DESTDIR}${bindir}/${BIN}

distclean: clean
	rm -rf current sockets *.ax *.ix.*
	rm -f Makefile

${BIN} : ${SRC}
	AC_PYTHON_INTERPRETER='${PYTHON}' AC_SCAN_ROAS='${SCAN_ROAS}' \
	${PYTHON} ${abs_top_srcdir}/buildtools/make-rcynic-script.py <${SRC} >$@
	chmod a+x $@

test:
	@true

.FORCE:

# Platform-specific rules below here.

@RTR_ORIGIN_MAKE_RULES@