~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to gio/makefile.msc

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# autogenerated from automake.am with automake.py
 
2
TOP = ..\..
 
3
PRJ_TOP = ..
 
4
PACKAGE = gio
 
5
PKG_VER = 2.0
 
6
!INCLUDE $(TOP)\glib\build\win32\make.msc
 
7
 
 
8
SUBDIRS = win32
 
9
 
 
10
sub-all: 
 
11
        for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
 
12
 
 
13
sub-one:
 
14
        cd $(THIS)
 
15
        nmake -nologo -f makefile.msc
 
16
        cd ..
 
17
 
 
18
INCLUDES = \
 
19
        -FImsvc_recommended_pragmas.h \
 
20
        -I .. -I ..\glib -I ..\gmodule -I . \
 
21
        $(INTL_CFLAGS)
 
22
 
 
23
DEFINES = \
 
24
        -DG_LOG_DOMAIN=\"GLib-GIO\" \
 
25
        -DGIO_MODULE_DIR=\"$(libdir)/gio/modules\" \
 
26
        -DGIO_COMPILATION
 
27
 
 
28
appinfo_sources = \
 
29
        gwin32appinfo.c gwin32appinfo.h
 
30
 
 
31
gio_headers =                   \
 
32
        gappinfo.h              \
 
33
        gasyncresult.h          \
 
34
        gbufferedinputstream.h  \
 
35
        gbufferedoutputstream.h \
 
36
        gcancellable.h          \
 
37
        gcontenttype.h          \
 
38
        gdatainputstream.h      \
 
39
        gdataoutputstream.h     \
 
40
        gdrive.h                \
 
41
        gemblem.h               \
 
42
        gemblemedicon.h         \
 
43
        gfile.h                 \
 
44
        gfileattribute.h        \
 
45
        gfileenumerator.h       \
 
46
        gfileicon.h             \
 
47
        gfileinfo.h             \
 
48
        gfileinputstream.h      \
 
49
        gfilemonitor.h          \
 
50
        gfilenamecompleter.h    \
 
51
        gfileoutputstream.h     \
 
52
        gfilterinputstream.h    \
 
53
        gfilteroutputstream.h   \
 
54
        gicon.h                 \
 
55
        ginputstream.h          \
 
56
        gio.h                   \
 
57
        giotypes.h              \
 
58
        gioenums.h              \
 
59
        gioerror.h              \
 
60
        giomodule.h             \
 
61
        gioscheduler.h          \
 
62
        gloadableicon.h         \
 
63
        gmount.h                \
 
64
        gmemoryinputstream.h    \
 
65
        gmemoryoutputstream.h   \
 
66
        gmountoperation.h       \
 
67
        gnativevolumemonitor.h  \
 
68
        goutputstream.h         \
 
69
        gseekable.h             \
 
70
        gsimpleasyncresult.h    \
 
71
        gthemedicon.h           \
 
72
        gvfs.h                  \
 
73
        gvolume.h               \
 
74
        gvolumemonitor.h        \
 
75
        $(NULL)
 
76
 
 
77
OBJECTS = \
 
78
        gappinfo.obj \
 
79
        gasynchelper.obj \
 
80
        gasyncresult.obj \
 
81
        gbufferedinputstream.obj \
 
82
        gbufferedoutputstream.obj \
 
83
        gcancellable.obj \
 
84
        gcontenttype.obj \
 
85
        gdatainputstream.obj \
 
86
        gdataoutputstream.obj \
 
87
#       gdesktopappinfo.obj \
 
88
        gdrive.obj \
 
89
        gdummyfile.obj \
 
90
        gemblem.obj \
 
91
        gemblemedicon.obj \
 
92
        gfile.obj \
 
93
        gfileattribute.obj \
 
94
        gfileenumerator.obj \
 
95
        gfileicon.obj \
 
96
        gfileinfo.obj \
 
97
        gfileinputstream.obj \
 
98
        gfilemonitor.obj \
 
99
        gfilenamecompleter.obj \
 
100
        gfileoutputstream.obj \
 
101
        gfilterinputstream.obj \
 
102
        gfilteroutputstream.obj \
 
103
        gicon.obj \
 
104
        ginputstream.obj \
 
105
        gioenumtypes.obj \
 
106
        gioerror.obj \
 
107
        giomodule.obj \
 
108
        gioscheduler.obj \
 
109
        gloadableicon.obj \
 
110
        gmemoryinputstream.obj \
 
111
        gmemoryoutputstream.obj \
 
112
        gmount.obj \
 
113
        gmountoperation.obj \
 
114
        gnativevolumemonitor.obj \
 
115
        goutputstream.obj \
 
116
        gpollfilemonitor.obj \
 
117
        gseekable.obj \
 
118
        gsimpleasyncresult.obj \
 
119
#       gsocketinputstream.obj \
 
120
#       gsocketoutputstream.obj \
 
