etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / contrib / dlz / modules / sqlite3 / Makefile
blob94af96aae941513000fb122c242fa1428b50680b
1 prefix = /usr
2 libdir = $(prefix)/lib/bind9
4 CFLAGS=-fPIC -g -I../include
5 SQLITE3_LIBS=-lsqlite3
7 all: dlz_sqlite3_dynamic.so
9 dlz_dbi.o: ../common/dlz_dbi.c
10 $(CC) $(CFLAGS) -c ../common/dlz_dbi.c
12 dlz_sqlite3_dynamic.so: dlz_sqlite3_dynamic.c dlz_dbi.o
13 $(CC) $(CFLAGS) -shared -o dlz_sqlite3_dynamic.so \
14 dlz_sqlite3_dynamic.c dlz_dbi.o $(SQLITE3_LIBS)
16 clean:
17 rm -f dlz_sqlite3_dynamic.so *.o
19 install: dlz_sqlite3_dynamic.so
20 mkdir -p $(DESTDIR)$(libdir)
21 install dlz_sqlite3_dynamic.so $(DESTDIR)$(libdir)