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 \
86 gdatainputstream.obj \
87 gdataoutputstream.obj \
88 # gdesktopappinfo.obj \
98 gfileinputstream.obj \
101 gfilenamecompleter.obj \
102 gfileoutputstream.obj \
103 gfilterinputstream.obj \
104 gfilteroutputstream.obj \
107 ginetsocketaddress.obj \
116 glocalfileiostream.obj \
117 gmemoryinputstream.obj \
118 gmemoryoutputstream.obj \
120 gmountoperation.obj \
121 gnativevolumemonitor.obj \
122 gnetworkaddress.obj \
123 gnetworkservice.obj \
125 gpollfilemonitor.obj \
128 gsimpleasyncresult.obj \
131 gsocketaddressenumerator.obj \
133 gsocketconnectable.obj \
134 gsocketconnection.obj \
135 gsocketcontrolmessage.obj \
136 gsocketlistener.obj \
138 gsocketinputstream.obj \
139 gsocketoutputstream.obj \
142 gthreadedresolver.obj \
143 gthreadedsocketservice.obj \
145 gunionvolumemonitor.obj \
152 glocalfileenumerator.obj \
154 glocalfileinputstream.obj \
155 glocalfileoutputstream.obj \
156 glocalfilemonitor.obj \
157 glocaldirectorymonitor.obj \
162 gwin32volumemonitor.obj \
165 libgio_2_0_la_LIBADD = \
166 $(top_builddir)/glib/libglib-2.0.la \
167 $(top_builddir)/gobject/libgobject-2.0.la \
168 $(top_builddir)/gmodule/libgmodule-2.0.la \
182 gunixvolumemonitor.c \
183 gunixvolumemonitor.h \
187 gio-marshal.h gio-marshal.c $(NULL)
189 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
191 gio-marshal.h: gio-marshal.list
192 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
193 && copy /y xgen-gwmh gio-marshal.h \
194 && del xgen-gwmh xgen-gwmh~
196 gio-marshal.c: gio-marshal.h
197 echo #include "gio-marshal.h" >> xgen-gwmc \
198 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
199 && copy xgen-gwmc gio-marshal.c \
200 && del xgen-gwmc xgen-gwmc~
203 glocaldirectorymonitor.c \
204 glocaldirectorymonitor.h \
207 glocalfileenumerator.c \
208 glocalfileenumerator.h \
211 glocalfileinputstream.c \
212 glocalfileinputstream.h \
213 glocalfilemonitor.c \
214 glocalfilemonitor.h \
215 glocalfileoutputstream.c \
216 glocalfileoutputstream.h \
222 $(PRJ_TOP)\config.h \
227 libgio-$(PKG_VER)-0.dll
230 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
231 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
233 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
234 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
236 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
237 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
240 echo EXPORTS > gio.def
241 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
242 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
243 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
245 RESOURCE = $(PACKAGE).res
247 $(PACKAGE).res : $(PACKAGE).rc
248 rc -DBUILDNUMBER=0 -r -fo $(PACKAGE).res $(PACKAGE).rc
250 libgio-$(PKG_VER)-0.dll : $(OBJECTS) win32\giowin32.lib $(PACKAGE).def $(RESOURCE)
251 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER)-0.dll $(OBJECTS) $(RESOURCE) \
252 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
255 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ws2_32.lib dnsapi.lib mpr.lib $(LDFLAGS) \
256 /implib:gio-2.0.lib /def:$(PACKAGE).def
259 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<