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
26 lines
652 B
Makefile
26 lines
652 B
Makefile
SRCS= main.c find.c mod.c print.c auth.c util.c help.c \
|
|
string_to_key.c group.c edit.c globals.c
|
|
XSRCS= version.c
|
|
OBJS= main.o find.o mod.o print.o auth.o util.o help.o \
|
|
string_to_key.o group.o globals.o edit.o
|
|
HDRS= ud.h
|
|
PROGRAMS= ud
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldif -lldap -llber -llutil
|
|
XXLIBS = $(TERMCAP_LIBS) $(KRB_LIBS) $(LUTIL_LIBS)
|
|
|
|
ud : version.o
|
|
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
|
|
|
version.c: ${OBJS} $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) ud > $@
|
|
|
|
install-local: FORCE
|
|
-$(MKDIR) $(bindir)
|
|
-mv -f $(bindir)/ud $(bindir)/ud-
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 775 ud $(bindir)
|