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/>.
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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
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
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
)
40 $(MKVERSION
) passwd-shell
> $@