File:
[ELWIX - Embedded LightWeight unIX -] /
libaitcfg /
src /
Makefile.in
Revision
1.7:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed May 18 15:18:10 2016 UTC (8 years, 1 month ago) by
misho
Branches:
MAIN
CVS tags:
cfg9_5,
cfg9_4,
cfg9_3,
cfg9_2,
cfg9_1,
cfg8_2,
cfg8_1,
cfg8_0,
cfg7_9,
cfg7_8,
HEAD,
CFG9_4,
CFG9_3,
CFG9_2,
CFG9_1,
CFG9_0,
CFG8_1,
CFG8_0,
CFG7_9,
CFG7_8,
CFG7_7
7.7
1: #
2: # (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
6: # $Id: Makefile.in,v 1.7 2016/05/18 15:18:10 misho Exp $
7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11: includedir = @includedir@
12: libdir = @libdir@
13:
14: LIBS = @LIBS@
15:
16: CC = @CC@
17: RANLIB = @RANLIB@
18: MKDEP = @MKDEP@
19:
20: INC = ../inc
21: LIB = ../lib
22:
23: LDADD = ${LIBS}
24:
25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
27:
28: SRCS = aitcfg.c parse.c queue.c pwd.c pq.c
29: OBJS = aitcfg.o parse.o queue.o pwd.o pq.o
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}
53: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>