Annotation of libaitrpc/src/Makefile.in, revision 1.4.8.1

1.1       misho       1: #
                      2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
                      3: #   AITNET ltd - Sofia/Bulgaria
                      4: #
                      5: # $Author: misho $
1.4.8.1 ! misho       6: # $Id: Makefile.in,v 1.4 2014/04/27 16:26:45 misho Exp $
1.1       misho       7: #
                      8: 
                      9: prefix = @prefix@
                     10: exec_prefix = @exec_prefix@
1.3       misho      11: includedir = @includedir@
                     12: libdir = @libdir@
1.1       misho      13: 
                     14: LIBS = @LIBS@
                     15: 
                     16: CC = @CC@
                     17: MKDEP = @MKDEP@
                     18: 
                     19: INC = ../inc
                     20: LIB = ../lib
                     21: 
1.2       misho      22: LDADD = -pthread ${LIBS}
1.1       misho      23: 
1.3       misho      24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
                     25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1       misho      26: 
1.4.8.1 ! misho      27: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c blobcli.c
        !            28: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o blobcli.o
1.1       misho      29: LIBSO = libaitrpc.so
                     30: LIBA = libaitrpc.a
                     31: 
1.4.8.1 ! misho      32: SRCS_CLI = aitrpc.c cli.c blobcli.c
        !            33: OBJS_CLI = aitrpc.o cli.o blobcli.o
        !            34: LIBSO_CLI = libaitrpc_cli.so
        !            35: LIBA_CLI = libaitrpc_cli.a
        !            36: 
1.1       misho      37: all: depend \
                     38:                ${LIBA} \
1.4.8.1 ! misho      39:                ${LIBSO} \
        !            40:                ${LIBA_CLI} \
        !            41:                ${LIBSO_CLI}
1.1       misho      42: 
                     43: depend:
1.4.8.1 ! misho      44:        ${MKDEP} ${CFLAGS} ${SRCS} ${SRCS_CLI}
1.1       misho      45: 
                     46: clean:
                     47:        @rm -f *.o *~ .depend
                     48: 
                     49: install:
                     50: 
                     51: .c.o:
                     52:        ${CC} -c ${CFLAGS} $<
                     53: 
                     54: ${LIBA}: ${OBJS}
                     55:        ${AR} -rc ${LIB}/$@ ${OBJS}
                     56:        ${RANLIB} ${LIB}/$@
                     57: 
                     58: ${LIBSO}: ${OBJS}
1.4       misho      59:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
1.4.8.1 ! misho      60: 
        !            61: ${LIBA_CLI}: ${OBJS_CLI}
        !            62:        ${AR} -rc ${LIB}/$@ ${OBJS_CLI}
        !            63:        ${RANLIB} ${LIB}/$@
        !            64: 
        !            65: ${LIBSO_CLI}: ${OBJS_CLI}
        !            66:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS_CLI} ${LDADD}

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