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

1.1       misho       1: #
                      2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
                      3: #   AITNET ltd - Sofia/Bulgaria
                      4: #
                      5: # $Author: misho $
1.7     ! misho       6: # $Id: Makefile.in,v 1.6.6.1 2024/08/21 11:41:37 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@
1.6       misho      17: RANLIB = @RANLIB@
1.1       misho      18: MKDEP = @MKDEP@
                     19: 
                     20: INC = ../inc
                     21: LIB = ../lib
                     22: 
1.7     ! misho      23: LDADD = ${LIBS}
1.1       misho      24: 
1.7     ! misho      25: CFLAGS = -I. -I${INC} -Wall -fPIC @CFLAGS@
        !            26: LDFLAGS = -L. -L${LIB} @LDFLAGS@
1.1       misho      27: 
1.5       misho      28: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c blobcli.c
                     29: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o blobcli.o
1.1       misho      30: LIBSO = libaitrpc.so
                     31: LIBA = libaitrpc.a
                     32: 
1.5       misho      33: SRCS_CLI = aitrpc.c cli.c blobcli.c
                     34: OBJS_CLI = aitrpc.o cli.o blobcli.o
                     35: LIBSO_CLI = libaitrpc_cli.so
                     36: LIBA_CLI = libaitrpc_cli.a
                     37: 
                     38: all: allc
                     39: 
                     40: depend: dependc
                     41: 
                     42: allc: depend \
                     43:                ${LIBA_CLI} \
                     44:                ${LIBSO_CLI}
                     45: 
                     46: alls: depends \
1.1       misho      47:                ${LIBA} \
                     48:                ${LIBSO}
                     49: 
1.5       misho      50: dependc:
                     51:        ${MKDEP} -a ${CFLAGS} ${SRCS_CLI}
                     52: 
                     53: depends:
                     54:        ${MKDEP} -a ${CFLAGS} ${SRCS}
1.1       misho      55: 
                     56: clean:
                     57:        @rm -f *.o *~ .depend
                     58: 
                     59: install:
                     60: 
1.5       misho      61: installs:
                     62: 
1.1       misho      63: .c.o:
                     64:        ${CC} -c ${CFLAGS} $<
                     65: 
                     66: ${LIBA}: ${OBJS}
                     67:        ${AR} -rc ${LIB}/$@ ${OBJS}
                     68:        ${RANLIB} ${LIB}/$@
                     69: 
                     70: ${LIBSO}: ${OBJS}
1.4       misho      71:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
1.5       misho      72: 
                     73: ${LIBA_CLI}: ${OBJS_CLI}
                     74:        ${AR} -rc ${LIB}/$@ ${OBJS_CLI}
                     75:        ${RANLIB} ${LIB}/$@
                     76: 
                     77: ${LIBSO_CLI}: ${OBJS_CLI}
                     78:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS_CLI} ${LDADD}

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