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 \
134 libgio_2_0_la_LIBADD = \
135 $(top_builddir)/glib/libglib-2.0.la \
136 $(top_builddir)/gobject/libgobject-2.0.la \
137 $(top_builddir)/gmodule/libgmodule-2.0.la \
151 gunixvolumemonitor.c \
152 gunixvolumemonitor.h \
158 libgio_2_0_la_LDFLAG = \
161 -export-symbols-regex \
165 $(includedir)/gio-unix-2.0/gio
171 gio-marshal.h gio-marshal.c $(NULL)
174 $(includedir)/glib-2.0/gio/
177 gio-marshal.list $(NULL)
180 $(marshal_sources) $(NULL)
185 giounixinclude_HEADERS = \
186 gunixmounts.h $(NULL)
188 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
190 gio-marshal.h: gio-marshal.list
191 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
192 && copy /y xgen-gwmh gio-marshal.h \
193 && del xgen-gwmh xgen-gwmh~
195 gio-marshal.c: gio-marshal.h
196 echo #include "gio-marshal.h" >> xgen-gwmc \
197 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
198 && copy xgen-gwmc gio-marshal.c \
199 && del xgen-gwmc xgen-gwmc~
202 glocaldirectorymonitor.c \
203 glocaldirectorymonitor.h \
206 glocalfileenumerator.c \
207 glocalfileenumerator.h \
210 glocalfileinputstream.c \
211 glocalfileinputstream.h \
212 glocalfilemonitor.c \
213 glocalfilemonitor.h \
214 glocalfileoutputstream.c \
215 glocalfileoutputstream.h \
221 $(PRJ_TOP)\config.h \
227 libgio-$(PKG_VER).dll
230 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
231 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
233 gioalias.h: gio.symbols
234 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
236 gioaliasdef.c: gio.symbols
237 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
239 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
240 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
242 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
243 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
246 echo EXPORTS > gio.def
247 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
248 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
249 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
252 RESOURCE = $(PACKAGE).res
254 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
255 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
256 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
258 user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) \
259 /implib:gio-2.0.lib /def:$(PACKAGE).def
262 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<