Annotation of libaitcfg/src/Makefile.in, revision 1.6.2.1
1.2 misho 1: #
2: # (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.6.2.1 ! misho 6: # $Id: Makefile.in,v 1.6 2014/04/14 19:58:21 misho Exp $
1.2 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
1.5 misho 11: includedir = @includedir@
12: libdir = @libdir@
1.2 misho 13:
14: LIBS = @LIBS@
15:
16: CC = @CC@
1.6.2.1 ! misho 17: RANLIB = @RANLIB@
1.2 misho 18: MKDEP = @MKDEP@
19:
20: INC = ../inc
21: LIB = ../lib
22:
23: LDADD = ${LIBS}
24:
1.5 misho 25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.2 misho 27:
1.4 misho 28: SRCS = aitcfg.c parse.c queue.c pwd.c pq.c
29: OBJS = aitcfg.o parse.o queue.o pwd.o pq.o
1.2 misho 30: LIBSO = libaitcfg.so
31: LIBA = libaitcfg.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.6 misho 53: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>