| 1 |
# Makefile.in for back-dnssrv |
| 2 |
# $OpenLDAP$ |
| 3 |
## This work is part of OpenLDAP Software <http://www.openldap.org/>. |
| 4 |
## |
| 5 |
## Copyright 1998-2024 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 |
|
| 21 |
SRCS = init.c bind.c search.c config.c referral.c |
| 22 |
OBJS = init.lo bind.lo search.lo config.lo referral.lo |
| 23 |
|
| 24 |
LDAP_INCDIR= ../../../include |
| 25 |
LDAP_LIBDIR= ../../../libraries |
| 26 |
|
| 27 |
BUILD_OPT = "--enable-dnssrv" |
| 28 |
BUILD_MOD = @BUILD_DNSSRV@ |
| 29 |
|
| 30 |
mod_DEFS = -DSLAPD_IMPORT |
| 31 |
MOD_DEFS = $(@BUILD_DNSSRV@_DEFS) |
| 32 |
|
| 33 |
shared_LDAP_LIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) |
| 34 |
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) |
| 35 |
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) |
| 36 |
|
| 37 |
LIBBASE = back_dnssrv |
| 38 |
|
| 39 |
XINCPATH = -I.. -I$(srcdir)/.. |
| 40 |
XDEFS = $(MODULES_CPPFLAGS) |
| 41 |
|
| 42 |
all-local-lib: ../.backend |
| 43 |
|
| 44 |
../.backend: lib$(LIBBASE).a |
| 45 |
@touch $@ |
| 46 |
|