blob: 795a2e8b9221ea2b8430b55af3597d13baac9aac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
prefix = /usr
libdir = $(prefix)/lib/bind9
CFLAGS=-fPIC -g -I../include
BDB_LIBS=-ldb
all: dlz_bdbhpt_dynamic.so
dlz_bdbhpt_dynamic.so: dlz_bdbhpt_dynamic.c
$(CC) $(CFLAGS) -shared -o dlz_bdbhpt_dynamic.so \
dlz_bdbhpt_dynamic.c $(BDB_LIBS)
clean:
rm -f dlz_bdbhpt_dynamic.so
install: dlz_bdbhpt_dynamic.so
mkdir -p $(DESTDIR)$(libdir)
install dlz_bdbhpt_dynamic.so $(DESTDIR)$(libdir)
|