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 \
49 gfilenamecompleter.h \
51 gfilterinputstream.h \
52 gfilteroutputstream.h \
63 gmemoryinputstream.h \
64 gmemoryoutputstream.h \
66 gnativevolumemonitor.h \
69 gsimpleasyncresult.h \
80 gbufferedinputstream.obj \
81 gbufferedoutputstream.obj \
84 gdatainputstream.obj \
85 gdataoutputstream.obj \
86 # gdesktopappinfo.obj \
95 gfileinputstream.obj \
97 gfilenamecompleter.obj \
98 gfileoutputstream.obj \
99 gfilterinputstream.obj \
100 gfilteroutputstream.obj \
108 gmemoryinputstream.obj \
109 gmemoryoutputstream.obj \
111 gmountoperation.obj \
112 gnativevolumemonitor.obj \
114 gpollfilemonitor.obj \
116 gsimpleasyncresult.obj \
117 # gsocketinputstream.obj \
118 # gsocketoutputstream.obj \
120 gunionvolumemonitor.obj \
127 glocalfileenumerator.obj \
129 glocalfileinputstream.obj \
130 glocalfileoutputstream.obj \
131 glocalfilemonitor.obj \
132 glocaldirectorymonitor.obj \
136 gwin32directorymonitor.obj \
139 gwin32volumemonitor.obj
141 libgio_2_0_la_LIBADD = \
142 $(top_builddir)/glib/libglib-2.0.la \
143 $(top_builddir)/gobject/libgobject-2.0.la \
144 $(top_builddir)/gmodule/libgmodule-2.0.la \
158 gunixvolumemonitor.c \
159 gunixvolumemonitor.h \
165 libgio_2_0_la_LDFLAG = \
168 -export-symbols-regex \
172 $(includedir)/gio-unix-2.0/gio
178 gio-marshal.h gio-marshal.c $(NULL)
181 $(includedir)/glib-2.0/gio/
184 gio-marshal.list $(NULL)
187 $(marshal_sources) $(NULL)
192 giounixinclude_HEADERS = \
193 gunixmounts.h $(NULL)
195 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
197 gio-marshal.h: gio-marshal.list
198 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
199 && copy /y xgen-gwmh gio-marshal.h \
200 && del xgen-gwmh xgen-gwmh~
202 gio-marshal.c: gio-marshal.h
203 echo #include "gio-marshal.h" >> xgen-gwmc \
204 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
205 && copy xgen-gwmc gio-marshal.c \
206 && del xgen-gwmc xgen-gwmc~
209 glocaldirectorymonitor.c \
210 glocaldirectorymonitor.h \
213 glocalfileenumerator.c \
214 glocalfileenumerator.h \
217 glocalfileinputstream.c \
218 glocalfileinputstream.h \
219 glocalfilemonitor.c \
220 glocalfilemonitor.h \
221 glocalfileoutputstream.c \
222 glocalfileoutputstream.h \
228 $(PRJ_TOP)\config.h \
234 libgio-$(PKG_VER).dll
237 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
238 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
240 gioalias.h: gio.symbols
241 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
243 gioaliasdef.c: gio.symbols
244 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
246 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
247 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
249 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
250 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
253 echo EXPORTS > gio.def
254 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
255 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
256 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
258 gwin32directorymonitor.obj : win32\gwin32directorymonitor.c
259 $(CC) $(CFLAGS) -I win32 -c win32\gwin32directorymonitor.c
261 RESOURCE = $(PACKAGE).res
263 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
264 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
265 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
267 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib mpr.lib $(LDFLAGS) \
268 /implib:gio-2.0.lib /def:$(PACKAGE).def
271 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<