# Makefile.in for overlays # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## ## Copyright 2003 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted only as authorized by the OpenLDAP ## Public License. ## ## A copy of this license is available in the file LICENSE in the ## top-level directory of the distribution or, alternatively, at ## . SRCS = overlays.c dyngroup.c pcache.c OBJS = overlays.lo dyngroup.lo pcache.lo LDAP_INCDIR= ../../../include LDAP_LIBDIR= ../../../libraries MOD_DEFS = -DSLAPD_IMPORT 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) LIBRARY = ../liboverlays.a PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ XINCPATH = -I.. -I$(srcdir)/.. XDEFS = $(MODULES_CPPFLAGS) dyngroup.la : dyngroup.lo $(@PLAT@_LINK_LIBS) $(LTLINK_MOD) -module -o $@ dyngroup.lo version.lo $(LINK_LIBS) pcache.la : pcache.lo $(@PLAT@_LINK_LIBS) $(LTLINK_MOD) -module -o $@ pcache.lo version.lo $(LINK_LIBS) install-local: $(PROGRAMS) @-$(MKDIR) $(DESTDIR)$(moduledir) @for i in $? ; do \ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$i $(DESTDIR)$(moduledir);\ done