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

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.2 ! misho       6: # $Id: Makefile.in,v 1.4.8.1 2015/07/02 17:52:53 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: 
1.4.8.2 ! misho      14: ONLY_CLI = @ONLY_CLI@
        !            15: 
1.1       misho      16: LIBS = @LIBS@
                     17: 
                     18: CC = @CC@
                     19: MKDEP = @MKDEP@
                     20: 
                     21: INC = ../inc
                     22: LIB = ../lib
                     23: 
1.2       misho      24: LDADD = -pthread ${LIBS}
1.1       misho      25: 
1.3       misho      26: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
                     27: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1       misho      28: 
1.4.8.1   misho      29: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c blobcli.c
                     30: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o blobcli.o
1.1       misho      31: LIBSO = libaitrpc.so
                     32: LIBA = libaitrpc.a
                     33: 
1.4.8.1   misho      34: SRCS_CLI = aitrpc.c cli.c blobcli.c
                     35: OBJS_CLI = aitrpc.o cli.o blobcli.o
                     36: LIBSO_CLI = libaitrpc_cli.so
                     37: LIBA_CLI = libaitrpc_cli.a
                     38: 
1.4.8.2 ! misho      39: all: allc
        !            40: 
        !            41: depend: dependc
        !            42: 
        !            43: allc: depend \
1.4.8.1   misho      44:                ${LIBA_CLI} \
                     45:                ${LIBSO_CLI}
1.1       misho      46: 
1.4.8.2 ! misho      47: alls: depend_all \
        !            48:                ${LIBA} \
        !            49:                ${LIBSO}
        !            50: 
        !            51: dependc:
        !            52:        ${MKDEP} -a ${CFLAGS} ${SRCS_CLI}
        !            53: 
        !            54: depends:
        !            55:        ${MKDEP} -a ${CFLAGS} ${SRCS}
1.1       misho      56: 
                     57: clean:
                     58:        @rm -f *.o *~ .depend
                     59: 
                     60: install:
                     61: 
                     62: .c.o:
                     63:        ${CC} -c ${CFLAGS} $<
                     64: 
                     65: ${LIBA}: ${OBJS}
                     66:        ${AR} -rc ${LIB}/$@ ${OBJS}
                     67:        ${RANLIB} ${LIB}/$@
                     68: 
                     69: ${LIBSO}: ${OBJS}
1.4       misho      70:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
1.4.8.1   misho      71: 
                     72: ${LIBA_CLI}: ${OBJS_CLI}
                     73:        ${AR} -rc ${LIB}/$@ ${OBJS_CLI}
                     74:        ${RANLIB} ${LIB}/$@
                     75: 
                     76: ${LIBSO_CLI}: ${OBJS_CLI}
                     77:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS_CLI} ${LDADD}

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