1999-03-09 09:59:49 +08:00
|
|
|
PROGRAMS= saucer
|
|
|
|
|
|
|
|
SRCS= main.c
|
|
|
|
OBJS= main.o
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
1999-03-10 06:50:06 +08:00
|
|
|
READLINE_LIBS = @READLINE_LIBS@
|
|
|
|
|
1999-03-09 09:59:49 +08:00
|
|
|
XLIBS = -lldap -llber -llutil
|
1999-08-05 10:25:19 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS) $(READLINE_LIBS) $(TERMCAP_LIBS)
|
1999-03-09 09:59:49 +08:00
|
|
|
|
1999-03-12 03:43:26 +08:00
|
|
|
MANDIR=$(mandir)/man1
|
|
|
|
|
1999-03-09 09:59:49 +08:00
|
|
|
saucer: ${OBJS} $(LDAP_LIBDEPEND)
|
|
|
|
$(LTLINK) -o $@ $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
1999-09-23 05:51:30 +08:00
|
|
|
-$(MKDIR) $(DESTDIR)$(bindir)
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 saucer $(DESTDIR)$(bindir)
|
|
|
|
-$(MKDIR) $(DESTDIR)$(MANDIR)
|
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/saucer.1 $(DESTDIR)$(MANDIR)/saucer.1
|