File:
[ELWIX - Embedded LightWeight unIX -] /
libaitcfg /
src /
Makefile.in
Revision
1.5:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed Jan 29 23:48:34 2014 UTC (10 years, 5 months ago) by
misho
Branches:
MAIN
CVS tags:
cfg7_6,
cfg7_5,
cfg7_4,
cfg7_3,
HEAD,
CFG7_5,
CFG7_4,
CFG7_3,
CFG7_2
version 7.2
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.5 2014/01/29 23:48:34 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: MKDEP = @MKDEP@
18:
19: INC = ../inc
20: LIB = ../lib
21:
22: LDADD = ${LIBS}
23:
24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
26:
27: SRCS = aitcfg.c parse.c queue.c pwd.c pq.c
28: OBJS = aitcfg.o parse.o queue.o pwd.o pq.o
29: LIBSO = libaitcfg.so
30: LIBA = libaitcfg.a
31:
32: all: depend \
33: ${LIBA} \
34: ${LIBSO}
35:
36: depend:
37: ${MKDEP} ${CFLAGS} ${SRCS}
38:
39: clean:
40: @rm -f *.o *~ .depend
41:
42: install:
43:
44: .c.o:
45: ${CC} -c ${CFLAGS} $<
46:
47: ${LIBA}: ${OBJS}
48: ${AR} -rc ${LIB}/$@ ${OBJS}
49: ${RANLIB} ${LIB}/$@
50:
51: ${LIBSO}: ${OBJS}
52: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>