mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
34 lines
941 B
Makefile
34 lines
941 B
Makefile
# $OpenLDAP$
|
|
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c \
|
|
delete.c modify.c modrdn.c compare.c abandon.c result.c
|
|
OBJS = init.lo config.lo fork.lo search.lo bind.lo unbind.lo add.lo \
|
|
delete.lo modify.lo modrdn.lo compare.lo abandon.lo result.lo
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
BUILD_OPT = "--enable-shell"
|
|
BUILD_MOD = @BUILD_SHELL@
|
|
BUILD_MOD_DYNAMIC = @BUILD_SHELL_DYNAMIC@
|
|
|
|
mod_DEFS = -DSLAPD_IMPORT
|
|
MOD_DEFS = $(@BUILD_SHELL@_DEFS)
|
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
|
LIBBASE = back_shell
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
|
|
all-local-lib: ../.backend
|
|
|
|
../.backend: lib$(LIBBASE).a
|
|
@touch $@
|
|
|