-if OS_WIN32
-export_symbols = -export-symbols gmodule.def
-
-install-libtool-import-lib:
- $(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)
- $(INSTALL) gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
-
-uninstall-libtool-import-lib:
- -rm $(DESTDIR)$(libdir)/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)/gmodule-2.0.def
-else
-install-libtool-import-lib:
-uninstall-libtool-import-lib:
+if OS_WIN32_AND_DLL_COMPILATION
+gmodule_win32_res = gmodule-win32-res.o
+gmodule_win32_res_ldflag = -Wl,$(gmodule_win32_res)