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 \
48 gfilenamecompleter.h \
50 gfilterinputstream.h \
51 gfilteroutputstream.h \
61 gmemoryinputstream.h \
62 gmemoryoutputstream.h \
64 gnativevolumemonitor.h \
67 gsimpleasyncresult.h \
78 gbufferedinputstream.obj \
79 gbufferedoutputstream.obj \
82 gdatainputstream.obj \
83 gdataoutputstream.obj \
84 # gdesktopappinfo.obj \
92 gfileinputstream.obj \
94 gfilenamecompleter.obj \
95 gfileoutputstream.obj \
96 gfilterinputstream.obj \
97 gfilteroutputstream.obj \
105 gmemoryinputstream.obj \
106 gmemoryoutputstream.obj \
108 gmountoperation.obj \
109 gnativevolumemonitor.obj \
111 gpollfilemonitor.obj \
113 gsimpleasyncresult.obj \
114 # gsocketinputstream.obj \
115 # gsocketoutputstream.obj \
117 gunionvolumemonitor.obj \
124 glocalfileenumerator.obj \
126 glocalfileinputstream.obj \
127 glocalfileoutputstream.obj \
128 glocalfilemonitor.obj \
129 glocaldirectorymonitor.obj \
133 gwin32directorymonitor.obj \
136 gwin32volumemonitor.obj
138 libgio_2_0_la_LIBADD = \
139 $(top_builddir)/glib/libglib-2.0.la \
140 $(top_builddir)/gobject/libgobject-2.0.la \
141 $(top_builddir)/gmodule/libgmodule-2.0.la \
155 gunixvolumemonitor.c \
156 gunixvolumemonitor.h \
162 libgio_2_0_la_LDFLAG = \
165 -export-symbols-regex \
169 $(includedir)/gio-unix-2.0/gio
175 gio-marshal.h gio-marshal.c $(NULL)
178 $(includedir)/glib-2.0/gio/
181 gio-marshal.list $(NULL)
184 $(marshal_sources) $(NULL)
189 giounixinclude_HEADERS = \
190 gunixmounts.h $(NULL)
192 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
194 gio-marshal.h: gio-marshal.list
195 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
196 && copy /y xgen-gwmh gio-marshal.h \
197 && del xgen-gwmh xgen-gwmh~
199 gio-marshal.c: gio-marshal.h
200 echo #include "gio-marshal.h" >> xgen-gwmc \
201 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
202 && copy xgen-gwmc gio-marshal.c \
203 && del xgen-gwmc xgen-gwmc~
206 glocaldirectorymonitor.c \
207 glocaldirectorymonitor.h \
210 glocalfileenumerator.c \
211 glocalfileenumerator.h \
214 glocalfileinputstream.c \
215 glocalfileinputstream.h \
216 glocalfilemonitor.c \
217 glocalfilemonitor.h \
218 glocalfileoutputstream.c \
219 glocalfileoutputstream.h \
225 $(PRJ_TOP)\config.h \
231 libgio-$(PKG_VER).dll
234 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
235 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
237 gioalias.h: gio.symbols
238 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
240 gioaliasdef.c: gio.symbols
241 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
243 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
244 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
246 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
247 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
250 echo EXPORTS > gio.def
251 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
252 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
253 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
255 gwin32directorymonitor.obj : win32\gwin32directorymonitor.c
256 $(CC) $(CFLAGS) -I win32 -c win32\gwin32directorymonitor.c
258 RESOURCE = $(PACKAGE).res
260 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
261 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
262 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
264 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib mpr.lib $(LDFLAGS) \
265 /implib:gio-2.0.lib /def:$(PACKAGE).def
268 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<