Annotation of mqtt/lib/Makefile, revision 1.2
1.1 misho 1: #
2: # (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.2 ! misho 6: # $Id: Makefile,v 1.1.1.1.2.3 2011/11/23 08:50:03 misho Exp $
1.1 misho 7: #
8:
9: prefix = /usr/local
10: exec_prefix = ${prefix}
11: libdir = ${exec_prefix}/lib
12:
13: INSTALL = /usr/bin/install -c
14:
15: VERS = 1.0
16: LIBSO = libaitmqtt.so
17: LIBA = libaitmqtt.a
18:
1.2 ! misho 19: RTLM_PUB = mqtt_pub.so
! 20: RTLM_ACC = mqtt_acc.so
! 21: RTLM_LOG = mqtt_log.so
! 22:
1.1 misho 23: all:
24: @ln -sf ${LIBSO} ${LIBSO}.${VERS}
25:
26: depend:
27:
28: clean:
1.2 ! misho 29: @rm -f ${LIBSO} ${LIBA} ${LIBSO}.${VERS} *~ ${RTLM_PUB} ${RTLM_ACC}
1.1 misho 30:
31: install:
32: ${INSTALL} ${LIBA} ${libdir}
33: ${INSTALL} ${LIBSO} ${libdir}
34: @ln -fs ${libdir}/${LIBSO} ${libdir}/${LIBSO}.${VERS}
1.2 ! misho 35:
! 36: ${INSTALL} -d ${libdir}/mqtt
! 37: ${INSTALL} ${RTLM_PUB} ${libdir}/mqtt
! 38: ${INSTALL} ${RTLM_ACC} ${libdir}/mqtt
! 39: ${INSTALL} ${RTLM_LOG} ${libdir}/mqtt
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>