First stab at Wine versions of Courier, System and MS Sans Serif
fonts.
diff --git a/Make.rules.in b/Make.rules.in
index fc18bd9..be8d31d 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -51,6 +51,7 @@
MV = mv
LINT = @LINT@
LINTFLAGS = @LINTFLAGS@
+FONTFORGE = @FONTFORGE@
INCLUDES = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
EXTRACFLAGS = @EXTRACFLAGS@
ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS)
@@ -68,6 +69,8 @@
WMC = $(TOOLSDIR)/tools/wmc/wmc
WIDL = $(TOOLSDIR)/tools/widl/widl
WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc
+SFNT2FNT = $(TOOLSDIR)/tools/sfnt2fnt
+FNT2FON = $(TOOLSDIR)/tools/fnt2fon
RC = $(WRC)
RC16 = $(WRC)
RCFLAGS = --nostdinc $(INCLUDES) $(DEFS) $(EXTRARCFLAGS)
@@ -110,7 +113,7 @@
# Implicit rules
-.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.c .spec.def .ok
+.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.c .spec.def .ok .sfd .ttf
.c.o:
$(CC) -c $(ALLCFLAGS) -o $@ $<
@@ -139,6 +142,9 @@
.c.ok:
$(RUNTEST) $(RUNTESTFLAGS) $< && touch $@
+.sfd.ttf:
+ $(FONTFORGE) -script $(TOPSRCDIR)/fonts/genttf.ff $<
+
# 'all' target first in case the enclosing Makefile didn't define any target
all: Makefile