1 # autogenerated from automake.am with automake.py
2 # and slightly modified ...
7 !INCLUDE $(TOP)\glib\build\win32\make.msc
15 top_srcdir = $(PRJ_TOP)
16 top_builddir = $(PRJ_TOP)
17 includedir = $(PRJ_TOP)
18 LT_RELEASE = $(PKG_VER)
20 INCLUDES = -FImsvc_recommended_pragmas.h \
21 -I. -I$(top_srcdir) $(GLIB_CFLAGS) $(PANGO_CFLAGS)
23 PKG_LINK = $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS)
25 MAINTAINERCLEANFILES = \
34 atkgobjectaccessible.obj \
39 atknoopobjectfactory.obj \
41 atkobjectfactory.obj \
48 atkstreamablecontent.obj \
55 $(includedir)/atk-1.0/atk
63 atkgobjectaccessible.h \
67 atknoopobjectfactory.h \
78 atkstreamablecontent.h \
87 GENERATED = atkmarshal.c atkmarshal.h
91 $(PACKAGE)-$(PKG_VER).dll
93 atkmarshal.h : atkmarshal.list
94 $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header >atkmarshal.h
96 atkmarshal.c : atkmarshal.list
97 $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body >atkmarshal.c
102 atk-enum-types.h : $(atk_headers) makefile.msc
103 $(PERL) $(GLIB)\gobject\glib-mkenums \
104 --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n" \
105 --fprod "/* enumerations from \"@filename@\" */\n" \
106 --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
107 --ftail "#endif /* __ATK_ENUM_TYPES_H__ */" \
108 $(atk_headers) > atk-enum-types.h
113 atk-enum-types.c: $(atk_headers) makefile.msc
114 $(PERL) $(GLIB)\gobject\glib-mkenums \
115 --fhead "#include <atk.h>" \
116 --fprod "\n/* enumerations from \"@filename@\" */" \
117 --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
118 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
119 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
120 $(atk_headers) > atk-enum-types.c
122 atk-enum-types.obj : atk-enum-types.h atk-enum-types.c
124 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
125 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
127 RESOURCE = $(PACKAGE).res
129 $(PACKAGE).lib : $(OBJECTS)
130 lib /out:$(PACKAGE).lib $(OBJECTS)
132 $(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
133 $(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
135 $(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
136 $(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
137 user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
140 $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<