mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
dba57a312c
identification strings compatible with ident(1) and what(1). Uses $(VERSION) generated from configure.in. rm build/version rm old version .c files
21 lines
438 B
Makefile
21 lines
438 B
Makefile
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)
|
|
|
|
passwd-shell: pwd-version.o
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
|
|
|
|
pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) passwd-shell > $@
|