]> git.sur5r.net Git - openldap/blob - servers/slapd/shell-backends/Makefile.in
ae94a2ad2d05ca70b3a17e00e9da9edbc8bff980
[openldap] / servers / slapd / shell-backends / Makefile.in
1 # Makefile.in for shell-backends
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2007 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.
11 ##
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>.
15
16 PROGRAMS = passwd-shell
17
18 SRCS = passwd-shell.c shellutil.c
19 XSRCS = pwd-version.c
20 OBJS = passwd-shell.o shellutil.o
21
22 LDAP_INCDIR= ../../../include       
23 LDAP_LIBDIR= ../../../libraries
24
25 BUILD_OPT = "--enable-shell"
26 BUILD_SRV = @BUILD_SHELL@
27
28 all-local-srv: $(PROGRAMS)
29
30 # create programs also when using modules
31 depend-mod: depend-yes
32 all-mod: all-yes
33 install-mod: install-yes
34
35 passwd-shell:   pwd-version.o
36         $(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
37
38 pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
39         @-$(RM) $@
40         $(MKVERSION) passwd-shell > $@