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 -I .. -I ..\glib -I ..\gmodule -I . \
23 -DG_LOG_DOMAIN=\"GLib-GIO\" \
24 -DGIO_MODULE_DIR=\"$(libdir)/gio/modules\"
27 gwin32appinfo.c gwin32appinfo.h
32 gbufferedinputstream.h \
33 gbufferedoutputstream.h \
47 gfilenamecompleter.h \
49 gfilterinputstream.h \
50 gfilteroutputstream.h \
58 gmemoryinputstream.h \
59 gmemoryoutputstream.h \
63 gsimpleasyncresult.h \
74 gbufferedinputstream.obj \
75 gbufferedoutputstream.obj \
78 gdatainputstream.obj \
79 gdataoutputstream.obj \
80 gdirectorymonitor.obj \
88 gfileinputstream.obj \
90 gfilenamecompleter.obj \
91 gfileoutputstream.obj \
92 gfilterinputstream.obj \
93 gfilteroutputstream.obj \
101 gmemoryinputstream.obj \
102 gmemoryoutputstream.obj \
103 gmountoperation.obj \
104 gnativevolumemonitor.obj \
106 gpollfilemonitor.obj \
108 gsimpleasyncresult.obj \
109 # gsocketinputstream.obj \
110 # gsocketoutputstream.obj \
112 gunionvolumemonitor.obj \
119 glocalfileenumerator.obj \
121 glocalfileinputstream.obj \
122 glocalfileoutputstream.obj \
127 libgio_2_0_la_LIBADD = \
128 $(top_builddir)/glib/libglib-2.0.la \
129 $(top_builddir)/gobject/libgobject-2.0.la \
130 $(top_builddir)/gmodule/libgmodule-2.0.la \
144 gunixvolumemonitor.c \
145 gunixvolumemonitor.h \
151 libgio_2_0_la_LDFLAG = \
154 -export-symbols-regex \
158 $(includedir)/gio-unix-2.0/gio
164 gio-marshal.h gio-marshal.c $(NULL)
167 $(includedir)/glib-2.0/gio/
170 gio-marshal.list $(NULL)
173 $(marshal_sources) $(NULL)
178 giounixinclude_HEADERS = \
179 gunixmounts.h $(NULL)
181 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
183 gio-marshal.h: gio-marshal.list
184 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
185 && copy /y xgen-gwmh gio-marshal.h \
186 && del xgen-gwmh xgen-gwmh~
188 gio-marshal.c: gio-marshal.h
189 echo #include "gio-marshal.h" >> xgen-gwmc \
190 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
191 && copy xgen-gwmc gio-marshal.c \
192 && del xgen-gwmc xgen-gwmc~
195 glocaldirectorymonitor.c \
196 glocaldirectorymonitor.h \
199 glocalfileenumerator.c \
200 glocalfileenumerator.h \
203 glocalfileinputstream.c \
204 glocalfileinputstream.h \
205 glocalfilemonitor.c \
206 glocalfilemonitor.h \
207 glocalfileoutputstream.c \
208 glocalfileoutputstream.h \
214 $(PRJ_TOP)\config.h \
220 libgio-$(PKG_VER).dll
223 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
224 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
226 gioalias.h: gio.symbols
227 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
229 gioaliasdef.c: gio.symbols
230 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
232 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
233 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
235 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
236 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
239 echo EXPORTS > gio.def
240 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
241 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
242 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
245 RESOURCE = $(PACKAGE).res
247 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
248 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
249 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
251 user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
254 $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<