Annotation of libaitsess/src/Makefile.in, revision 1.1.2.3
1.1.2.2 misho 1: #
2: # (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.1.2.3 ! misho 6: # $Id: Makefile.in,v 1.1.2.2 2008/09/30 20:17:14 misho Exp $
1.1.2.2 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11:
12: CC = @CC@
13: MKDEP = @MKDEP@
14:
15: LIBS = @LIBS@
1.1.2.1 misho 16:
17: INC = ../inc
18: LIB = ../lib
19:
20: LDADD = ${LIBS}
21:
1.1.2.2 misho 22: CFLAGS = -I. -I${INC} -g @CFLAGS@
23: LDFLAGS = -L. -L${LIB} @LDFLAGS@
1.1.2.1 misho 24:
25: SRCS = aitsess.c sess.c
26: OBJS = aitsess.o sess.o
27: LIBSO = libaitsess.so
1.1.2.3 ! misho 28: LIBA = libaitsess.a
1.1.2.1 misho 29:
30: all: depend \
1.1.2.3 ! misho 31: ${LIBA} \
1.1.2.1 misho 32: ${LIBSO}
33:
34: depend:
1.1.2.2 misho 35: ${MKDEP} ${CFLAGS} ${SRCS}
1.1.2.1 misho 36:
37: clean:
1.1.2.2 misho 38: @rm -f *.o *~ .depend
1.1.2.1 misho 39:
40: install:
41:
42: .c.o:
43: ${CC} -c ${CFLAGS} $<
44:
1.1.2.3 ! misho 45: ${LIBA}: ${OBJS}
! 46: ${AR} -rc ${LIB}/$@ ${OBJS}
! 47: ${RANLIB} ${LIB}/$@
! 48:
1.1.2.2 misho 49: ${LIBSO}: ${OBJS}
50: ${CC} ${LDFLAGS} -shared -nostartfiles -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>