2003-12-06 18:59:27 +08:00
|
|
|
# Makefile.in for overlays
|
|
|
|
# $OpenLDAP$
|
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2004-01-02 03:15:16 +08:00
|
|
|
## Copyright 2003-2004 The OpenLDAP Foundation.
|
2003-12-06 18:59:27 +08:00
|
|
|
## 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
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
|
2004-03-19 02:59:46 +08:00
|
|
|
SRCS = overlays.c \
|
|
|
|
chain.c \
|
|
|
|
denyop.c \
|
|
|
|
dyngroup.c \
|
2004-04-14 02:43:59 +08:00
|
|
|
lastmod.c \
|
2004-03-19 02:59:46 +08:00
|
|
|
pcache.c \
|
2004-04-17 21:35:54 +08:00
|
|
|
ppolicy.c \
|
2004-04-17 16:17:43 +08:00
|
|
|
refint.c \
|
2004-09-27 06:53:54 +08:00
|
|
|
rwm.c rwmconf.c rwmdn.c rwmmap.c \
|
|
|
|
unique.c
|
2004-03-19 02:59:46 +08:00
|
|
|
OBJS = overlays.lo \
|
2004-03-19 03:45:15 +08:00
|
|
|
chain.lo \
|
2004-03-19 02:59:46 +08:00
|
|
|
denyop.lo \
|
|
|
|
dyngroup.lo \
|
2004-04-14 02:43:59 +08:00
|
|
|
lastmod.lo \
|
2004-03-19 02:59:46 +08:00
|
|
|
pcache.lo \
|
2004-04-17 21:35:54 +08:00
|
|
|
ppolicy.lo \
|
2004-04-17 16:17:43 +08:00
|
|
|
refint.lo \
|
2004-09-27 06:53:54 +08:00
|
|
|
rwm.lo rwmconf.lo rwmdn.lo rwmmap.lo \
|
|
|
|
unique.lo
|
2003-12-06 18:59:27 +08:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2004-03-19 02:59:46 +08:00
|
|
|
chain.la : chain.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ chain.lo version.lo $(LINK_LIBS)
|
|
|
|
|
|
|
|
denyop.la : denyop.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ denyop.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2003-12-06 18:59:27 +08:00
|
|
|
dyngroup.la : dyngroup.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ dyngroup.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2004-04-14 02:43:59 +08:00
|
|
|
lastmod.la : lastmod.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ lastmod.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2003-12-06 18:59:27 +08:00
|
|
|
pcache.la : pcache.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ pcache.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2004-04-17 21:35:54 +08:00
|
|
|
ppolicy.la : ppolicy.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ ppolicy.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2004-04-17 16:17:43 +08:00
|
|
|
refint.la : refint.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ refint.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2003-12-10 07:50:10 +08:00
|
|
|
rwm.la : rwm.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ rwm.lo rwmconf.lo rwmdn.lo rwmmap.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2004-11-23 21:08:45 +08:00
|
|
|
syncprov.la : syncprov.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ syncprov.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2004-09-27 06:53:54 +08:00
|
|
|
unique.la : unique.lo $(@PLAT@_LINK_LIBS)
|
|
|
|
$(LTLINK_MOD) -module -o $@ unique.lo version.lo $(LINK_LIBS)
|
|
|
|
|
2003-12-06 18:59:27 +08:00
|
|
|
install-local: $(PROGRAMS)
|
2003-12-19 04:26:05 +08:00
|
|
|
@if test -n "$?" ; then \
|
|
|
|
$(MKDIR) $(DESTDIR)$(moduledir); \
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $? $(DESTDIR)$(moduledir);\
|
|
|
|
fi
|
2003-12-06 18:59:27 +08:00
|
|
|
|
2003-12-10 16:45:53 +08:00
|
|
|
MKDEPFLAG = -l
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o .lo
|
|
|
|
|
|
|
|
.c.lo:
|
|
|
|
$(LTCOMPILE_LIB) $<
|
|
|
|
|
|
|
|
$(LIBRARY): version.lo
|
|
|
|
$(LTLINK_LIB) -o $@ $(OBJS) version.lo
|
2003-12-10 16:52:19 +08:00
|
|
|
|