mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
24 lines
559 B
Makefile
24 lines
559 B
Makefile
PROGRAMS= saucer
|
|
|
|
SRCS= main.c
|
|
OBJS= main.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
READLINE_LIBS = @READLINE_LIBS@
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(KRB_LIBS) $(LUTIL_LIBS) $(READLINE_LIBS) $(TERMCAP_LIBS)
|
|
|
|
MANDIR=$(mandir)/man1
|
|
|
|
saucer: ${OBJS} $(LDAP_LIBDEPEND)
|
|
$(LTLINK) -o $@ $(OBJS) $(LIBS)
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(bindir)
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 saucer $(bindir)
|
|
-test -d $(MANDIR) || $(MKDIR) $(mandir) $(MANDIR)
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/saucer.1 $(MANDIR)/saucer.1
|