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 \
40 atknoopobjectfactory.obj \
42 atkobjectfactory.obj \
49 atkstreamablecontent.obj \
56 $(includedir)/atk-1.0/atk
64 atkgobjectaccessible.h \
68 atknoopobjectfactory.h \
80 atkstreamablecontent.h \
89 GENERATED = atkmarshal.c atkmarshal.h
93 lib$(PACKAGE)-$(PKG_VER)-0.dll
95 atkmarshal.h : atkmarshal.list
96 $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header >atkmarshal.h
98 atkmarshal.c : atkmarshal.list
99 $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body >atkmarshal.c
104 atk-enum-types.h : $(atk_headers) makefile.msc
105 $(PERL) $(GLIB)\gobject\glib-mkenums \
106 --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n" \
107 --fprod "/* enumerations from \"@filename@\" */\n" \
108 --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
109 --ftail "#endif /* __ATK_ENUM_TYPES_H__ */" \
110 $(atk_headers) > atk-enum-types.h
115 atk-enum-types.c: $(atk_headers) makefile.msc
116 $(PERL) $(GLIB)\gobject\glib-mkenums \
117 --fhead "#include <atk.h>" \
118 --fprod "\n/* enumerations from \"@filename@\" */" \
119 --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[] = {" \
120 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
121 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
122 $(atk_headers) > atk-enum-types.c
124 atk-enum-types.obj : atk-enum-types.h atk-enum-types.c
126 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
127 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
129 RESOURCE = $(PACKAGE).res
131 $(PACKAGE).lib : $(OBJECTS)
132 lib /out:$(PACKAGE).lib $(OBJECTS)
134 lib$(PACKAGE)-$(PKG_VER)-0.dll : $(OBJECTS) $(PACKAGE).def
135 $(CC) $(CFLAGS) -LD -Felib$(PACKAGE)-$(PKG_VER)-0.dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
137 $(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
138 $(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
139 user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
142 $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<