summaryrefslogtreecommitdiff
path: root/drv/mi/gen_mi_files
diff options
context:
space:
mode:
Diffstat (limited to 'drv/mi/gen_mi_files')
-rw-r--r--drv/mi/gen_mi_files29
1 files changed, 9 insertions, 20 deletions
diff --git a/drv/mi/gen_mi_files b/drv/mi/gen_mi_files
index ca97fe5e6..ecfd2b93b 100644
--- a/drv/mi/gen_mi_files
+++ b/drv/mi/gen_mi_files
@@ -19,31 +19,20 @@ for i in `cat mi-exported-syms.txt`
do
echo "s/"$i"/drv"$i"/g" >> mi.sed
done
-echo "s/PictureScreenPtr/DrvPictureScreenPtr/g" >> mi.sed
-echo "s/ScreenPtr/DrvScreenPtr/g" >> mi.sed
-echo "s/DrvPictureDrvScreenPtr/DrvPictureScreenPtr/g" >> mi.sed
-echo "s/pScreen/pDrvScreen/g" >> mi.sed
-echo "s/PixmapPtr/DrvPixmapPtr/g" >> mi.sed
-echo "s/PicturePtr/DrvPicturePtr/g" >> mi.sed
-echo "s/DrawablePtr/DrvPixmapPtr/g" >> mi.sed
-echo "s/GCPtr/DrvGCPtr/g" >> mi.sed
-echo "s/scrnintstr.h/drv_scrnintstr.h/g" >> mi.sed
-echo "s/pixmapstr.h/drv_pixmapstr.h/g" >> mi.sed
-echo "s/windowstr.h/drv_pixmapstr.h/g" >> mi.sed
-echo "s/gcstruct.h/drv_gcstruct.h/g" >> mi.sed
-echo "s/picturestr.h/drv_picturestr.h/g" >> mi.sed
-echo "s/damage.h/drv_damage.h/g" >> mi.sed
-echo "s/mi.h/drv_mi.h/g" >> mi.sed
+cat ../dix.sed >> mi.sed
+for i in `cat ../dix-symbols.txt`
+do
+ echo "s/"$i"/drv"$i"/g" >> mi.sed
+done
+
+echo "s/mi\.h/drv_mi.h/g" >> mi.sed
echo "s/miClearDrawable/drvClearPixmap/g" >> mi.sed
echo "s/miZeroArcRec/drvmiZeroArcRec/g" >> mi.sed
echo "s/miZeroArcPtRec/drvmiZeroArcPtRec/g" >> mi.sed
echo "s/miGetZeroLineBias/drvmiGetZeroLineBias/g" >> mi.sed
echo "s/miCanZeroArc/drvmiCanZeroArc/g" >> mi.sed
-
-for i in `cat ../dix-symbols.txt`
-do
- echo "s/"$i"/drv"$i"/g" >> mi.sed
-done
+echo "s/miGlyphs/drvmiGlyphs/g" >> mi.sed
+echo "s/midrv/mi/g" >> mi.sed
for i in `cat $1 | grep \.h$`
do