121
        gthemedicon.obj \
 
122
        gunionvolumemonitor.obj \
 
123
        gvfs.obj \
 
124
        gvolume.obj \
 
125
        gvolumemonitor.obj \
 
126
        \
 
127
        glocalvfs.obj \
 
128
        glocalfile.obj \
 
129
        glocalfileenumerator.obj \
 
130
        glocalfileinfo.obj \
 
131
        glocalfileinputstream.obj \
 
132
        glocalfileoutputstream.obj \
 
133
        glocalfilemonitor.obj \
 
134
        glocaldirectorymonitor.obj \
 
135
        gwin32appinfo.obj \
 
136
        \
 
137
        gio-marshal.obj \
 
138
        gwin32mount.obj \
 
139
#       gwin32volume.obj \
 
140
        gwin32volumemonitor.obj
 
141
 
 
142
libgio_2_0_la_LIBADD = \
 
143
        $(top_builddir)/glib/libglib-2.0.la \
 
144
        $(top_builddir)/gobject/libgobject-2.0.la \
 
145
        $(top_builddir)/gmodule/libgmodule-2.0.la \
 
146
        $(platform_libadd) \
 
147
        $(SELINUX_LIBS) \
 
148
        $(GLIB_LIBS) \
 
149
        $(XATTR_LIBS) \
 
150
        $(NULL)
 
151
 
 
152
unix_sources = \
 
153
        gunixdrive.c \
 
154
        gunixdrive.h \
 
155
        gunixmounts.c \
 
156
        gunixmounts.h \
 
157
        gunixvolume.c \
 
158
        gunixvolume.h \
 
159
        gunixvolumemonitor.c \
 
160
        gunixvolumemonitor.h \
 
161
        $(NULL)
 
162
 
 
163
marshal_sources = \
 
164
        gio-marshal.h gio-marshal.c $(NULL)
 
165
 
 
166
GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe 
 
167
 
 
168
gio-marshal.h: gio-marshal.list
 
169
        $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
 
170
        && copy /y xgen-gwmh gio-marshal.h \
 
171
        && del xgen-gwmh xgen-gwmh~
 
172
 
 
173
gio-marshal.c: gio-marshal.h
 
174
        echo #include "gio-marshal.h" >> xgen-gwmc \
 
175
        && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
 
176
        && copy xgen-gwmc gio-marshal.c \
 
177
        && del xgen-gwmc xgen-gwmc~
 
178
 
 
179
local_sources = \
 
180
        glocaldirectorymonitor.c \
 
181
        glocaldirectorymonitor.h \
 
182
        glocalfile.c \
 
183
        glocalfile.h \
 
184
        glocalfileenumerator.c \
 
185
        glocalfileenumerator.h \
 
186
        glocalfileinfo.c \
 
187
        glocalfileinfo.h \
 
188
        glocalfileinputstream.c \
 
189
        glocalfileinputstream.h \
 
190
        glocalfilemonitor.c \
 
191
        glocalfilemonitor.h \
 
192
        glocalfileoutputstream.c \
 
193
        glocalfileoutputstream.h \
 
194
        glocalvfs.c \
 
195
        glocalvfs.h \
 
196
        $(NULL)
 
197
 
 
198
all : \
 
199
        $(PRJ_TOP)\config.h \
 
200
        gioalias.h              \
 
201
        gioaliasdef.c           \
 
202
        gio-marshal.c \
 
203
        gioenumtypes.h          \
 
204
        gioenumtypes.c          \
 
205
        sub-all \
 
206
        libgio-$(PKG_VER)-0.dll
 
207
 
 
208
 
 
209
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
 
210
        copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
 
211
 
 
212
gioalias.h: gio.symbols
 
213
        perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
 
214
 
 
215
gioaliasdef.c: gio.symbols
 
216
          perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
 
217
 
 
218
gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
 
219
        $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
 
220
        
 
221
gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
 
222
        $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
 
223
 
 
224
gio.def: gio.symbols
 
225
        echo EXPORTS > gio.def
 
226
        cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
 
227
                -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
 
228
                -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
 
229
 
 
230
RESOURCE = $(PACKAGE).res
 
231
 
 
232
$(PACKAGE).res : $(PACKAGE).rc
 
233
        rc -DBUILDNUMBER=0 -r -fo $(PACKAGE).res $(PACKAGE).rc
 
234
 
 
235
libgio-$(PKG_VER)-0.dll : $(OBJECTS) $(PACKAGE).def $(RESOURCE)
 
236
        $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER)-0.dll $(OBJECTS) $(RESOURCE) \
 
237
        ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
 
238
        win32\giowin32.lib \
 
239
        $(INTL_LIBS) \
 
240
        kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib mpr.lib shlwapi.lib $(LDFLAGS) \
 
241
        /implib:gio-2.0.lib /def:$(PACKAGE).def
 
242
 
 
243
.c.obj :
 
244
        $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<