#
# (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile,v 1.2 2012/01/27 15:05:38 misho Exp $
#
prefix = /usr/local
exec_prefix = ${prefix}
libdir = ${exec_prefix}/lib
INSTALL = /usr/bin/install -c
VERS = 1.0
LIBSO = libaitmqtt.so
LIBA = libaitmqtt.a
RTLM_PUB = mqtt_pub.so
RTLM_ACC = mqtt_acc.so
RTLM_LOG = mqtt_log.so
all:
@ln -sf ${LIBSO} ${LIBSO}.${VERS}
depend:
clean:
@rm -f ${LIBSO} ${LIBA} ${LIBSO}.${VERS} *~ ${RTLM_PUB} ${RTLM_ACC}
install:
${INSTALL} ${LIBA} ${libdir}
${INSTALL} ${LIBSO} ${libdir}
@ln -fs ${libdir}/${LIBSO} ${libdir}/${LIBSO}.${VERS}
${INSTALL} -d ${libdir}/mqtt
${INSTALL} ${RTLM_PUB} ${libdir}/mqtt
${INSTALL} ${RTLM_ACC} ${libdir}/mqtt
${INSTALL} ${RTLM_LOG} ${libdir}/mqtt
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>