3 --- Makefile.in.orig 2008-05-21 18:18:18.000000000 -0400
5 @@ -45,7 +45,8 @@ mandir = @mandir@
9 - $(CC) $(STATIC) $(LDFLAGS) -o otf2bdf $(OBJS) $(LIBS)
10 + $(LIBTOOL) --mode=link \
11 + $(CC) $(LDFLAGS) -o otf2bdf $(OBJS:.o=.lo) $(LIBS)
14 $(RM) -f *.o *BAK *CKP *~ a.out core
15 @@ -57,15 +58,18 @@ distclean: clean
16 $(RM) -f otf2bdf config.* Makefile
19 - $(CC) $(CFLAGS) $(INCS) -c $< -o $@
20 + $(LIBTOOL) --mode=compile --tag=CC \
21 + $(CC) $(CFLAGS) $(INCS) -prefer-pic -c $<
24 - $(MKINSTALLDIRS) $(bindir) $(mandir)/man1
25 - $(CP) otf2bdf $(bindir)/otf2bdf
26 - $(CP) otf2bdf.man $(mandir)/man1/otf2bdf.1
27 + $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
28 + $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
29 + $(LIBTOOL) --mode=install \
30 + $(BSD_INSTALL_PROGRAM) otf2bdf $(DESTDIR)$(bindir)/otf2bdf
31 + $(BSD_INSTALL_MAN) otf2bdf.man $(DESTDIR)$(mandir)/man1/otf2bdf.1
34 - $(RM) -f $(bindir)/otf2bdf
35 - $(RM) -f $(mandir)/man1/otf2bdf.1
36 + $(RM) -f $(DESTDIR)$(bindir)/otf2bdf
37 + $(RM) -f $(DESTDIR)$(mandir)/man1/otf2bdf.1