1 # Makefile.in for back-dnssrv
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2013 The OpenLDAP Foundation.
6 ## Portions Copyright 1998-2003 Kurt D. Zeilenga.
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
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>.
18 # The DNSSRV backend was written by Kurt D. Zeilenga.
21 SRCS = init.c bind.c search.c config.c referral.c
22 OBJS = init.lo bind.lo search.lo config.lo referral.lo
24 LDAP_INCDIR= ../../../include
25 LDAP_LIBDIR= ../../../libraries
27 BUILD_OPT = "--enable-dnssrv"
28 BUILD_MOD = @BUILD_DNSSRV@
30 mod_DEFS = -DSLAPD_IMPORT
31 MOD_DEFS = $(@BUILD_DNSSRV@_DEFS)
33 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
34 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
35 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
39 XINCPATH = -I.. -I$(srcdir)/..
40 XDEFS = $(MODULES_CPPFLAGS)
42 all-local-lib: ../.backend
44 ../.backend: lib$(LIBBASE).a