Annotation of libaitwww/src/Makefile.in, revision 1.5
1.1 misho 1: #
2: # (C) 2012 by Michael Pounov <misho@elwix.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.5 ! misho 6: # $Id: Makefile.in,v 1.4.4.1 2016/09/14 14:24:07 misho Exp $
1.1 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
1.4 misho 11: includedir = @includedir@
12: libdir = @libdir@
1.1 misho 13:
14: LIBS = @LIBS@
15:
16: CC = @CC@
1.5 ! misho 17: RANLIB = @RANLIB@
1.1 misho 18: MKDEP = @MKDEP@
19:
20: INC = ../inc
21: LIB = ../lib
22:
23: LDADD = ${LIBS}
24:
1.4 misho 25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1 misho 27:
1.3 misho 28: SRCS = aitwww.c tools.c mime.c url.c base64.c
29: OBJS = aitwww.o tools.o mime.o url.o base64.o
1.1 misho 30: LIBSO = libaitwww.so
31: LIBA = libaitwww.a
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: .c.o:
46: ${CC} -c ${CFLAGS} $<
47:
48: ${LIBA}: ${OBJS}
49: ${AR} -rc ${LIB}/$@ ${OBJS}
50: ${RANLIB} ${LIB}/$@
51:
52: ${LIBSO}: ${OBJS}
1.4 misho 53: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>