1998-11-22 14:24:59 +08:00
|
|
|
XSRCS = version.c
|
1999-02-05 17:03:47 +08:00
|
|
|
SRCS = search.c config.c init.c
|
|
|
|
OBJS = search.o config.o init.o
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-passwd"
|
|
|
|
BUILD_SRV = @BUILD_PASSWD@
|
|
|
|
|
|
|
|
PROGRAMS= libback-passwd.a
|
|
|
|
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
1999-06-25 01:06:34 +08:00
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
|
|
XLDFLAGS = $(MODULES_LDFLAGS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
all-local-srv: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) libback-passwd.a
|
|
|
|
|
|
|
|
libback-passwd.a: version.o
|
|
|
|
$(AR) ruv $@ $(OBJS) version.o
|
|
|
|
@$(RANLIB) $@
|
|
|
|
@touch ../.backend
|
|
|
|
|
|
|
|
version.c: $(OBJS) $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) back-passwd > $@
|
1998-11-22 14:24:59 +08:00
|
|
|
|