1# Makefile.in for back-dnssrv
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2021 The OpenLDAP Foundation.
6## Portions Copyright 1998-2003 Kurt D. Zeilenga.
7## All rights reserved.
8##
9## Redistribution and use in source and binary forms, with or without
10## modification, are permitted only as authorized by the OpenLDAP
11## Public License.
12##
13## A copy of this license is available in the file LICENSE in the
14## top-level directory of the distribution or, alternatively, at
15## <http://www.OpenLDAP.org/license.html>.
16#
17# ACKNOWLEDGEMENTS:
18#  The DNSSRV backend was written by Kurt D. Zeilenga.
19#
20
21SRCS	= init.c bind.c search.c config.c referral.c
22OBJS	= init.lo bind.lo search.lo config.lo referral.lo
23
24LDAP_INCDIR= ../../../include
25LDAP_LIBDIR= ../../../libraries
26
27BUILD_OPT = "--enable-dnssrv"
28BUILD_MOD = @BUILD_DNSSRV@
29
30mod_DEFS = -DSLAPD_IMPORT
31MOD_DEFS = $(@BUILD_DNSSRV@_DEFS)
32
33shared_LDAP_LIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA)
34NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
35UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
36
37LIBBASE = back_dnssrv
38
39XINCPATH = -I.. -I$(srcdir)/..
40XDEFS = $(MODULES_CPPFLAGS)
41
42all-local-lib:	../.backend
43
44../.backend: lib$(LIBBASE).a
45	@touch $@
46
47