1# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2#
3# SPDX-License-Identifier: MPL-2.0
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0.  If a copy of the MPL was not distributed with this
7# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12# for building the dlz_example driver we don't use
13# the bind9 build structure as the aim is to provide an
14# example that is separable from the bind9 source tree
15
16# this means this Makefile is not portable, so the testsuite
17# skips this test on platforms where it doesn't build
18
19CFLAGS += -Wall -fPIC -g
20
21all: dlz_example.so
22
23dlz_example.so: dlz_example.o
24	$(CC) $(CFLAGS) -shared -o dlz_example.so dlz_example.o
25
26clean:
27	rm -f dlz_example.o dlz_example.so
28