openldap/servers/slapd/shell-backends/Makefile.in

30 lines
679 B
Makefile
Raw Normal View History

1999-09-08 18:52:19 -04:00
# $OpenLDAP$
2003-01-03 15:20:47 -05:00
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
2000-05-12 22:47:56 -04:00
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
1999-09-08 18:52:19 -04:00
1998-10-24 21:41:42 -04: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@
all-local-srv: $(PROGRAMS)
1998-10-24 21:41:42 -04:00
# create programs also when using modules
depend-mod: depend-yes
all-mod: all-yes
install-mod: install-yes
1998-10-24 21:41:42 -04:00
passwd-shell: pwd-version.o
$(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) passwd-shell > $@