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