3 PROGRAMS= rp500 fax500 xrpcomp.tmp
5 SRCS= main.c faxtotpc.c rp500.c
6 XSRCS=fax5version.c rpversion.c
8 FAX5OBJS = main.o faxtotpc.o
9 RPOBJS = rp500.o faxtotpc.o
11 LDAP_INCDIR= ../../include
12 LDAP_LIBDIR= ../../libraries
14 XLIBS = -lldap -llber -llutil
15 XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
18 $(LTLINK) -o $@ $(RPOBJS) rpversion.o $(LIBS)
20 fax500 : fax5version.o
21 $(LTLINK) -o $@ $(RPOBJS) fax5version.o $(LIBS)
23 rpversion.c: ${RPOBJS} $(LDAP_LIBDEPEND)
25 $(MKVERSION) rp500 > $@
27 fax5version.c: ${FAX5OBJS} $(LDAP_LIBDEPEND)
29 $(MKVERSION) fax500 > $@
32 $(SED) -e 's|%LIBEXECDIR%|$(libexecdir)|' $(srcdir)/xrpcomp > xrpcomp.tmp
34 install-local: $(PROGRAMS) FORCE
35 -$(MKDIR) $(DESTDIR)$(libexecdir)
36 $(LTINSTALL) $(INSTALLFLAGS) -m 755 rp500 $(DESTDIR)$(libexecdir)
37 $(LTINSTALL) $(INSTALLFLAGS) -m 755 fax500 $(DESTDIR)$(libexecdir)
38 $(INSTALL) $(INSTALLFLAGS) -m 755 xrpcomp.tmp $(DESTDIR)$(libexecdir)/xrpcomp