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\"
28 gwin32appinfo.c gwin32appinfo.h
33 gbufferedinputstream.h \
34 gbufferedoutputstream.h \
48 gfilenamecompleter.h \
50 gfilterinputstream.h \
51 gfilteroutputstream.h \
59 gmemoryinputstream.h \
60 gmemoryoutputstream.h \
64 gsimpleasyncresult.h \
75 gbufferedinputstream.obj \
76 gbufferedoutputstream.obj \
79 gdatainputstream.obj \
80 gdataoutputstream.obj \
81 gdirectorymonitor.obj \
89 gfileinputstream.obj \
91 gfilenamecompleter.obj \
92 gfileoutputstream.obj \
93 gfilterinputstream.obj \
94 gfilteroutputstream.obj \
102 gmemoryinputstream.obj \
103 gmemoryoutputstream.obj \
104 gmountoperation.obj \
105 gnativevolumemonitor.obj \
107 gpollfilemonitor.obj \
109 gsimpleasyncresult.obj \
110 # gsocketinputstream.obj \
111 # gsocketoutputstream.obj \
113 gunionvolumemonitor.obj \
120 glocalfileenumerator.obj \
122 glocalfileinputstream.obj \
123 glocalfileoutputstream.obj \
124 glocalfilemonitor.obj \
125 glocaldirectorymonitor.obj \
130 libgio_2_0_la_LIBADD = \
131 $(top_builddir)/glib/libglib-2.0.la \
132 $(top_builddir)/gobject/libgobject-2.0.la \
133 $(top_builddir)/gmodule/libgmodule-2.0.la \
147 gunixvolumemonitor.c \
148 gunixvolumemonitor.h \
154 libgio_2_0_la_LDFLAG = \
157 -export-symbols-regex \
161 $(includedir)/gio-unix-2.0/gio
167 gio-marshal.h gio-marshal.c $(NULL)
170 $(includedir)/glib-2.0/gio/
173 gio-marshal.list $(NULL)
176 $(marshal_sources) $(NULL)
181 giounixinclude_HEADERS = \
182 gunixmounts.h $(NULL)
184 GLIB_GEN_MARSHAL = ..\gobject\glib-genmarshal.exe
186 gio-marshal.h: gio-marshal.list
187 $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --header >> xgen-gwmh \
188 && copy /y xgen-gwmh gio-marshal.h \
189 && del xgen-gwmh xgen-gwmh~
191 gio-marshal.c: gio-marshal.h
192 echo #include "gio-marshal.h" >> xgen-gwmc \
193 && $(GLIB_GEN_MARSHAL) --prefix=_gio_marshal gio-marshal.list --body >> xgen-gwmc \
194 && copy xgen-gwmc gio-marshal.c \
195 && del xgen-gwmc xgen-gwmc~
198 glocaldirectorymonitor.c \
199 glocaldirectorymonitor.h \
202 glocalfileenumerator.c \
203 glocalfileenumerator.h \
206 glocalfileinputstream.c \
207 glocalfileinputstream.h \
208 glocalfilemonitor.c \
209 glocalfilemonitor.h \
210 glocalfileoutputstream.c \
211 glocalfileoutputstream.h \
217 $(PRJ_TOP)\config.h \
223 libgio-$(PKG_VER).dll
226 $(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
227 copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
229 gioalias.h: gio.symbols
230 perl ..\glib\makegalias.pl < gio.symbols > gioalias.h
232 gioaliasdef.c: gio.symbols
233 perl ..\glib\makegalias.pl -def < gio.symbols > gioaliasdef.c
235 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
236 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.h.template $(gio_headers) > gioenumtypes.h
238 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
239 $(PERL) ..\gobject\glib-mkenums --template gioenumtypes.c.template $(gio_headers) > gioenumtypes.c
242 echo EXPORTS > gio.def
243 cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES \
244 -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
245 -DG_GNUC_PRINTF=;G_GNUC_PRINTF gio.symbols >> gio.def
248 RESOURCE = $(PACKAGE).res
250 libgio-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
251 $(CC) $(CFLAGS) -LD -Felibgio-$(PKG_VER).dll $(OBJECTS) \
252 ..\glib\glib-2.0.lib ..\gobject\gobject-2.0.lib ..\gmodule\gmodule-2.0.lib \
254 user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
257 $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<