1999-09-02 08:52:43 +08:00
|
|
|
# $OpenLDAP$
|
|
|
|
|
1999-10-28 15:31:59 +08:00
|
|
|
UNIX_PRGS = rp500 fax500
|
|
|
|
EXEPRGS = $(@PLAT@_PRGS)
|
|
|
|
PROGRAMS = xrpcomp.tmp $(EXEPRGS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
SRCS= main.c faxtotpc.c rp500.c
|
|
|
|
XSRCS=fax5version.c rpversion.c
|
|
|
|
|
|
|
|
FAX5OBJS = main.o faxtotpc.o
|
|
|
|
RPOBJS = rp500.o faxtotpc.o
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
1999-01-14 09:31:43 +08:00
|
|
|
XLIBS = -lldap -llber -llutil
|
1999-08-05 10:25:19 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
1999-01-10 10:25:41 +08:00
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
rp500 : rpversion.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ $(RPOBJS) rpversion.o $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
fax500 : fax5version.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ $(RPOBJS) fax5version.o $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
rpversion.c: ${RPOBJS} $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) rp500 > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
fax5version.c: ${FAX5OBJS} $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) fax500 > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-03-22 22:17:57 +08:00
|
|
|
xrpcomp.tmp: xrpcomp
|
1999-07-15 01:07:39 +08:00
|
|
|
$(SED) -e 's|%LIBEXECDIR%|$(libexecdir)|' $(srcdir)/xrpcomp > xrpcomp.tmp
|
1999-03-22 22:17:57 +08:00
|
|
|
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
1999-09-23 05:51:30 +08:00
|
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
1999-10-28 15:31:59 +08:00
|
|
|
@( \
|
|
|
|
for prg in $(EXEPRGS); do \
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(libexecdir); \
|
|
|
|
done \
|
|
|
|
)
|
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 755 xrpcomp.tmp \
|
|
|
|
$(DESTDIR)$(libexecdir)/xrpcomp
|