It was already discussed that we cannot distribute Borland BGI fonts with GRX. Anyway my script to get them linked into library (if one have them) was added in 2.3.4. Script was really for DJGPP only. Here is patch which adds related support to makefiles. However I moved directory where to put .chr files to src/chr. It's easy to move it back to top directory if needed
I tested it for Linux only yet
Andris
--- grx-2.3.4/src/stdobjs.mak~5 Mon Mar 5 13:12:12 2001 +++ grx-2.3.4/src/stdobjs.mak Mon Mar 5 13:13:10 2001 @@ -324,3 +324,4 @@ $(OP)../addons/print/prndata$(OX) \ $(OP)bgi/bgiprint$(OX)
+CHR_1 = $(subst .chr,.o,$(wildcard chr/*.chr)) --- grx-2.3.4/src/makefile.x11~5 Mon Mar 5 13:20:34 2001 +++ grx-2.3.4/src/makefile.x11 Mon Mar 5 14:47:14 2001 @@ -38,7 +38,7 @@ $(STD_9) $(STD_10) $(STD_11) $(STD_12)\
BGI_O= $(BGI_1) $(BGI_2) $(BGI_3) $(BGI_4) \ - $(BGI_5) $(BGI_6) + $(BGI_5) $(BGI_6) $(CHR_1)
ADDON_O= ifdef DEBUG @@ -124,5 +124,11 @@
$(O) : %.o : %.c $(CC) -c $(CCOPT) -D__XWIN__ $(INCDIR) $*.c -o $*.o + +$(subst .o,.c,$(CHR_1)) : ../bin/bin2c + ../bin/bin2c $*.chr _$(subst .chr,.o,$(shell basename $*))_font $*.c + +../bin/bin2c: + $(CC) -O2 bgi/bin2c.c -o ../bin/bin2c
include depend.x11 --- grx-2.3.4/src/makefile.w32~5 Fri Feb 2 18:54:28 2001 +++ grx-2.3.4/src/makefile.w32 Mon Mar 5 16:13:39 2001 @@ -29,7 +29,7 @@ STD_Oa= $(STD_1) $(STD_2) $(STD_3) $(STD_4) $(STD_5) $(STD_6) STD_Ob= $(STD_7) $(STD_8) $(STD_9) $(STD_10) $(STD_11) $(STD_12) BGI_Oa= $(BGI_1) $(BGI_2) $(BGI_3) -BGI_Ob= $(BGI_4) $(BGI_5) $(BGI_6) +BGI_Ob= $(BGI_4) $(BGI_5) $(BGI_6) $(CHR_1)
ADDON_O= ifdef DEBUG @@ -127,5 +127,11 @@
.c.o: $(CC) -c $(CCOPT) $(INCDIR) $*.c -o $*.o + +$(subst .o,.c,$(CHR_1)) : ../bin/bin2c.exe + ../bin/bin2c.exe $*.chr _$(subst .chr,.o,$(shell basename $*))_font $*.c + +../bin/bin2c.exe: + $(CC) -O2 bgi/bin2c.c -o ../bin/bin2c.exe
#include depend.w32 --- grx-2.3.4/src/makefile.lnx~5 Sat Feb 3 01:47:38 2001 +++ grx-2.3.4/src/makefile.lnx Mon Mar 5 16:12:54 2001 @@ -36,7 +36,7 @@ $(STD_9) $(STD_10) $(STD_11) $(STD_12)
BGI_O= $(BGI_1) $(BGI_2) $(BGI_3) $(BGI_4) \ - $(BGI_5) $(BGI_6) + $(BGI_5) $(BGI_6) $(CHR_1)
ADDON_O= ifdef DEBUG @@ -129,6 +129,12 @@
.c.o: $(CC) -c $(CCOPT) $(INCDIR) $*.c -o $*.o + +$(subst .o,.c,$(CHR_1)) : ../bin/bin2c + ../bin/bin2c $*.chr _$(subst .chr,.o,$(shell basename $*))_font $*.c + +../bin/bin2c: + $(CC) -O2 bgi/bin2c.c -o ../bin/bin2c
include depend.lnx
--- grx-2.3.4/src/makebase.dj~5 Sat Feb 3 01:29:30 2001 +++ grx-2.3.4/src/makebase.dj Mon Mar 5 16:13:26 2001 @@ -19,7 +19,7 @@ STD_Oa= $(STD_1) $(STD_2) $(STD_3) $(STD_4) $(STD_5) $(STD_6) STD_Ob= $(STD_7) $(STD_8) $(STD_9) $(STD_10) $(STD_11) $(STD_12) BGI_Oa= $(BGI_1) $(BGI_2) $(BGI_3) -BGI_Ob= $(BGI_4) $(BGI_5) $(BGI_6) +BGI_Ob= $(BGI_4) $(BGI_5) $(BGI_6) $(CHR_1)
ADDON_O= ifdef DEBUG @@ -163,5 +163,11 @@
.c.o: $(CC) -c $(CCOPT) $(INCDIR) $*.c -o $*.o + +$(subst .o,.c,$(CHR_1)) : ../bin/bin2c.exe + ../bin/bin2c.exe $*.chr _$(subst .chr,.o,$(shell basename $*))_font $*.c + +../bin/bin2c.exe: + $(CC) -O2 bgi/bin2c.c -o ../bin/bin2c.exe
include depend.dj2