blob: f407b7d0c824ec1c09b8b4ccaf0e199ad445a79b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
# autogenerated from automake.am with automake.py
# and slightly modified ...
TOP = ..\..
PRJ_TOP = ..
PACKAGE = atk
!INCLUDE $(TOP)\glib\build\win32\make.msc
!IFNDEF PERL
PERL = perl
!ENDIF
PKG_VER = 1.0
top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
INCLUDES = -FImsvc_recommended_pragmas.h \
-I. -I$(top_srcdir) $(GLIB_CFLAGS) $(PANGO_CFLAGS)
PKG_LINK = $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS)
MAINTAINERCLEANFILES = \
atkmarshal.c
OBJECTS = \
atk-enum-types.obj \
atkaction.obj \
atkcomponent.obj \
atkdocument.obj \
atkeditabletext.obj \
atkgobjectaccessible.obj \
atkhyperlink.obj \
atkhypertext.obj \
atkmisc.obj \
atkimage.obj \
atknoopobject.obj \
atknoopobjectfactory.obj \
atkobject.obj \
atkobjectfactory.obj \
atkregistry.obj \
atkrelation.obj \
atkrelationset.obj \
atkselection.obj \
atkstate.obj \
atkstateset.obj \
atkstreamablecontent.obj \
atktable.obj \
atktext.obj \
atkutil.obj \
atkvalue.obj \
libatkincludedi = \
$(includedir)/atk-1.0/atk
atk_headers = \
atk.h \
atkaction.h \
atkcomponent.h \
atkdocument.h \
atkeditabletext.h \
atkgobjectaccessible.h \
atkhyperlink.h \
atkhypertext.h \
atknoopobject.h \
atknoopobjectfactory.h \
atkobject.h \
atkobjectfactory.h \
atkimage.h \
atkmisc.h \
atkregistry.h \
atkrelation.h \
atkrelationset.h \
atkrelationtype.h \
atkselection.h \
atkstate.h \
atkstateset.h \
atkstreamablecontent.h \
atktable.h \
atktext.h \
atkutil.h \
atkvalue.h
EXTRA_DIST = \
atkmarshal.list
GENERATED = atkmarshal.c atkmarshal.h
all : \
$(GENERATED) \
lib$(PACKAGE)-$(PKG_VER)-0.dll
atkmarshal.h : atkmarshal.list
$(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header >atkmarshal.h
atkmarshal.c : atkmarshal.list
$(GLIB)\gobject\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body >atkmarshal.c
#
# atk-enum-types.h
#
atk-enum-types.h : $(atk_headers) makefile.msc
$(PERL) $(GLIB)\gobject\glib-mkenums \
--fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "#endif /* __ATK_ENUM_TYPES_H__ */" \
$(atk_headers) > atk-enum-types.h
#
# atk-enum-types.c
#
atk-enum-types.c: $(atk_headers) makefile.msc
$(PERL) $(GLIB)\gobject\glib-mkenums \
--fhead "#include <atk.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 G@Type@Value values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
$(atk_headers) > atk-enum-types.c
atk-enum-types.obj : atk-enum-types.h atk-enum-types.c
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
RESOURCE = $(PACKAGE).res
$(PACKAGE).lib : $(OBJECTS)
lib /out:$(PACKAGE).lib $(OBJECTS)
lib$(PACKAGE)-$(PKG_VER)-0.dll : $(OBJECTS) $(PACKAGE).def
$(CC) $(CFLAGS) -LD -Felib$(PACKAGE)-$(PKG_VER)-0.dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|