File:  [ELWIX - Embedded LightWeight unIX -] / mqtt / lib / Attic / Makefile
Revision 1.1.1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Tue Nov 22 21:12:52 2011 UTC (12 years, 7 months ago) by misho
Branches: mqtt1_0
Diff to: branchpoint 1.1.1.1: preferred, colored
add new files for new rtlm modules

#
# (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
#   AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile,v 1.1.1.1.2.2 2011/11/22 21:12:52 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

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>