2003-11-26 10:58:56 +08:00
|
|
|
# Makefile.in for shell-backends
|
1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-27 01:17:26 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2005-01-02 04:49:32 +08:00
|
|
|
## Copyright 1998-2005 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
|
|
|
##
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
1999-09-09 06:52:19 +08:00
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
PROGRAMS = passwd-shell
|
|
|
|
|
|
|
|
SRCS = passwd-shell.c shellutil.c
|
|
|
|
XSRCS = pwd-version.c
|
|
|
|
OBJS = passwd-shell.o shellutil.o
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-shell"
|
|
|
|
BUILD_SRV = @BUILD_SHELL@
|
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
all-local-srv: $(PROGRAMS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
2001-12-08 15:48:58 +08:00
|
|
|
# create programs also when using modules
|
|
|
|
depend-mod: depend-yes
|
|
|
|
all-mod: all-yes
|
|
|
|
install-mod: install-yes
|
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
passwd-shell: pwd-version.o
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
|
|
|
|
|
|
|
|
pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) passwd-shell > $@
|