mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
5a470f8959
ith --enable-modules. GLib v1.2 or higher is required.
29 lines
566 B
Makefile
29 lines
566 B
Makefile
XSRCS = version.c
|
|
SRCS = search.c config.c init.c
|
|
OBJS = search.o config.o init.o
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
BUILD_OPT = "--enable-passwd"
|
|
BUILD_SRV = @BUILD_PASSWD@
|
|
|
|
PROGRAMS= libback-passwd.a
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
XLDFLAGS = $(MODULES_LDFLAGS)
|
|
|
|
all-local-srv: FORCE
|
|
$(MAKE) $(MFLAGS) libback-passwd.a
|
|
|
|
libback-passwd.a: version.o
|
|
$(AR) ruv $@ $(OBJS) version.o
|
|
@$(RANLIB) $@
|
|
@touch ../.backend
|
|
|
|
version.c: $(OBJS) $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) back-passwd > $@
|
|
|