Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / servers / slapd / shell-backends / Makefile.in
blob5b896b9c0753d67d74c8ce8ca5c350f1812e4ee3
1 # Makefile.in for shell-backends
2 # $OpenLDAP: pkg/ldap/servers/slapd/shell-backends/Makefile.in,v 1.14.2.3 2008/02/11 23:26:49 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 PROGRAMS = passwd-shell
18 SRCS = passwd-shell.c shellutil.c
19 XSRCS = pwd-version.c
20 OBJS = passwd-shell.o shellutil.o
22 LDAP_INCDIR= ../../../include
23 LDAP_LIBDIR= ../../../libraries
25 BUILD_OPT = "--enable-shell"
26 BUILD_SRV = @BUILD_SHELL@
28 all-local-srv: $(PROGRAMS)
30 # create programs also when using modules
31 depend-mod: depend-yes
32 all-mod: all-yes
33 install-mod: install-yes
35 passwd-shell: pwd-version.o
36 $(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
38 pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
39 @-$(RM) $@
40 $(MKVERSION) passwd-shell > $@