Makefile.in 831 Bytes
Newer Older
Bob Halley's avatar
Bob Halley committed
1

Bob Halley's avatar
Bob Halley committed
2
3
4
5
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

Bob Halley's avatar
Bob Halley committed
6
7
8
9
10
11
12
13
@BIND9_VERSION@

CINCLUDES =	-I${srcdir}/unix/include \
		-I${srcdir}/pthreads/include \
		-I${srcdir}/include
CDEFINES =
CWARNINGS =

Michael Graff's avatar
Michael Graff committed
14
15
OBJS =		@ISC_EXTRA_OBJS@ \
		assertions.o buffer.o error.o heap.o lex.o mem.o result.o \
Bob Halley's avatar
Bob Halley committed
16
		rwlock.o symtab.o str.o task.o timer.o version.o \
Michael Graff's avatar
Michael Graff committed
17
		unix/time.o unix/socket.o \
Michael Graff's avatar
Michael Graff committed
18
		pthreads/condition.o
Bob Halley's avatar
Bob Halley committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

SUBDIRS =	include unix pthreads
TARGETS =	timestamp

@BIND9_MAKE_RULES@

version.o: version.c
	${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $<

libisc.a: ${OBJS}
	${AR} cruv libisc.a ${OBJS}

timestamp: libisc.a
	${RANLIB} libisc.a
	touch timestamp

installdirs:
	if [ ! -d ${libdir} ]; then \
		mkdir ${libdir}; \
	fi

install:: timestamp installdirs
	${INSTALL_DATA} libisc.a ${libdir}

43
clean distclean::
Bob Halley's avatar
Bob Halley committed
44
	rm -f libisc.a timestamp