Annotation of libaitmqtt/src/Makefile.in, revision 1.1
1.1 ! misho 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,v 1.1.1.1.2.19 2012/01/25 10:34:14 misho Exp $
! 7: #
! 8: prefix = @prefix@
! 9: exec_prefix = @exec_prefix@
! 10:
! 11: LIBS = @LIBS@
! 12:
! 13: AR = @AR@
! 14: CC = @CC@
! 15: MKDEP = @MKDEP@
! 16: RANLIB = @RANLIB@
! 17:
! 18: INC = ../inc
! 19: LIB = ../lib
! 20:
! 21: LDADD = ${LIBS}
! 22:
! 23: CFLAGS = -I. -I${INC} -g @CFLAGS@
! 24: LDFLAGS = -L. -L${LIB} @LDFLAGS@
! 25:
! 26:
! 27: SRCS = aitmqtt.c conn.c pub.c sub.c
! 28: OBJS = aitmqtt.o conn.o pub.o sub.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 -nostartfiles -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>