File:
[ELWIX - Embedded LightWeight unIX -] /
libaitmqtt /
src /
Makefile.in
Revision
1.2:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed Jun 20 15:02:24 2012 UTC (12 years, 2 months ago) by
misho
Branches:
MAIN
CVS tags:
mqtt1_7,
mqtt1_6,
mqtt1_5,
mqtt1_4,
mqtt1_3,
mqtt1_2,
MQTT1_6,
MQTT1_5,
MQTT1_4,
MQTT1_3,
MQTT1_2,
MQTT1_1,
HEAD
version 1.1
#
# (C) 2011 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
# by Michael Pounov <misho@elwix.org>
#
# $Author: misho $
# $Id: Makefile.in,v 1.2 2012/06/20 15:02:24 misho Exp $
#
prefix = @prefix@
exec_prefix = @exec_prefix@
LIBS = @LIBS@
AR = @AR@
CC = @CC@
MKDEP = @MKDEP@
RANLIB = @RANLIB@
INC = ../inc
LIB = ../lib
LDADD = ${LIBS}
CFLAGS = -I. -I${INC} -DAPI_SERVER_SIDE -DAPI_CLIENT_SIDE @CFLAGS@
LDFLAGS = -L. -L${LIB} @LDFLAGS@
SRCS = aitmqtt.c conn.c pub.c sub.c srvside.c cliside.c cmds.c
OBJS = aitmqtt.o conn.o pub.o sub.o srvside.o cliside.o cmds.o
LIBA = libaitmqtt.a
LIBSO = libaitmqtt.so
all: depend \
${LIBA} \
${LIBSO}
depend:
${MKDEP} ${CFLAGS} ${SRCS}
clean:
@rm -f *.o .depend *~
install:
.o:
${CC} -c ${CFLAGS} $<
${LIBA}: ${OBJS}
${AR} -rc ${LIB}/$@ ${OBJS}
${RANLIB} ${LIB}/$@
${LIBSO}: ${OBJS}
${CC} ${LDFLAGS} -shared -nostartfiles -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>