Translation updated by Ivar Smolin.
[atk.git] / atk / makefile.msc
blob49d4514d36f35b8d55af5be9cb46f40285b07872
1 # autogenerated from automake.am with automake.py
2 # and slightly modified ...
4 TOP = ..\..
5 PRJ_TOP = ..
6 PACKAGE = atk
7 !INCLUDE $(TOP)\glib\build\win32\make.msc
9 !IFNDEF PERL
10 PERL = perl
11 !ENDIF
13 PKG_VER = 1.0
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 = \
26         atkmarshal.c
28 OBJECTS = \
29         atk-enum-types.obj \
30         atkaction.obj \
31         atkcomponent.obj \
32         atkdocument.obj \
33         atkeditabletext.obj \
34         atkgobjectaccessible.obj \
35         atkhyperlink.obj \
36         atkhypertext.obj \
37         atkimage.obj \
38         atknoopobject.obj \
39         atknoopobjectfactory.obj \
40         atkobject.obj \
41         atkobjectfactory.obj \
42         atkregistry.obj \
43         atkrelation.obj \
44         atkrelationset.obj \
45         atkselection.obj \
46         atkstate.obj \
47         atkstateset.obj \
48         atkstreamablecontent.obj \
49         atktable.obj \
50         atktext.obj \
51         atkutil.obj \
52         atkvalue.obj \
54 libatkincludedi = \
55         $(includedir)/atk-1.0/atk
57 atk_headers = \
58         atk.h \
59         atkaction.h \
60         atkcomponent.h \
61         atkdocument.h \
62         atkeditabletext.h \
63         atkgobjectaccessible.h \
64         atkhyperlink.h \
65         atkhypertext.h \
66         atknoopobject.h \
67         atknoopobjectfactory.h \
68         atkobject.h \
69         atkobjectfactory.h \
70         atkimage.h \
71         atkregistry.h \
72         atkrelation.h \
73         atkrelationset.h \
74         atkrelationtype.h \
75         atkselection.h \
76         atkstate.h \
77         atkstateset.h \
78         atkstreamablecontent.h \
79         atktable.h \
80         atktext.h \
81         atkutil.h \
82         atkvalue.h
84 EXTRA_DIST = \
85         atkmarshal.list
87 GENERATED = atkmarshal.c atkmarshal.h
89 all : \
90         $(GENERATED) \
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
100 # atk-enum-types.h
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
111 # atk-enum-types.c
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
139 .c.obj :
140         $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<