Annotation of libaitsched/src/Makefile.in, revision 1.2.54.1
1.1 misho 1: #
2: # (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.2.54.1! misho 6: # $Id: Makefile.in,v 1.2 2012/01/24 21:59:47 misho Exp $
1.1 misho 7: #
8: prefix = @prefix@
9: exec_prefix = @exec_prefix@
1.2.54.1! 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.2.54.1! 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}
54: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>