1# Makefile.in for back-relay 2# $OpenLDAP$ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2016 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 16SRCS = init.c op.c 17OBJS = init.lo op.lo 18 19LDAP_INCDIR= ../../../include 20LDAP_LIBDIR= ../../../libraries 21 22BUILD_OPT = "--enable-relay" 23BUILD_MOD = @BUILD_RELAY@ 24 25mod_DEFS = -DSLAPD_IMPORT 26MOD_DEFS = $(@BUILD_RELAY@_DEFS) 27 28shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA) 29NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE) 30UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE) 31 32LIBBASE = back_relay 33 34XINCPATH = -I.. -I$(srcdir)/.. 35XDEFS = $(MODULES_CPPFLAGS) 36 37all-local-lib: ../.backend 38 39../.backend: lib$(LIBBASE).a 40 @touch $@ 41 42