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