1 # autogenerated from automake.am with automake.py
6 !INCLUDE $(TOP)\glib\build\win32\make.msc
11 for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
15 nmake -nologo -f makefile.msc
19 -FImsvc_recommended_pragmas.h \
20 -I .. -I ..\glib -I ..\gmodule -I . \
24 -DG_LOG_DOMAIN=\"GLib-GIO\" \
25 -DGIO_MODULE_DIR=\"$(libdir)/gio/modules\" \
29 gwin32appinfo.c gwin32appinfo.h
34 gbufferedinputstream.h \
35 gbufferedoutputstream.h \
50 gfilenamecompleter.h \
52 gfilterinputstream.h \
53 gfilteroutputstream.h \
64 gmemoryinputstream.h \
65 gmemoryoutputstream.h \
67 gnativevolumemonitor.h \
70 gsimpleasyncresult.h \
82 gbufferedinputstream.obj \
83 gbufferedoutputstream.obj \
87 gdatainputstream.obj \
88 gdataoutputstream.obj \
89 # gdesktopappinfo.obj \
99 gfileinputstream.obj \
102 gfilenamecompleter.obj \
103 gfileoutputstream.obj \
104 gfilterinputstream.obj \
105 gfilteroutputstream.obj \
108 ginetsocketaddress.obj \
117 glocalfileiostream.obj \
118 gmemoryinputstream.obj \
119 gmemoryoutputstream.obj \
121 gmountoperation.obj \
122 gnativevolumemonitor.obj \
123 gnetworkaddress.obj \
124 gnetworkservice.obj \
126 gpollfilemonitor.obj \
129 gsimpleasyncresult.obj \
132 gsocketaddressenumerator.obj \
134 gsocketconnectable.obj \
135 gsocketconnection.obj \
136 gsocketcontrolmessage.obj \
137 gsocketlistener.obj \
139 gsocketinputstream.obj \
140 gsocketoutputstream.obj \
143 gthreadedresolver.obj \
144 gthreadedsocketservice.obj \
146 gunionvolumemonitor.obj \
153 glocalfileenumerator.obj \
155 glocalfileinputstream.obj \
156 glocalfileoutputstream.obj \
157 glocalfilemonitor.obj \
158 glocaldirectorymonitor.obj \
163 gwin32volumemonitor.obj \
166 libgio_2_0_la_LIBADD = \
167 $(top_builddir)/glib/libglib-2.0.la \
168 $(top_builddir)/gobject/libgobject-2.0.la \
169 $(top_builddir)/gmodule/libgmodule-2.0.la \
183 gunixvolumemonitor.c \
184 gunixvolumemonitor.h \
188 gio-marshal.h gio-marshal.c $(NULL)
190 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
192 gio-marshal.h: gio-marshal.list
193 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
194 && copy /y xgen-gwmh gio-marshal.h \
195 && del xgen-gwmh xgen-gwmh~
197 gio-marshal.c: gio-marshal.h
198 echo #include "gio-marshal.h" >> xgen-gwmc \
199 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
200 && copy xgen-gwmc gio-marshal.c \
201 && del xgen-gwmc xgen-gwmc~
204 glocaldirectorymonitor.c \
205 glocaldirectorymonitor.h \
208 glocalfileenumerator.c \
209 glocalfileenumerator.h \
212 glocalfileinputstream.c \
213 glocalfileinputstream.h \
214 glocalfilemonitor.c \
215 glocalfilemonitor.h \
216 glocalfileoutputstream.c \
217 glocalfileoutputstream.h \
223 $(PRJ_TOP)\config.h \
228 libgio-$(PKG_VER)-0.dll
231 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
232 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
234 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
235 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
237 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
238 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
241 echo EXPORTS > gio.def
242 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
243 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
244 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
246 RESOURCE = $(PACKAGE).res
248 $(PACKAGE).res : $(PACKAGE).rc
249 rc -DBUILDNUMBER=0 -r -fo $(PACKAGE).res $(PACKAGE).rc
251 libgio-$(PKG_VER)-0.dll : $(OBJECTS) win32\giowin32.lib $(PACKAGE).def $(RESOURCE)
252 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER)-0.dll $(OBJECTS) $(RESOURCE) \
253 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
256 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ws2_32.lib dnsapi.lib mpr.lib $(LDFLAGS) \
257 /implib:gio-2.0.lib /def:$(PACKAGE).def
260 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<