Revert "Using abstract atk_object_get_name to check accessible-name notification"
[platform/upstream/atk.git] / atk / makefile.msc
1 # autogenerated from automake.am with automake.py
2 # and slightly modified ...
3
4 TOP = ..\..
5 PRJ_TOP = ..
6 PACKAGE = atk
7 !INCLUDE $(TOP)\glib\build\win32\make.msc
8
9 !IFNDEF PERL
10 PERL = perl
11 !ENDIF
12
13 PKG_VER = 1.0
14
15 top_srcdir = $(PRJ_TOP)
16 top_builddir = $(PRJ_TOP)
17 includedir = $(PRJ_TOP)
18 LT_RELEASE = $(PKG_VER)
19
20 INCLUDES = -FImsvc_recommended_pragmas.h \
21         -I. -I$(top_srcdir) $(GLIB_CFLAGS) $(PANGO_CFLAGS)
22
23 PKG_LINK = $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS)
24
25 MAINTAINERCLEANFILES = \
26         atkmarshal.c
27
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         atkmisc.obj \
38         atkimage.obj \
39         atknoopobject.obj \
40         atknoopobjectfactory.obj \
41         atkobject.obj \
42         atkobjectfactory.obj \
43         atkregistry.obj \
44         atkrelation.obj \
45         atkrelationset.obj \
46         atkselection.obj \
47         atkstate.obj \
48         atkstateset.obj \
49         atkstreamablecontent.obj \
50         atktable.obj \
51         atktext.obj \
52         atkutil.obj \
53         atkvalue.obj \
54
55 libatkincludedi = \
56         $(includedir)/atk-1.0/atk
57
58 atk_headers = \
59         atk.h \
60         atkaction.h \
61         atkcomponent.h \
62         atkdocument.h \
63         atkeditabletext.h \
64         atkgobjectaccessible.h \
65         atkhyperlink.h \
66         atkhypertext.h \
67         atknoopobject.h \
68         atknoopobjectfactory.h \
69         atkobject.h \
70         atkobjectfactory.h \
71         atkimage.h \
72         atkmisc.h \
73         atkregistry.h \
74         atkrelation.h \
75         atkrelationset.h \
76         atkrelationtype.h \
77         atkselection.h \
78         atkstate.h \
79         atkstateset.h \
80         atkstreamablecontent.h \
81         atktable.h \
82         atktext.h \
83         atkutil.h \
84         atkvalue.h
85
86 EXTRA_DIST = \
87         atkmarshal.list
88
89 GENERATED = atkmarshal.c atkmarshal.h
90
91 all : \
92         $(GENERATED) \
93         lib$(PACKAGE)-$(PKG_VER)-0.dll
94
95 atkmarshal.h : atkmarshal.list
96         $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header >atkmarshal.h
97
98 atkmarshal.c : atkmarshal.list
99         $(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body >atkmarshal.c
100
101 #
102 # atk-enum-types.h
103 #
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
111
112 #
113 # atk-enum-types.c
114 #
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
123
124 atk-enum-types.obj : atk-enum-types.h atk-enum-types.c
125
126 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
127         copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
128
129 RESOURCE = $(PACKAGE).res
130
131 $(PACKAGE).lib : $(OBJECTS)
132         lib /out:$(PACKAGE).lib $(OBJECTS)
133
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
136
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
140
141 .c.obj :
142         $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<