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 \
60 gmemoryinputstream.h \
61 gmemoryoutputstream.h \
65 gsimpleasyncresult.h \
76 gbufferedinputstream.obj \
77 gbufferedoutputstream.obj \
80 gdatainputstream.obj \
81 gdataoutputstream.obj \
82 # gdesktopappinfo.obj \
83 gdirectorymonitor.obj \
91 gfileinputstream.obj \
93 gfilenamecompleter.obj \
94 gfileoutputstream.obj \
95 gfilterinputstream.obj \
96 gfilteroutputstream.obj \
104 gmemoryinputstream.obj \
105 gmemoryoutputstream.obj \
107 gmountoperation.obj \
108 gnativevolumemonitor.obj \
110 gpollfilemonitor.obj \
112 gsimpleasyncresult.obj \
113 # gsocketinputstream.obj \
114 # gsocketoutputstream.obj \
116 gunionvolumemonitor.obj \
123 glocalfileenumerator.obj \
125 glocalfileinputstream.obj \
126 glocalfileoutputstream.obj \
127 glocalfilemonitor.obj \
128 glocaldirectorymonitor.obj \
133 libgio_2_0_la_LIBADD = \
134 $(top_builddir)/glib/libglib-2.0.la \
135 $(top_builddir)/gobject/libgobject-2.0.la \
136 $(top_builddir)/gmodule/libgmodule-2.0.la \
150 gunixvolumemonitor.c \
151 gunixvolumemonitor.h \
157 libgio_2_0_la_LDFLAG = \
160 -export-symbols-regex \
164 $(includedir)/gio-unix-2.0/gio
170 gio-marshal.h gio-marshal.c $(NULL)
173 $(includedir)/glib-2.0/gio/
176 gio-marshal.list $(NULL)
179 $(marshal_sources) $(NULL)
184 giounixinclude_HEADERS = \
185 gunixmounts.h $(NULL)
187 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
189 gio-marshal.h: gio-marshal.list
190 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
191 && copy /y xgen-gwmh gio-marshal.h \
192 && del xgen-gwmh xgen-gwmh~
194 gio-marshal.c: gio-marshal.h
195 echo #include "gio-marshal.h" >> xgen-gwmc \
196 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
197 && copy xgen-gwmc gio-marshal.c \
198 && del xgen-gwmc xgen-gwmc~
201 glocaldirectorymonitor.c \
202 glocaldirectorymonitor.h \
205 glocalfileenumerator.c \
206 glocalfileenumerator.h \
209 glocalfileinputstream.c \
210 glocalfileinputstream.h \
211 glocalfilemonitor.c \
212 glocalfilemonitor.h \
213 glocalfileoutputstream.c \
214 glocalfileoutputstream.h \
220 $(PRJ_TOP)\config.h \
226 libgio-$(PKG_VER).dll
229 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
230 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
232 gioalias.h: gio.symbols
233 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
235 gioaliasdef.c: gio.symbols
236 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
238 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
239 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
241 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
242 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
245 echo EXPORTS > gio.def
246 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
247 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
248 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
251 RESOURCE = $(PACKAGE).res
253 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
254 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
255 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
257 user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) \
258 /implib:gio-2.0.lib /def:$(PACKAGE).def
261 $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<