mirror of https://framagit.org/bortzmeyer/echoping
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
595 B
Makefile
30 lines
595 B
Makefile
PLUGIN=random.so
|
|
MANPAGE=echoping_random.1
|
|
DISTFILES=random.c Makefile.in configure.ac configure config.h.in ${MANPAGE}
|
|
|
|
ifeq (@RANDOM_BUILD@,1)
|
|
all: ${PLUGIN}
|
|
else
|
|
all:
|
|
@echo "Not building the random plugin"
|
|
endif
|
|
|
|
include ../Makefile.plugins
|
|
|
|
ifeq (@RANDOM_BUILD@,1)
|
|
install: all prepare-install
|
|
${INSTALL} ${PLUGIN} ${DESTDIR}
|
|
${INSTALL} ${MANPAGE} ${MANDIR}/man1
|
|
else
|
|
install:
|
|
@echo "Not installing the random plugin"
|
|
endif
|
|
|
|
distdir:
|
|
test -d ../${top_distdir}/plugins/random || mkdir ../${top_distdir}/plugins/random
|
|
${INSTALL} ${DISTFILES} ../${top_distdir}/plugins/random
|
|
|
|
# $Id$
|
|
|
|
|