summaryrefslogtreecommitdiff
path: root/pango/makefile.msc
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2003-12-13 14:31:50 +0000
committerHans Breuer <hans@src.gnome.org>2003-12-13 14:31:50 +0000
commit57d17e74dc8861396b465d602a8f2eda513d0d61 (patch)
tree60b409039d867261f3b025857d3bcebd15174c61 /pango/makefile.msc
parentbcbb2cad9eee80f00ea25fd879347544f62a5a03 (diff)
downloadpango-57d17e74dc8861396b465d602a8f2eda513d0d61.tar.gz
moved pango_fc_* to the latter where they live on *nix too.
2003-12-13 Hans Breuer <hans@breuer.org> * pango/pango.def pangoft2.def : moved pango_fc_* to the latter where they live on *nix too. * pango/makefile.msc : make it build again (including the Ft2 backend) * pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined include the basic backend shaper * pango/pangowin32.c (pango_win32_render_layout) : initialize iter before first usage to avoid immediate crashing * pango/opentype/makefile.msc pango/modules/makefile.msc : finally build with mscv, too. [completely untested cause I'm not able to type, write or read any of these languages] * modules/modules.def : follow module function renaming/changes * modules/basic/basic-win32.c : register the right engine, i.e. make it compile
Diffstat (limited to 'pango/makefile.msc')
-rw-r--r--pango/makefile.msc61
1 files changed, 35 insertions, 26 deletions
diff --git a/pango/makefile.msc b/pango/makefile.msc
index 8c41a666..ed6726b0 100644
--- a/pango/makefile.msc
+++ b/pango/makefile.msc
@@ -48,12 +48,11 @@ PKG_CFLAGS = -FImsvc_recommended_pragmas.h -I.. -I. -I$(PRJ_TOP) \
-DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE \
-DMODULE_VERSION=\"$(PANGO_MODULE_VERSION)\" \
$(GLIB_CFLAGS) $(LIBICONV_CFLAGS) \
- $(FREETYPE2_CFLAGS) \
$(X11_CFLAGS) -DSYSCONFDIR=\"/etc\"
!IFDEF OBJS_pango
# don't link with itself
-PKG_LINK = $(GLIB_LIBS)
+PKG_LINK = $(GLIB_LIBS) $(FONTCONFIG_LIBS)
!ENDIF
!IFDEF OBJS_pangowin32
@@ -62,9 +61,11 @@ PKG_LINK = $(GLIB_LIBS) $(LIBICONV_LIBS) \
!ENDIF
!IFDEF OBJS_pangoft2
-PKG_LINK = $(GLIB_LIBS) $(LIBICONV_LIBS) $(FREETYPE2_LIBS) \
- pango-$(PANGO_VER).lib $(FONTCONFIG_LIBS)
-# ..\fontconfig\fcwin32.lib
+PKG_CFLAGS = $(PKG_CFLAGS) $(FREETYPE2_CFLAGS) $(FONTCONFIG_CFLAGS) \
+ -DPANGO_MODULE_PREFIX=_pango_basic_ft2
+
+PKG_LINK = $(GLIB_LIBS) $(LIBICONV_LIBS) $(FREETYPE2_LIBS) $(FONTCONFIG_LIBS) \
+ pango-$(PANGO_VER).lib opentype\pango-ot.lib
!ENDIF
!IFDEF OBJS_pangox
@@ -79,28 +80,30 @@ PKG_LINK = $(GLIB_LIBS) $(LIBICONV_LIBS) \
!IFDEF OBJS_pango
OBJECTS = \
+ pango-enum-types.obj \
+ \
break.obj \
fonts.obj \
glyphstring.obj \
mapping.obj \
modules.obj \
pango-attributes.obj \
+ pango-engine.obj \
pango-color.obj \
pango-context.obj \
pango-coverage.obj \
pango-fontset.obj \
pango-fontmap.obj \
pango-glyph-item.obj \
- pango-intset.obj \
pango-item.obj \
pango-markup.obj \
pango-layout.obj \
+ pango-script.obj \
pango-tabs.obj \
pango-utils.obj \
- pangofc-font.obj \
reorder-items.obj \
shape.obj \
- pango-enum-types.obj \
+ \
fribidi.obj \
fribidi_get_type.obj
!ENDIF
@@ -108,11 +111,11 @@ OBJECTS = \
basic-win32.obj : ..\modules\basic\basic-win32.c
$(CC) $(PKG_CFLAGS) -GD -DPANGO_MODULE_PREFIX=_pango_basic_win32 -c ..\modules\basic\basic-win32.c
-basic-ft2.obj : ..\modules\basic\basic-ft2.c
- $(CC) $(PKG_CFLAGS) -GD -DFT2_MODULE_PREFIX -c ..\modules\basic\basic-ft2.c
+basic-fc.obj : ..\modules\basic\basic-fc.c
+ $(CC) $(PKG_CFLAGS) -GD -DPANGO_MODULE_PREFIX=_pango_basic_ft2 -c ..\modules\basic\basic-fc.c
basic-x.obj : ..\modules\basic\basic-x.c
- $(CC) $(PKG_CFLAGS) -GD -DX_MODULE_PREFIX -c ..\modules\basic\basic-x.c
+ $(CC) $(PKG_CFLAGS) -GD -DPANGO_MODULE_PREFIX=_pango_basic_xs -c ..\modules\basic\basic-x.c
fribidi.obj : mini-fribidi\fribidi.c
@@ -131,10 +134,14 @@ OBJECTS = \
!IFDEF OBJS_pangoft2
OBJECTS = \
- module-defs-ft2.obj \
+ module-defs-fc.obj \
+ pangofc-font.obj \
+ pangofc-fontmap.obj \
pangoft2.obj \
pangoft2-fontmap.obj \
- basic-ft2.obj
+ basic-fc.obj
+
+PKG_CFLAGS = $(PKG_CFLAGS) $(FONTCONFIG_CFLAGS) $(FREETYPE2_CFLAGS)
!ENDIF
!IFDEF OBJS_pangox
@@ -159,8 +166,8 @@ OBJECTS = $(PACKAGE).obj
module-defs-win32.c : module-defs-win32.c.win32
copy module-defs-win32.c.win32 module-defs-win32.c
-module-defs-ft2.c : module-defs-ft2.c.win32
- copy module-defs-ft2.c.win32 module-defs-ft2.c
+module-defs-fc.c : module-defs-fc.c.win32
+ copy module-defs-fc.c.win32 module-defs-fc.c
pango_headers= \
pango.h \
@@ -171,27 +178,29 @@ pango_headers= \
pango-engine.h \
pango-font.h \
pango-fontmap.h \
+ pango-fontset.h \
pango-glyph.h \
- pango-indic.h \
+ pango-glyph-item.h \
pango-item.h \
pango-layout.h \
pango-modules.h \
+ pango-script.h \
pango-tabs.h \
pango-types.h \
pango-utils.h \
- pangox.h
-
+ pangofc-font.h \
+ pangofc-fontmap.h
-pango-enum-types.h: $(pango_headers)
- $(PERL) ..\..\glib\gobject\glib-mkenums \
- --fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n" \
+pango-enum-types.h: $(pango_headers) makefile.msc
+ $(PERL) $(GLIB)\gobject\glib-mkenums \
+ --fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define PANGO_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
- --ftail "#endif /* __PANGO_ENUM_TYPES_H__ */" \
- $(pango_headers) ) > pango-enum-types.h
+ --ftail "G_END_DECLS\n#endif /* __PANGO_ENUM_TYPES_H__ */" \
+ $(pango_headers) > pango-enum-types.h
-pango-enum-types.c: $(pango_headers) pango-enum-types.h
- $(PERL) ..\..\glib\gobject\glib-mkenums \
+pango-enum-types.c: $(pango_headers) pango-enum-types.h makefile.msc
+ $(PERL) $(GLIB)\gobject\glib-mkenums \
--fhead "#include <pango.h>" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const GEnumValue values[] = {" \
@@ -217,4 +226,4 @@ $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) -DPANGO_VERSION=\"$(PANGO_VER)\" $<
-!ENDIF #PACKAGE \ No newline at end of file
+!ENDIF #PACKAGE