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-03-10 06:50:06 +08:00
|
|
|
XXLIBS = $(KRB_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-03-12 03:43:26 +08:00
|
|
|
-$(MKDIR) $(bindir)
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 saucer $(bindir)
|
|
|
|
-test -d $(MANDIR) || $(MKDIR) $(mandir) $(MANDIR)
|
1999-05-04 20:39:12 +08:00
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/saucer.1 $(MANDIR)/saucer.1
|