openldap/clients/ud/Makefile.in

26 lines
652 B
Makefile
Raw Normal View History

1998-10-25 09:41:42 +08:00
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)
1998-10-25 09:41:42 +08:00
ud : version.o
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
1998-10-25 09:41:42 +08:00
version.c: ${OBJS} $(LDAP_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) ud > $@
1998-10-25 09:41:42 +08:00
install-local: FORCE
-$(MKDIR) $(bindir)
1998-10-25 09:41:42 +08:00
-mv -f $(bindir)/ud $(bindir)/ud-
$(LTINSTALL) $(INSTALLFLAGS) -m 775 ud $(bindir)