Only a script engine here.
authorTor Lillqvist <tml@iki.fi>
Thu, 21 Dec 2000 19:55:23 +0000 (19:55 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 21 Dec 2000 19:55:23 +0000 (19:55 +0000)
2000-12-21  Tor Lillqvist  <tml@iki.fi>

* modules/basic/basic-win32.c (script_engine_load): Only a script
engine here.

* pango/makefile.mingw.in: Add the built pango-enum-types.[ch].

* pango/pango.def
* pango/pangoft2.def: Update.

* pango/opentype/pango-ot.def
* pango/opentype/makefile.mingw.in: New files.

* pango/opentype/Makefile.am (EXTRA_DIST): Add them.

* configure.in (included_modules): Generate
pango/opentype/makefile.mingw.

src/Makefile.am
src/makefile.mingw.in [new file with mode: 0644]
src/pango-ot.def [new file with mode: 0644]

index 38cbfd2..fa396b5 100644 (file)
@@ -36,4 +36,6 @@ ottest_LDADD =                \
        $(FREETYPE_LIBS)
 
 EXTRA_DIST =           \
-       README
+       README          \
+       pango-ot.def    \
+       makefile.mingw.in
diff --git a/src/makefile.mingw.in b/src/makefile.mingw.in
new file mode 100644 (file)
index 0000000..a3daf0e
--- /dev/null
@@ -0,0 +1,43 @@
+TOP = ../../..
+
+include $(TOP)/build/win32/make.mingw
+
+# Possibly override Pango version from build/win32/module.defs
+PANGO_VER = @VERSION@
+
+OPTIMIZE = -g -Wall
+
+INCLUDES = -I ../.. -I .
+DEFINES = -DPANGO_VERSION=\"$(PANGO_VER)\"
+DEPCFLAGS = $(GLIB_CFLAGS) $(FREETYPE2_CFLAGS)
+
+all :                                          \
+       ../../config.h                          \
+       pango-ot-$(PANGO_VER).dll               \
+       ottest.exe
+
+PANGO_OT_OBJS =                        \
+       ftxopen.o               \
+       ftxgdef.o               \
+       ftxgpos.o               \
+       pango-ot-info.o         \
+       pango-ot-ruleset.o      \
+       ftxgsub.o
+
+OTTEST_OBJS =          \
+       ottest.o        \
+       disasm.o
+       
+../../config.h : ../../config.h.win32
+       cp $< $@
+
+pango-ot-$(PANGO_VER).dll : $(PANGO_OT_OBJS) pango-ot.def
+       $(GLIB)/build-dll pango-ot $(PANGO_VER) pango-ot.def $(OPTIMIZE) $(PANGO_OT_OBJS) -L .. -lpango-$(PANGO_VER) $(GLIB_LIBS) $(FREETYPE2_LIBS)
+
+ottest.exe : $(OTTEST_OBJS) pango-ot-$(PANGO_VER).dll
+       $(CC) -o $@ $(OTTEST_OBJS) -L . -lpango-ot-$(PANGO_VER) $(GLIB_LIBS) $(FREETYPE2_LIBS)
+
+# Hack to get an updated makefile.mingw automatically after updating
+# makefile.mingw.in. Only for developer use.
+makefile.mingw: makefile.mingw.in
+       sed -e 's,@VER[S]ION@,@VERSION@,' <$< >$@
diff --git a/src/pango-ot.def b/src/pango-ot.def
new file mode 100644 (file)
index 0000000..88310a7
--- /dev/null
@@ -0,0 +1,50 @@
+EXPORTS
+       TT_Done_GDEF_Table
+       TT_Done_GPOS_Table
+       TT_Done_GSUB_Table
+       TT_Done_GSUB_Table
+       TT_GDEF_Build_ClassDefinition
+       TT_GDEF_Get_Glyph_Property
+       TT_GPOS_Add_Feature
+       TT_GPOS_Apply_String
+       TT_GPOS_Clear_Features
+       TT_GPOS_Query_Features
+       TT_GPOS_Query_Languages
+       TT_GPOS_Query_Scripts
+       TT_GPOS_Register_Glyph_Function
+       TT_GPOS_Register_MM_Function
+       TT_GPOS_Select_Feature
+       TT_GPOS_Select_Language
+       TT_GPOS_Select_Script
+       TT_GSUB_Add_Feature
+       TT_GSUB_Add_String
+       TT_GSUB_Add_String
+       TT_GSUB_Apply_String
+       TT_GSUB_Clear_Features
+       TT_GSUB_Query_Features
+       TT_GSUB_Query_Languages
+       TT_GSUB_Query_Scripts
+       TT_GSUB_Register_Alternate_Function
+       TT_GSUB_Select_Feature
+       TT_GSUB_Select_Feature
+       TT_GSUB_Select_Language
+       TT_GSUB_Select_Language
+       TT_GSUB_Select_Script
+       TT_GSUB_Select_Script
+       TT_GSUB_String_Done
+       TT_GSUB_String_New
+       TT_GSUB_String_Set_Length
+       TT_Load_GDEF_Table
+       TT_Load_GPOS_Table
+       TT_Load_GSUB_Table
+       TT_Load_GSUB_Table
+       pango_ot_info_find_feature
+       pango_ot_info_find_language
+       pango_ot_info_find_script
+       pango_ot_info_list_features
+       pango_ot_info_list_languages
+       pango_ot_info_list_scripts
+       pango_ot_info_new
+       pango_ot_ruleset_add_feature
+       pango_ot_ruleset_new
+       pango_ot_ruleset_shape