2 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 PROGRAMS = passwd-shell
7 SRCS = passwd-shell.c shellutil.c
9 OBJS = passwd-shell.o shellutil.o
11 LDAP_INCDIR= ../../../include
12 LDAP_LIBDIR= ../../../libraries
14 BUILD_OPT = "--enable-shell"
15 BUILD_SRV = @BUILD_SHELL@
17 all-local-srv: $(PROGRAMS)
19 # create programs also when using modules
20 depend-mod: depend-yes
22 install-mod: install-yes
24 passwd-shell: pwd-version.o
25 $(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
27 pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
29 $(MKVERSION) passwd-shell > $@