2 ###########################################################################
3 # Copyright 2000, OpenLDAP Foundation, All rights reserved.
5 # Redistribution and use in source and binary forms are permitted only
6 # as authorized by the OpenLDAP Public License. A copy of this
7 # license is available at http://www.OpenLDAP.org/license.html or
8 # in file LICENSE in the top-level directory of the distribution.
9 ###########################################################################
10 # DNSSRV backend written by Kurt Zeilenga
11 ##########################################################################
13 SRCS = init.c bind.c search.c config.c referral.c
14 OBJS = init.lo bind.lo search.lo config.lo referral.lo
16 LDAP_INCDIR= ../../../include
17 LDAP_LIBDIR= ../../../libraries
19 BUILD_OPT = "--enable-dnssrv"
20 BUILD_MOD = @BUILD_DNSSRV@
21 BUILD_MOD_DYNAMIC = @BUILD_DNSSRV_DYNAMIC@
23 mod_DEFS = -DSLAPD_IMPORT
24 MOD_DEFS = $(@BUILD_DNSSRV@_DEFS)
26 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
27 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
28 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
32 XINCPATH = -I.. -I$(srcdir)/..
33 XDEFS = $(MODULES_CPPFLAGS)
35 all-local-lib: ../.backend
37 ../.backend: lib$(LIBBASE).a