File:  [ELWIX - Embedded LightWeight unIX -] / libaitmqtt / src / Makefile.in
Revision 1.3.2.3: download - view: text, annotated - select for diffs - revision graph
Wed Sep 14 17:37:13 2022 UTC (21 months, 3 weeks ago) by misho
Branches: mqtt1_8
Diff to: branchpoint 1.3: preferred, unified
adds read file to prepare consolidate read functions
reworks msg publishers

    1: #
    2: # (C) 2011 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
    3: # by Michael Pounov <misho@elwix.org>
    4: #
    5: # $Author: misho $
    6: # $Id: Makefile.in,v 1.3.2.3 2022/09/14 17:37:13 misho Exp $
    7: #
    8: prefix = @prefix@
    9: exec_prefix = @exec_prefix@
   10: includedir = @includedir@
   11: libdir = @libdir@
   12: 
   13: LIBS = @LIBS@
   14: 
   15: CC = @CC@
   16: RANLIB = @RANLIB@
   17: MKDEP = @MKDEP@
   18: 
   19: INC = ../inc
   20: LIB = ../lib
   21: 
   22: LDADD = ${LIBS}
   23: 
   24: CFLAGS = -I. -I${INC} -I${includedir} -Wall -DAPI_SERVER_SIDE -DAPI_CLIENT_SIDE @CFLAGS@
   25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
   26: 
   27: SRCS = aitmqtt.c conn.c pub.c sub.c srvside.c cliside.c cmds.c read.c
   28: OBJS = aitmqtt.o conn.o pub.o sub.o srvside.o cliside.o cmds.o read.o
   29: LIBA = libaitmqtt.a
   30: LIBSO = libaitmqtt.so
   31: 
   32: 
   33: all: depend \
   34: 		${LIBA} \
   35: 		${LIBSO}
   36: 
   37: depend:
   38: 	${MKDEP} ${CFLAGS} ${SRCS}
   39: 
   40: clean:
   41: 	@rm -f *.o .depend *~
   42: 
   43: install:
   44: 
   45: .o:
   46: 	${CC} -c ${CFLAGS} $<
   47: 
   48: ${LIBA}: ${OBJS}
   49: 	${AR} -rc ${LIB}/$@ ${OBJS}
   50: 	${RANLIB} ${LIB}/$@
   51: 
   52: ${LIBSO}: ${OBJS}
   53: 	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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